Documentation ¶
Overview ¶
This file is auto-generated, don't edit it. Thanks.
Index ¶
- type Client
- func (client *Client) DescribeBgpPackByIp(request *DescribeBgpPackByIpRequest) (_result *DescribeBgpPackByIpResponse, _err error)
- func (client *Client) DescribeBgpPackByIpWithOptions(request *DescribeBgpPackByIpRequest, runtime *util.RuntimeOptions) (_result *DescribeBgpPackByIpResponse, _err error)
- func (client *Client) DescribeCap(request *DescribeCapRequest) (_result *DescribeCapResponse, _err error)
- func (client *Client) DescribeCapWithOptions(request *DescribeCapRequest, runtime *util.RuntimeOptions) (_result *DescribeCapResponse, _err error)
- func (client *Client) DescribeDdosCount(request *DescribeDdosCountRequest) (_result *DescribeDdosCountResponse, _err error)
- func (client *Client) DescribeDdosCountWithOptions(request *DescribeDdosCountRequest, runtime *util.RuntimeOptions) (_result *DescribeDdosCountResponse, _err error)
- func (client *Client) DescribeDdosCredit(request *DescribeDdosCreditRequest) (_result *DescribeDdosCreditResponse, _err error)
- func (client *Client) DescribeDdosCreditWithOptions(request *DescribeDdosCreditRequest, runtime *util.RuntimeOptions) (_result *DescribeDdosCreditResponse, _err error)
- func (client *Client) DescribeDdosEventList(request *DescribeDdosEventListRequest) (_result *DescribeDdosEventListResponse, _err error)
- func (client *Client) DescribeDdosEventListWithOptions(request *DescribeDdosEventListRequest, runtime *util.RuntimeOptions) (_result *DescribeDdosEventListResponse, _err error)
- func (client *Client) DescribeDdosThreshold(request *DescribeDdosThresholdRequest) (_result *DescribeDdosThresholdResponse, _err error)
- func (client *Client) DescribeDdosThresholdWithOptions(request *DescribeDdosThresholdRequest, runtime *util.RuntimeOptions) (_result *DescribeDdosThresholdResponse, _err error)
- func (client *Client) DescribeInstance(request *DescribeInstanceRequest) (_result *DescribeInstanceResponse, _err error)
- func (client *Client) DescribeInstanceIpAddress(request *DescribeInstanceIpAddressRequest) (_result *DescribeInstanceIpAddressResponse, _err error)
- func (client *Client) DescribeInstanceIpAddressWithOptions(request *DescribeInstanceIpAddressRequest, runtime *util.RuntimeOptions) (_result *DescribeInstanceIpAddressResponse, _err error)
- func (client *Client) DescribeInstanceWithOptions(request *DescribeInstanceRequest, runtime *util.RuntimeOptions) (_result *DescribeInstanceResponse, _err error)
- func (client *Client) DescribeIpDdosThreshold(request *DescribeIpDdosThresholdRequest) (_result *DescribeIpDdosThresholdResponse, _err error)
- func (client *Client) DescribeIpDdosThresholdWithOptions(request *DescribeIpDdosThresholdRequest, runtime *util.RuntimeOptions) (_result *DescribeIpDdosThresholdResponse, _err error)
- func (client *Client) DescribeIpLocationService(request *DescribeIpLocationServiceRequest) (_result *DescribeIpLocationServiceResponse, _err error)
- func (client *Client) DescribeIpLocationServiceWithOptions(request *DescribeIpLocationServiceRequest, runtime *util.RuntimeOptions) (_result *DescribeIpLocationServiceResponse, _err error)
- func (client *Client) DescribeRegions() (_result *DescribeRegionsResponse, _err error)
- func (client *Client) DescribeRegionsWithOptions(runtime *util.RuntimeOptions) (_result *DescribeRegionsResponse, _err error)
- func (client *Client) GetEndpoint(productId *string, regionId *string, endpointRule *string, network *string, ...) (_result *string, _err error)
- func (client *Client) Init(config *openapi.Config) (_err error)
- func (client *Client) ModifyDefenseThreshold(request *ModifyDefenseThresholdRequest) (_result *ModifyDefenseThresholdResponse, _err error)
- func (client *Client) ModifyDefenseThresholdWithOptions(request *ModifyDefenseThresholdRequest, runtime *util.RuntimeOptions) (_result *ModifyDefenseThresholdResponse, _err error)
- func (client *Client) ModifyIpDefenseThreshold(request *ModifyIpDefenseThresholdRequest) (_result *ModifyIpDefenseThresholdResponse, _err error)
- func (client *Client) ModifyIpDefenseThresholdWithOptions(request *ModifyIpDefenseThresholdRequest, runtime *util.RuntimeOptions) (_result *ModifyIpDefenseThresholdResponse, _err error)
- type DescribeBgpPackByIpRequest
- type DescribeBgpPackByIpResponse
- func (s DescribeBgpPackByIpResponse) GoString() string
- func (s *DescribeBgpPackByIpResponse) SetBody(v *DescribeBgpPackByIpResponseBody) *DescribeBgpPackByIpResponse
- func (s *DescribeBgpPackByIpResponse) SetHeaders(v map[string]*string) *DescribeBgpPackByIpResponse
- func (s *DescribeBgpPackByIpResponse) SetStatusCode(v int32) *DescribeBgpPackByIpResponse
- func (s DescribeBgpPackByIpResponse) String() string
- type DescribeBgpPackByIpResponseBody
- func (s DescribeBgpPackByIpResponseBody) GoString() string
- func (s *DescribeBgpPackByIpResponseBody) SetCode(v int32) *DescribeBgpPackByIpResponseBody
- func (s *DescribeBgpPackByIpResponseBody) SetDdosbgpInfo(v *DescribeBgpPackByIpResponseBodyDdosbgpInfo) *DescribeBgpPackByIpResponseBody
- func (s *DescribeBgpPackByIpResponseBody) SetRequestId(v string) *DescribeBgpPackByIpResponseBody
- func (s *DescribeBgpPackByIpResponseBody) SetSuccess(v bool) *DescribeBgpPackByIpResponseBody
- func (s DescribeBgpPackByIpResponseBody) String() string
- type DescribeBgpPackByIpResponseBodyDdosbgpInfo
- func (s DescribeBgpPackByIpResponseBodyDdosbgpInfo) GoString() string
- func (s *DescribeBgpPackByIpResponseBodyDdosbgpInfo) SetBaseThreshold(v int32) *DescribeBgpPackByIpResponseBodyDdosbgpInfo
- func (s *DescribeBgpPackByIpResponseBodyDdosbgpInfo) SetDdosbgpInstanceId(v string) *DescribeBgpPackByIpResponseBodyDdosbgpInfo
- func (s *DescribeBgpPackByIpResponseBodyDdosbgpInfo) SetElasticThreshold(v int32) *DescribeBgpPackByIpResponseBodyDdosbgpInfo
- func (s *DescribeBgpPackByIpResponseBodyDdosbgpInfo) SetExpireTime(v int64) *DescribeBgpPackByIpResponseBodyDdosbgpInfo
- func (s *DescribeBgpPackByIpResponseBodyDdosbgpInfo) SetIp(v string) *DescribeBgpPackByIpResponseBodyDdosbgpInfo
- func (s DescribeBgpPackByIpResponseBodyDdosbgpInfo) String() string
- type DescribeCapRequest
- func (s DescribeCapRequest) GoString() string
- func (s *DescribeCapRequest) SetBegTime(v int64) *DescribeCapRequest
- func (s *DescribeCapRequest) SetDdosRegionId(v string) *DescribeCapRequest
- func (s *DescribeCapRequest) SetInstanceId(v string) *DescribeCapRequest
- func (s *DescribeCapRequest) SetInstanceType(v string) *DescribeCapRequest
- func (s *DescribeCapRequest) SetInternetIp(v string) *DescribeCapRequest
- func (s DescribeCapRequest) String() string
- type DescribeCapResponse
- func (s DescribeCapResponse) GoString() string
- func (s *DescribeCapResponse) SetBody(v *DescribeCapResponseBody) *DescribeCapResponse
- func (s *DescribeCapResponse) SetHeaders(v map[string]*string) *DescribeCapResponse
- func (s *DescribeCapResponse) SetStatusCode(v int32) *DescribeCapResponse
- func (s DescribeCapResponse) String() string
- type DescribeCapResponseBody
- type DescribeCapResponseBodyCapUrl
- type DescribeDdosCountRequest
- type DescribeDdosCountResponse
- func (s DescribeDdosCountResponse) GoString() string
- func (s *DescribeDdosCountResponse) SetBody(v *DescribeDdosCountResponseBody) *DescribeDdosCountResponse
- func (s *DescribeDdosCountResponse) SetHeaders(v map[string]*string) *DescribeDdosCountResponse
- func (s *DescribeDdosCountResponse) SetStatusCode(v int32) *DescribeDdosCountResponse
- func (s DescribeDdosCountResponse) String() string
- type DescribeDdosCountResponseBody
- func (s DescribeDdosCountResponseBody) GoString() string
- func (s *DescribeDdosCountResponseBody) SetDdosCount(v *DescribeDdosCountResponseBodyDdosCount) *DescribeDdosCountResponseBody
- func (s *DescribeDdosCountResponseBody) SetRequestId(v string) *DescribeDdosCountResponseBody
- func (s DescribeDdosCountResponseBody) String() string
- type DescribeDdosCountResponseBodyDdosCount
- func (s DescribeDdosCountResponseBodyDdosCount) GoString() string
- func (s *DescribeDdosCountResponseBodyDdosCount) SetBlackholeCount(v int32) *DescribeDdosCountResponseBodyDdosCount
- func (s *DescribeDdosCountResponseBodyDdosCount) SetDefenseCount(v int32) *DescribeDdosCountResponseBodyDdosCount
- func (s *DescribeDdosCountResponseBodyDdosCount) SetInstacenCount(v int32) *DescribeDdosCountResponseBodyDdosCount
- func (s DescribeDdosCountResponseBodyDdosCount) String() string
- type DescribeDdosCreditRequest
- type DescribeDdosCreditResponse
- func (s DescribeDdosCreditResponse) GoString() string
- func (s *DescribeDdosCreditResponse) SetBody(v *DescribeDdosCreditResponseBody) *DescribeDdosCreditResponse
- func (s *DescribeDdosCreditResponse) SetHeaders(v map[string]*string) *DescribeDdosCreditResponse
- func (s *DescribeDdosCreditResponse) SetStatusCode(v int32) *DescribeDdosCreditResponse
- func (s DescribeDdosCreditResponse) String() string
- type DescribeDdosCreditResponseBody
- func (s DescribeDdosCreditResponseBody) GoString() string
- func (s *DescribeDdosCreditResponseBody) SetDdosCredit(v *DescribeDdosCreditResponseBodyDdosCredit) *DescribeDdosCreditResponseBody
- func (s *DescribeDdosCreditResponseBody) SetRequestId(v string) *DescribeDdosCreditResponseBody
- func (s *DescribeDdosCreditResponseBody) SetSuccess(v bool) *DescribeDdosCreditResponseBody
- func (s DescribeDdosCreditResponseBody) String() string
- type DescribeDdosCreditResponseBodyDdosCredit
- func (s DescribeDdosCreditResponseBodyDdosCredit) GoString() string
- func (s *DescribeDdosCreditResponseBodyDdosCredit) SetBlackholeTime(v int32) *DescribeDdosCreditResponseBodyDdosCredit
- func (s *DescribeDdosCreditResponseBodyDdosCredit) SetScore(v int32) *DescribeDdosCreditResponseBodyDdosCredit
- func (s *DescribeDdosCreditResponseBodyDdosCredit) SetScoreLevel(v string) *DescribeDdosCreditResponseBodyDdosCredit
- func (s DescribeDdosCreditResponseBodyDdosCredit) String() string
- type DescribeDdosEventListRequest
- func (s DescribeDdosEventListRequest) GoString() string
- func (s *DescribeDdosEventListRequest) SetCurrentPage(v int32) *DescribeDdosEventListRequest
- func (s *DescribeDdosEventListRequest) SetDdosRegionId(v string) *DescribeDdosEventListRequest
- func (s *DescribeDdosEventListRequest) SetInstanceId(v string) *DescribeDdosEventListRequest
- func (s *DescribeDdosEventListRequest) SetInstanceType(v string) *DescribeDdosEventListRequest
- func (s *DescribeDdosEventListRequest) SetInternetIp(v string) *DescribeDdosEventListRequest
- func (s *DescribeDdosEventListRequest) SetPageSize(v int32) *DescribeDdosEventListRequest
- func (s DescribeDdosEventListRequest) String() string
- type DescribeDdosEventListResponse
- func (s DescribeDdosEventListResponse) GoString() string
- func (s *DescribeDdosEventListResponse) SetBody(v *DescribeDdosEventListResponseBody) *DescribeDdosEventListResponse
- func (s *DescribeDdosEventListResponse) SetHeaders(v map[string]*string) *DescribeDdosEventListResponse
- func (s *DescribeDdosEventListResponse) SetStatusCode(v int32) *DescribeDdosEventListResponse
- func (s DescribeDdosEventListResponse) String() string
- type DescribeDdosEventListResponseBody
- func (s DescribeDdosEventListResponseBody) GoString() string
- func (s *DescribeDdosEventListResponseBody) SetDdosEventList(v *DescribeDdosEventListResponseBodyDdosEventList) *DescribeDdosEventListResponseBody
- func (s *DescribeDdosEventListResponseBody) SetRequestId(v string) *DescribeDdosEventListResponseBody
- func (s *DescribeDdosEventListResponseBody) SetTotal(v int32) *DescribeDdosEventListResponseBody
- func (s DescribeDdosEventListResponseBody) String() string
- type DescribeDdosEventListResponseBodyDdosEventList
- func (s DescribeDdosEventListResponseBodyDdosEventList) GoString() string
- func (s *DescribeDdosEventListResponseBodyDdosEventList) SetDdosEvent(v []*DescribeDdosEventListResponseBodyDdosEventListDdosEvent) *DescribeDdosEventListResponseBodyDdosEventList
- func (s DescribeDdosEventListResponseBodyDdosEventList) String() string
- type DescribeDdosEventListResponseBodyDdosEventListDdosEvent
- func (s DescribeDdosEventListResponseBodyDdosEventListDdosEvent) GoString() string
- func (s *DescribeDdosEventListResponseBodyDdosEventListDdosEvent) SetDdosStatus(v string) *DescribeDdosEventListResponseBodyDdosEventListDdosEvent
- func (s *DescribeDdosEventListResponseBodyDdosEventListDdosEvent) SetDdosType(v string) *DescribeDdosEventListResponseBodyDdosEventListDdosEvent
- func (s *DescribeDdosEventListResponseBodyDdosEventListDdosEvent) SetDelayTime(v int64) *DescribeDdosEventListResponseBodyDdosEventListDdosEvent
- func (s *DescribeDdosEventListResponseBodyDdosEventListDdosEvent) SetEndTime(v int64) *DescribeDdosEventListResponseBodyDdosEventListDdosEvent
- func (s *DescribeDdosEventListResponseBodyDdosEventListDdosEvent) SetStartTime(v int64) *DescribeDdosEventListResponseBodyDdosEventListDdosEvent
- func (s *DescribeDdosEventListResponseBodyDdosEventListDdosEvent) SetUnBlackholeTime(v int64) *DescribeDdosEventListResponseBodyDdosEventListDdosEvent
- func (s DescribeDdosEventListResponseBodyDdosEventListDdosEvent) String() string
- type DescribeDdosThresholdRequest
- func (s DescribeDdosThresholdRequest) GoString() string
- func (s *DescribeDdosThresholdRequest) SetDdosRegionId(v string) *DescribeDdosThresholdRequest
- func (s *DescribeDdosThresholdRequest) SetDdosType(v string) *DescribeDdosThresholdRequest
- func (s *DescribeDdosThresholdRequest) SetInstanceIds(v []*string) *DescribeDdosThresholdRequest
- func (s *DescribeDdosThresholdRequest) SetInstanceType(v string) *DescribeDdosThresholdRequest
- func (s DescribeDdosThresholdRequest) String() string
- type DescribeDdosThresholdResponse
- func (s DescribeDdosThresholdResponse) GoString() string
- func (s *DescribeDdosThresholdResponse) SetBody(v *DescribeDdosThresholdResponseBody) *DescribeDdosThresholdResponse
- func (s *DescribeDdosThresholdResponse) SetHeaders(v map[string]*string) *DescribeDdosThresholdResponse
- func (s *DescribeDdosThresholdResponse) SetStatusCode(v int32) *DescribeDdosThresholdResponse
- func (s DescribeDdosThresholdResponse) String() string
- type DescribeDdosThresholdResponseBody
- func (s DescribeDdosThresholdResponseBody) GoString() string
- func (s *DescribeDdosThresholdResponseBody) SetRequestId(v string) *DescribeDdosThresholdResponseBody
- func (s *DescribeDdosThresholdResponseBody) SetThresholds(v *DescribeDdosThresholdResponseBodyThresholds) *DescribeDdosThresholdResponseBody
- func (s DescribeDdosThresholdResponseBody) String() string
- type DescribeDdosThresholdResponseBodyThresholds
- func (s DescribeDdosThresholdResponseBodyThresholds) GoString() string
- func (s *DescribeDdosThresholdResponseBodyThresholds) SetThreshold(v []*DescribeDdosThresholdResponseBodyThresholdsThreshold) *DescribeDdosThresholdResponseBodyThresholds
- func (s DescribeDdosThresholdResponseBodyThresholds) String() string
- type DescribeDdosThresholdResponseBodyThresholdsThreshold
- func (s DescribeDdosThresholdResponseBodyThresholdsThreshold) GoString() string
- func (s *DescribeDdosThresholdResponseBodyThresholdsThreshold) SetBps(v int32) *DescribeDdosThresholdResponseBodyThresholdsThreshold
- func (s *DescribeDdosThresholdResponseBodyThresholdsThreshold) SetDdosType(v string) *DescribeDdosThresholdResponseBodyThresholdsThreshold
- func (s *DescribeDdosThresholdResponseBodyThresholdsThreshold) SetElasticBps(v int32) *DescribeDdosThresholdResponseBodyThresholdsThreshold
- func (s *DescribeDdosThresholdResponseBodyThresholdsThreshold) SetInstanceId(v string) *DescribeDdosThresholdResponseBodyThresholdsThreshold
- func (s *DescribeDdosThresholdResponseBodyThresholdsThreshold) SetInternetIp(v string) *DescribeDdosThresholdResponseBodyThresholdsThreshold
- func (s *DescribeDdosThresholdResponseBodyThresholdsThreshold) SetIsAuto(v bool) *DescribeDdosThresholdResponseBodyThresholdsThreshold
- func (s *DescribeDdosThresholdResponseBodyThresholdsThreshold) SetMaxBps(v int32) *DescribeDdosThresholdResponseBodyThresholdsThreshold
- func (s *DescribeDdosThresholdResponseBodyThresholdsThreshold) SetMaxPps(v int32) *DescribeDdosThresholdResponseBodyThresholdsThreshold
- func (s *DescribeDdosThresholdResponseBodyThresholdsThreshold) SetPps(v int32) *DescribeDdosThresholdResponseBodyThresholdsThreshold
- func (s DescribeDdosThresholdResponseBodyThresholdsThreshold) String() string
- type DescribeInstanceIpAddressRequest
- func (s DescribeInstanceIpAddressRequest) GoString() string
- func (s *DescribeInstanceIpAddressRequest) SetCurrentPage(v int32) *DescribeInstanceIpAddressRequest
- func (s *DescribeInstanceIpAddressRequest) SetDdosRegionId(v string) *DescribeInstanceIpAddressRequest
- func (s *DescribeInstanceIpAddressRequest) SetDdosStatus(v string) *DescribeInstanceIpAddressRequest
- func (s *DescribeInstanceIpAddressRequest) SetInstanceId(v string) *DescribeInstanceIpAddressRequest
- func (s *DescribeInstanceIpAddressRequest) SetInstanceIp(v string) *DescribeInstanceIpAddressRequest
- func (s *DescribeInstanceIpAddressRequest) SetInstanceName(v string) *DescribeInstanceIpAddressRequest
- func (s *DescribeInstanceIpAddressRequest) SetInstanceType(v string) *DescribeInstanceIpAddressRequest
- func (s *DescribeInstanceIpAddressRequest) SetPageSize(v int32) *DescribeInstanceIpAddressRequest
- func (s DescribeInstanceIpAddressRequest) String() string
- type DescribeInstanceIpAddressResponse
- func (s DescribeInstanceIpAddressResponse) GoString() string
- func (s *DescribeInstanceIpAddressResponse) SetBody(v *DescribeInstanceIpAddressResponseBody) *DescribeInstanceIpAddressResponse
- func (s *DescribeInstanceIpAddressResponse) SetHeaders(v map[string]*string) *DescribeInstanceIpAddressResponse
- func (s *DescribeInstanceIpAddressResponse) SetStatusCode(v int32) *DescribeInstanceIpAddressResponse
- func (s DescribeInstanceIpAddressResponse) String() string
- type DescribeInstanceIpAddressResponseBody
- func (s DescribeInstanceIpAddressResponseBody) GoString() string
- func (s *DescribeInstanceIpAddressResponseBody) SetInstanceList(v []*DescribeInstanceIpAddressResponseBodyInstanceList) *DescribeInstanceIpAddressResponseBody
- func (s *DescribeInstanceIpAddressResponseBody) SetRequestId(v string) *DescribeInstanceIpAddressResponseBody
- func (s *DescribeInstanceIpAddressResponseBody) SetTotal(v int32) *DescribeInstanceIpAddressResponseBody
- func (s DescribeInstanceIpAddressResponseBody) String() string
- type DescribeInstanceIpAddressResponseBodyInstanceList
- func (s DescribeInstanceIpAddressResponseBodyInstanceList) GoString() string
- func (s *DescribeInstanceIpAddressResponseBodyInstanceList) SetInstanceId(v string) *DescribeInstanceIpAddressResponseBodyInstanceList
- func (s *DescribeInstanceIpAddressResponseBodyInstanceList) SetInstanceName(v string) *DescribeInstanceIpAddressResponseBodyInstanceList
- func (s *DescribeInstanceIpAddressResponseBodyInstanceList) SetInstanceStatus(v string) *DescribeInstanceIpAddressResponseBodyInstanceList
- func (s *DescribeInstanceIpAddressResponseBodyInstanceList) SetInstanceType(v string) *DescribeInstanceIpAddressResponseBodyInstanceList
- func (s *DescribeInstanceIpAddressResponseBodyInstanceList) SetIpAddressConfig(v []*DescribeInstanceIpAddressResponseBodyInstanceListIpAddressConfig) *DescribeInstanceIpAddressResponseBodyInstanceList
- func (s DescribeInstanceIpAddressResponseBodyInstanceList) String() string
- type DescribeInstanceIpAddressResponseBodyInstanceListIpAddressConfig
- func (s DescribeInstanceIpAddressResponseBodyInstanceListIpAddressConfig) GoString() string
- func (s *DescribeInstanceIpAddressResponseBodyInstanceListIpAddressConfig) SetBlackholeThreshold(v int32) *DescribeInstanceIpAddressResponseBodyInstanceListIpAddressConfig
- func (s *DescribeInstanceIpAddressResponseBodyInstanceListIpAddressConfig) SetDefenseBpsThreshold(v int32) *DescribeInstanceIpAddressResponseBodyInstanceListIpAddressConfig
- func (s *DescribeInstanceIpAddressResponseBodyInstanceListIpAddressConfig) SetDefensePpsThreshold(v int32) *DescribeInstanceIpAddressResponseBodyInstanceListIpAddressConfig
- func (s *DescribeInstanceIpAddressResponseBodyInstanceListIpAddressConfig) SetElasticThreshold(v int32) *DescribeInstanceIpAddressResponseBodyInstanceListIpAddressConfig
- func (s *DescribeInstanceIpAddressResponseBodyInstanceListIpAddressConfig) SetInstanceIp(v string) *DescribeInstanceIpAddressResponseBodyInstanceListIpAddressConfig
- func (s *DescribeInstanceIpAddressResponseBodyInstanceListIpAddressConfig) SetIpStatus(v string) *DescribeInstanceIpAddressResponseBodyInstanceListIpAddressConfig
- func (s *DescribeInstanceIpAddressResponseBodyInstanceListIpAddressConfig) SetIpVersion(v string) *DescribeInstanceIpAddressResponseBodyInstanceListIpAddressConfig
- func (s *DescribeInstanceIpAddressResponseBodyInstanceListIpAddressConfig) SetIsBgppack(v bool) *DescribeInstanceIpAddressResponseBodyInstanceListIpAddressConfig
- func (s *DescribeInstanceIpAddressResponseBodyInstanceListIpAddressConfig) SetIsFullProtection(v int32) *DescribeInstanceIpAddressResponseBodyInstanceListIpAddressConfig
- func (s *DescribeInstanceIpAddressResponseBodyInstanceListIpAddressConfig) SetRegionId(v string) *DescribeInstanceIpAddressResponseBodyInstanceListIpAddressConfig
- func (s DescribeInstanceIpAddressResponseBodyInstanceListIpAddressConfig) String() string
- type DescribeInstanceRequest
- func (s DescribeInstanceRequest) GoString() string
- func (s *DescribeInstanceRequest) SetCurrentPage(v int32) *DescribeInstanceRequest
- func (s *DescribeInstanceRequest) SetDdosRegionId(v string) *DescribeInstanceRequest
- func (s *DescribeInstanceRequest) SetDdosStatus(v string) *DescribeInstanceRequest
- func (s *DescribeInstanceRequest) SetInstanceId(v string) *DescribeInstanceRequest
- func (s *DescribeInstanceRequest) SetInstanceIp(v string) *DescribeInstanceRequest
- func (s *DescribeInstanceRequest) SetInstanceName(v string) *DescribeInstanceRequest
- func (s *DescribeInstanceRequest) SetInstanceType(v string) *DescribeInstanceRequest
- func (s *DescribeInstanceRequest) SetPageSize(v int32) *DescribeInstanceRequest
- func (s DescribeInstanceRequest) String() string
- type DescribeInstanceResponse
- func (s DescribeInstanceResponse) GoString() string
- func (s *DescribeInstanceResponse) SetBody(v *DescribeInstanceResponseBody) *DescribeInstanceResponse
- func (s *DescribeInstanceResponse) SetHeaders(v map[string]*string) *DescribeInstanceResponse
- func (s *DescribeInstanceResponse) SetStatusCode(v int32) *DescribeInstanceResponse
- func (s DescribeInstanceResponse) String() string
- type DescribeInstanceResponseBody
- func (s DescribeInstanceResponseBody) GoString() string
- func (s *DescribeInstanceResponseBody) SetInstanceList(v *DescribeInstanceResponseBodyInstanceList) *DescribeInstanceResponseBody
- func (s *DescribeInstanceResponseBody) SetRequestId(v string) *DescribeInstanceResponseBody
- func (s *DescribeInstanceResponseBody) SetTotal(v int32) *DescribeInstanceResponseBody
- func (s DescribeInstanceResponseBody) String() string
- type DescribeInstanceResponseBodyInstanceList
- type DescribeInstanceResponseBodyInstanceListInstance
- func (s DescribeInstanceResponseBodyInstanceListInstance) GoString() string
- func (s *DescribeInstanceResponseBodyInstanceListInstance) SetBlackholeThreshold(v int32) *DescribeInstanceResponseBodyInstanceListInstance
- func (s *DescribeInstanceResponseBodyInstanceListInstance) SetDefenseBpsThreshold(v int32) *DescribeInstanceResponseBodyInstanceListInstance
- func (s *DescribeInstanceResponseBodyInstanceListInstance) SetDefensePpsThreshold(v int32) *DescribeInstanceResponseBodyInstanceListInstance
- func (s *DescribeInstanceResponseBodyInstanceListInstance) SetElasticThreshold(v int32) *DescribeInstanceResponseBodyInstanceListInstance
- func (s *DescribeInstanceResponseBodyInstanceListInstance) SetInstanceId(v string) *DescribeInstanceResponseBodyInstanceListInstance
- func (s *DescribeInstanceResponseBodyInstanceListInstance) SetInstanceIp(v string) *DescribeInstanceResponseBodyInstanceListInstance
- func (s *DescribeInstanceResponseBodyInstanceListInstance) SetInstanceName(v string) *DescribeInstanceResponseBodyInstanceListInstance
- func (s *DescribeInstanceResponseBodyInstanceListInstance) SetInstanceStatus(v string) *DescribeInstanceResponseBodyInstanceListInstance
- func (s *DescribeInstanceResponseBodyInstanceListInstance) SetInstanceType(v string) *DescribeInstanceResponseBodyInstanceListInstance
- func (s *DescribeInstanceResponseBodyInstanceListInstance) SetIpVersion(v string) *DescribeInstanceResponseBodyInstanceListInstance
- func (s *DescribeInstanceResponseBodyInstanceListInstance) SetIsBgppack(v bool) *DescribeInstanceResponseBodyInstanceListInstance
- func (s DescribeInstanceResponseBodyInstanceListInstance) String() string
- type DescribeIpDdosThresholdRequest
- func (s DescribeIpDdosThresholdRequest) GoString() string
- func (s *DescribeIpDdosThresholdRequest) SetDdosRegionId(v string) *DescribeIpDdosThresholdRequest
- func (s *DescribeIpDdosThresholdRequest) SetDdosType(v string) *DescribeIpDdosThresholdRequest
- func (s *DescribeIpDdosThresholdRequest) SetInstanceId(v string) *DescribeIpDdosThresholdRequest
- func (s *DescribeIpDdosThresholdRequest) SetInstanceType(v string) *DescribeIpDdosThresholdRequest
- func (s *DescribeIpDdosThresholdRequest) SetInternetIp(v string) *DescribeIpDdosThresholdRequest
- func (s DescribeIpDdosThresholdRequest) String() string
- type DescribeIpDdosThresholdResponse
- func (s DescribeIpDdosThresholdResponse) GoString() string
- func (s *DescribeIpDdosThresholdResponse) SetBody(v *DescribeIpDdosThresholdResponseBody) *DescribeIpDdosThresholdResponse
- func (s *DescribeIpDdosThresholdResponse) SetHeaders(v map[string]*string) *DescribeIpDdosThresholdResponse
- func (s *DescribeIpDdosThresholdResponse) SetStatusCode(v int32) *DescribeIpDdosThresholdResponse
- func (s DescribeIpDdosThresholdResponse) String() string
- type DescribeIpDdosThresholdResponseBody
- func (s DescribeIpDdosThresholdResponseBody) GoString() string
- func (s *DescribeIpDdosThresholdResponseBody) SetRequestId(v string) *DescribeIpDdosThresholdResponseBody
- func (s *DescribeIpDdosThresholdResponseBody) SetThreshold(v *DescribeIpDdosThresholdResponseBodyThreshold) *DescribeIpDdosThresholdResponseBody
- func (s DescribeIpDdosThresholdResponseBody) String() string
- type DescribeIpDdosThresholdResponseBodyThreshold
- func (s DescribeIpDdosThresholdResponseBodyThreshold) GoString() string
- func (s *DescribeIpDdosThresholdResponseBodyThreshold) SetBps(v int32) *DescribeIpDdosThresholdResponseBodyThreshold
- func (s *DescribeIpDdosThresholdResponseBodyThreshold) SetDdosType(v string) *DescribeIpDdosThresholdResponseBodyThreshold
- func (s *DescribeIpDdosThresholdResponseBodyThreshold) SetElasticBps(v int32) *DescribeIpDdosThresholdResponseBodyThreshold
- func (s *DescribeIpDdosThresholdResponseBodyThreshold) SetInstanceId(v string) *DescribeIpDdosThresholdResponseBodyThreshold
- func (s *DescribeIpDdosThresholdResponseBodyThreshold) SetInternetIp(v string) *DescribeIpDdosThresholdResponseBodyThreshold
- func (s *DescribeIpDdosThresholdResponseBodyThreshold) SetIsAuto(v bool) *DescribeIpDdosThresholdResponseBodyThreshold
- func (s *DescribeIpDdosThresholdResponseBodyThreshold) SetMaxBps(v int32) *DescribeIpDdosThresholdResponseBodyThreshold
- func (s *DescribeIpDdosThresholdResponseBodyThreshold) SetMaxPps(v int32) *DescribeIpDdosThresholdResponseBodyThreshold
- func (s *DescribeIpDdosThresholdResponseBodyThreshold) SetPps(v int32) *DescribeIpDdosThresholdResponseBodyThreshold
- func (s DescribeIpDdosThresholdResponseBodyThreshold) String() string
- type DescribeIpLocationServiceRequest
- type DescribeIpLocationServiceResponse
- func (s DescribeIpLocationServiceResponse) GoString() string
- func (s *DescribeIpLocationServiceResponse) SetBody(v *DescribeIpLocationServiceResponseBody) *DescribeIpLocationServiceResponse
- func (s *DescribeIpLocationServiceResponse) SetHeaders(v map[string]*string) *DescribeIpLocationServiceResponse
- func (s *DescribeIpLocationServiceResponse) SetStatusCode(v int32) *DescribeIpLocationServiceResponse
- func (s DescribeIpLocationServiceResponse) String() string
- type DescribeIpLocationServiceResponseBody
- func (s DescribeIpLocationServiceResponseBody) GoString() string
- func (s *DescribeIpLocationServiceResponseBody) SetInstance(v *DescribeIpLocationServiceResponseBodyInstance) *DescribeIpLocationServiceResponseBody
- func (s *DescribeIpLocationServiceResponseBody) SetRequestId(v string) *DescribeIpLocationServiceResponseBody
- func (s DescribeIpLocationServiceResponseBody) String() string
- type DescribeIpLocationServiceResponseBodyInstance
- func (s DescribeIpLocationServiceResponseBodyInstance) GoString() string
- func (s *DescribeIpLocationServiceResponseBodyInstance) SetInstanceId(v string) *DescribeIpLocationServiceResponseBodyInstance
- func (s *DescribeIpLocationServiceResponseBodyInstance) SetInstanceName(v string) *DescribeIpLocationServiceResponseBodyInstance
- func (s *DescribeIpLocationServiceResponseBodyInstance) SetInstanceType(v string) *DescribeIpLocationServiceResponseBodyInstance
- func (s *DescribeIpLocationServiceResponseBodyInstance) SetInternetIp(v string) *DescribeIpLocationServiceResponseBodyInstance
- func (s *DescribeIpLocationServiceResponseBodyInstance) SetRegion(v string) *DescribeIpLocationServiceResponseBodyInstance
- func (s DescribeIpLocationServiceResponseBodyInstance) String() string
- type DescribeRegionsResponse
- func (s DescribeRegionsResponse) GoString() string
- func (s *DescribeRegionsResponse) SetBody(v *DescribeRegionsResponseBody) *DescribeRegionsResponse
- func (s *DescribeRegionsResponse) SetHeaders(v map[string]*string) *DescribeRegionsResponse
- func (s *DescribeRegionsResponse) SetStatusCode(v int32) *DescribeRegionsResponse
- func (s DescribeRegionsResponse) String() string
- type DescribeRegionsResponseBody
- func (s DescribeRegionsResponseBody) GoString() string
- func (s *DescribeRegionsResponseBody) SetRegions(v *DescribeRegionsResponseBodyRegions) *DescribeRegionsResponseBody
- func (s *DescribeRegionsResponseBody) SetRequestId(v string) *DescribeRegionsResponseBody
- func (s DescribeRegionsResponseBody) String() string
- type DescribeRegionsResponseBodyRegions
- type DescribeRegionsResponseBodyRegionsRegion
- func (s DescribeRegionsResponseBodyRegionsRegion) GoString() string
- func (s *DescribeRegionsResponseBodyRegionsRegion) SetRegionEnName(v string) *DescribeRegionsResponseBodyRegionsRegion
- func (s *DescribeRegionsResponseBodyRegionsRegion) SetRegionName(v string) *DescribeRegionsResponseBodyRegionsRegion
- func (s *DescribeRegionsResponseBodyRegionsRegion) SetRegionNo(v string) *DescribeRegionsResponseBodyRegionsRegion
- func (s *DescribeRegionsResponseBodyRegionsRegion) SetRegionNoAlias(v string) *DescribeRegionsResponseBodyRegionsRegion
- func (s DescribeRegionsResponseBodyRegionsRegion) String() string
- type ModifyDefenseThresholdRequest
- func (s ModifyDefenseThresholdRequest) GoString() string
- func (s *ModifyDefenseThresholdRequest) SetBps(v int32) *ModifyDefenseThresholdRequest
- func (s *ModifyDefenseThresholdRequest) SetDdosRegionId(v string) *ModifyDefenseThresholdRequest
- func (s *ModifyDefenseThresholdRequest) SetInstanceId(v string) *ModifyDefenseThresholdRequest
- func (s *ModifyDefenseThresholdRequest) SetInstanceType(v string) *ModifyDefenseThresholdRequest
- func (s *ModifyDefenseThresholdRequest) SetInternetIp(v string) *ModifyDefenseThresholdRequest
- func (s *ModifyDefenseThresholdRequest) SetIsAuto(v bool) *ModifyDefenseThresholdRequest
- func (s *ModifyDefenseThresholdRequest) SetPps(v int32) *ModifyDefenseThresholdRequest
- func (s ModifyDefenseThresholdRequest) String() string
- type ModifyDefenseThresholdResponse
- func (s ModifyDefenseThresholdResponse) GoString() string
- func (s *ModifyDefenseThresholdResponse) SetBody(v *ModifyDefenseThresholdResponseBody) *ModifyDefenseThresholdResponse
- func (s *ModifyDefenseThresholdResponse) SetHeaders(v map[string]*string) *ModifyDefenseThresholdResponse
- func (s *ModifyDefenseThresholdResponse) SetStatusCode(v int32) *ModifyDefenseThresholdResponse
- func (s ModifyDefenseThresholdResponse) String() string
- type ModifyDefenseThresholdResponseBody
- type ModifyIpDefenseThresholdRequest
- func (s ModifyIpDefenseThresholdRequest) GoString() string
- func (s *ModifyIpDefenseThresholdRequest) SetBps(v int32) *ModifyIpDefenseThresholdRequest
- func (s *ModifyIpDefenseThresholdRequest) SetDdosRegionId(v string) *ModifyIpDefenseThresholdRequest
- func (s *ModifyIpDefenseThresholdRequest) SetInstanceId(v string) *ModifyIpDefenseThresholdRequest
- func (s *ModifyIpDefenseThresholdRequest) SetInstanceType(v string) *ModifyIpDefenseThresholdRequest
- func (s *ModifyIpDefenseThresholdRequest) SetInternetIp(v string) *ModifyIpDefenseThresholdRequest
- func (s *ModifyIpDefenseThresholdRequest) SetIsAuto(v bool) *ModifyIpDefenseThresholdRequest
- func (s *ModifyIpDefenseThresholdRequest) SetPps(v int32) *ModifyIpDefenseThresholdRequest
- func (s ModifyIpDefenseThresholdRequest) String() string
- type ModifyIpDefenseThresholdResponse
- func (s ModifyIpDefenseThresholdResponse) GoString() string
- func (s *ModifyIpDefenseThresholdResponse) SetBody(v *ModifyIpDefenseThresholdResponseBody) *ModifyIpDefenseThresholdResponse
- func (s *ModifyIpDefenseThresholdResponse) SetHeaders(v map[string]*string) *ModifyIpDefenseThresholdResponse
- func (s *ModifyIpDefenseThresholdResponse) SetStatusCode(v int32) *ModifyIpDefenseThresholdResponse
- func (s ModifyIpDefenseThresholdResponse) String() string
- type ModifyIpDefenseThresholdResponseBody
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) DescribeBgpPackByIp ¶
func (client *Client) DescribeBgpPackByIp(request *DescribeBgpPackByIpRequest) (_result *DescribeBgpPackByIpResponse, _err error)
Summary:
Queries the configurations of the Anti-DDoS Origin Basic instance that is associated with an asset. The asset can be an elastic IP address (EIP). The asset can also be an Elastic Compute Service (ECS) instance or Server Load Balancer (SLB) instance that is assigned a public IP address.
Description:
You can call the DescribeBgpPackByIp operation to query the configurations of the Anti-DDoS Origin instance that is associated with an asset. The configurations include the basic protection threshold, burstable protection threshold, and expiration time.
## Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - DescribeBgpPackByIpRequest
@return DescribeBgpPackByIpResponse
func (*Client) DescribeBgpPackByIpWithOptions ¶
func (client *Client) DescribeBgpPackByIpWithOptions(request *DescribeBgpPackByIpRequest, runtime *util.RuntimeOptions) (_result *DescribeBgpPackByIpResponse, _err error)
Summary:
Queries the configurations of the Anti-DDoS Origin Basic instance that is associated with an asset. The asset can be an elastic IP address (EIP). The asset can also be an Elastic Compute Service (ECS) instance or Server Load Balancer (SLB) instance that is assigned a public IP address.
Description:
You can call the DescribeBgpPackByIp operation to query the configurations of the Anti-DDoS Origin instance that is associated with an asset. The configurations include the basic protection threshold, burstable protection threshold, and expiration time.
## Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - DescribeBgpPackByIpRequest
@param runtime - runtime options for this request RuntimeOptions
@return DescribeBgpPackByIpResponse
func (*Client) DescribeCap ¶
func (client *Client) DescribeCap(request *DescribeCapRequest) (_result *DescribeCapResponse, _err error)
Summary:
Queries the download link to the traffic data that is captured when a DDoS attack event occurs.
Description:
You can call the DescribeCap operation to query the download link to the traffic data that is captured when a DDoS attack event occurs. You can download the traffic data from the download link and use the data as evidence.
## Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - DescribeCapRequest
@return DescribeCapResponse
func (*Client) DescribeCapWithOptions ¶
func (client *Client) DescribeCapWithOptions(request *DescribeCapRequest, runtime *util.RuntimeOptions) (_result *DescribeCapResponse, _err error)
Summary:
Queries the download link to the traffic data that is captured when a DDoS attack event occurs.
Description:
You can call the DescribeCap operation to query the download link to the traffic data that is captured when a DDoS attack event occurs. You can download the traffic data from the download link and use the data as evidence.
## Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - DescribeCapRequest
@param runtime - runtime options for this request RuntimeOptions
@return DescribeCapResponse
func (*Client) DescribeDdosCount ¶
func (client *Client) DescribeDdosCount(request *DescribeDdosCountRequest) (_result *DescribeDdosCountResponse, _err error)
Summary:
Queries the number of assets that are under DDoS attacks in a specific region. The assets can be elastic IP addresses (EIPs). The assets can also be Elastic Compute Service (ECS) instances or Server Load Balancer (SLB) instances that are assigned public IP addresses.
Description:
You can call the DescribeDdosCount operation to query the number of assets that are under DDoS attacks in a specific region.
## Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - DescribeDdosCountRequest
@return DescribeDdosCountResponse
func (*Client) DescribeDdosCountWithOptions ¶
func (client *Client) DescribeDdosCountWithOptions(request *DescribeDdosCountRequest, runtime *util.RuntimeOptions) (_result *DescribeDdosCountResponse, _err error)
Summary:
Queries the number of assets that are under DDoS attacks in a specific region. The assets can be elastic IP addresses (EIPs). The assets can also be Elastic Compute Service (ECS) instances or Server Load Balancer (SLB) instances that are assigned public IP addresses.
Description:
You can call the DescribeDdosCount operation to query the number of assets that are under DDoS attacks in a specific region.
## Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - DescribeDdosCountRequest
@param runtime - runtime options for this request RuntimeOptions
@return DescribeDdosCountResponse
func (*Client) DescribeDdosCredit ¶
func (client *Client) DescribeDdosCredit(request *DescribeDdosCreditRequest) (_result *DescribeDdosCreditResponse, _err error)
Summary:
Queries the details of the security credit score of the current Alibaba Cloud account in a specific region.
Description:
You can call the DescribeDdosCredit operation to query the details of the security credit score of the current Alibaba Cloud account in a specific region. The details include the security credit score, security credit level, and the time period after which blackhole filtering is automatically deactivated.
## Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - DescribeDdosCreditRequest
@return DescribeDdosCreditResponse
func (*Client) DescribeDdosCreditWithOptions ¶
func (client *Client) DescribeDdosCreditWithOptions(request *DescribeDdosCreditRequest, runtime *util.RuntimeOptions) (_result *DescribeDdosCreditResponse, _err error)
Summary:
Queries the details of the security credit score of the current Alibaba Cloud account in a specific region.
Description:
You can call the DescribeDdosCredit operation to query the details of the security credit score of the current Alibaba Cloud account in a specific region. The details include the security credit score, security credit level, and the time period after which blackhole filtering is automatically deactivated.
## Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - DescribeDdosCreditRequest
@param runtime - runtime options for this request RuntimeOptions
@return DescribeDdosCreditResponse
func (*Client) DescribeDdosEventList ¶
func (client *Client) DescribeDdosEventList(request *DescribeDdosEventListRequest) (_result *DescribeDdosEventListResponse, _err error)
Summary:
Queries the details of the DDoS attack events that occur on an asset. The asset can be an Elastic IP address (EIP). The asset can also be an Elastic Compute Service (ECS) instance or Server Load Balancer (SLB) instance that is assigned a public IP address.
Description:
You can call the DescribeDdosEventList operation to query the details of the DDoS attack events that occur on an asset by page. The details include the start time, end time, and status of each DDoS attack event.
## Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - DescribeDdosEventListRequest
@return DescribeDdosEventListResponse
func (*Client) DescribeDdosEventListWithOptions ¶
func (client *Client) DescribeDdosEventListWithOptions(request *DescribeDdosEventListRequest, runtime *util.RuntimeOptions) (_result *DescribeDdosEventListResponse, _err error)
Summary:
Queries the details of the DDoS attack events that occur on an asset. The asset can be an Elastic IP address (EIP). The asset can also be an Elastic Compute Service (ECS) instance or Server Load Balancer (SLB) instance that is assigned a public IP address.
Description:
You can call the DescribeDdosEventList operation to query the details of the DDoS attack events that occur on an asset by page. The details include the start time, end time, and status of each DDoS attack event.
## Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - DescribeDdosEventListRequest
@param runtime - runtime options for this request RuntimeOptions
@return DescribeDdosEventListResponse
func (*Client) DescribeDdosThreshold ¶
func (client *Client) DescribeDdosThreshold(request *DescribeDdosThresholdRequest) (_result *DescribeDdosThresholdResponse, _err error)
Summary:
Queries the details of the DDoS mitigation thresholds or traffic scrubbing thresholds for specified assets. The assets can be elastic IP addresses (EIPs). The assets can also be Elastic Compute Service (ECS) instances or Server Load Balancer (SLB) instances that are assigned public IP addresses.
Description:
You can call the DescribeDdosThreshold operation to query the details of the DDoS mitigation thresholds or traffic scrubbing thresholds for specified assets. The details include the current traffic scrubbing threshold, maximum traffic scrubbing threshold, current DDoS mitigation threshold, and maximum DDoS mitigation threshold.
### Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - DescribeDdosThresholdRequest
@return DescribeDdosThresholdResponse
func (*Client) DescribeDdosThresholdWithOptions ¶
func (client *Client) DescribeDdosThresholdWithOptions(request *DescribeDdosThresholdRequest, runtime *util.RuntimeOptions) (_result *DescribeDdosThresholdResponse, _err error)
Summary:
Queries the details of the DDoS mitigation thresholds or traffic scrubbing thresholds for specified assets. The assets can be elastic IP addresses (EIPs). The assets can also be Elastic Compute Service (ECS) instances or Server Load Balancer (SLB) instances that are assigned public IP addresses.
Description:
You can call the DescribeDdosThreshold operation to query the details of the DDoS mitigation thresholds or traffic scrubbing thresholds for specified assets. The details include the current traffic scrubbing threshold, maximum traffic scrubbing threshold, current DDoS mitigation threshold, and maximum DDoS mitigation threshold.
### Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - DescribeDdosThresholdRequest
@param runtime - runtime options for this request RuntimeOptions
@return DescribeDdosThresholdResponse
func (*Client) DescribeInstance ¶
func (client *Client) DescribeInstance(request *DescribeInstanceRequest) (_result *DescribeInstanceResponse, _err error)
Summary:
Queries the details of the assets within the current Alibaba Cloud account. The assets can be elastic IP addresses (EIPs). The assets can also be Elastic Compute Service (ECS) instances or Server Load Balancer (SLB) instances that are assigned public IP addresses.
Description:
You can call the DescribeInstance operation to query the details of the assets that are within the current Alibaba Cloud account by page. The details include the IDs and IP addresses of the assets, the basic protection thresholds and traffic scrubbing thresholds that are configured for the assets in Anti-DDoS Origin Basic, and whether the assets are associated with Anti-DDoS Origin Basic instances.
### Limits
You can call this operation up to 200 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - DescribeInstanceRequest
@return DescribeInstanceResponse
func (*Client) DescribeInstanceIpAddress ¶
func (client *Client) DescribeInstanceIpAddress(request *DescribeInstanceIpAddressRequest) (_result *DescribeInstanceIpAddressResponse, _err error)
Summary:
Queries the details of the assets within the current Alibaba Cloud account and the details of the Anti-DDoS Origin instance to which the assets belong. The assets can be elastic IP addresses (EIPs). The assets can also be Elastic Compute Service (ECS) instances or Server Load Balancer (SLB) instances that are assigned public IP addresses.
Description:
If one or more assets of the current Alibaba Cloud account are added to an Anti-DDoS Origin instance, you can call the DescribeInstanceIpAddress operation to query the DDoS mitigation information and the details of the Anti-DDoS Origin instance. The information and the details include the basic protection threshold and traffic scrubbing threshold for the assets, DDoS mitigation status of the assets, ID of the instance, and the mitigation status of the instance.
## Limits
You can call this operation up to 200 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - DescribeInstanceIpAddressRequest
@return DescribeInstanceIpAddressResponse
func (*Client) DescribeInstanceIpAddressWithOptions ¶
func (client *Client) DescribeInstanceIpAddressWithOptions(request *DescribeInstanceIpAddressRequest, runtime *util.RuntimeOptions) (_result *DescribeInstanceIpAddressResponse, _err error)
Summary:
Queries the details of the assets within the current Alibaba Cloud account and the details of the Anti-DDoS Origin instance to which the assets belong. The assets can be elastic IP addresses (EIPs). The assets can also be Elastic Compute Service (ECS) instances or Server Load Balancer (SLB) instances that are assigned public IP addresses.
Description:
If one or more assets of the current Alibaba Cloud account are added to an Anti-DDoS Origin instance, you can call the DescribeInstanceIpAddress operation to query the DDoS mitigation information and the details of the Anti-DDoS Origin instance. The information and the details include the basic protection threshold and traffic scrubbing threshold for the assets, DDoS mitigation status of the assets, ID of the instance, and the mitigation status of the instance.
## Limits
You can call this operation up to 200 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - DescribeInstanceIpAddressRequest
@param runtime - runtime options for this request RuntimeOptions
@return DescribeInstanceIpAddressResponse
func (*Client) DescribeInstanceWithOptions ¶
func (client *Client) DescribeInstanceWithOptions(request *DescribeInstanceRequest, runtime *util.RuntimeOptions) (_result *DescribeInstanceResponse, _err error)
Summary:
Queries the details of the assets within the current Alibaba Cloud account. The assets can be elastic IP addresses (EIPs). The assets can also be Elastic Compute Service (ECS) instances or Server Load Balancer (SLB) instances that are assigned public IP addresses.
Description:
You can call the DescribeInstance operation to query the details of the assets that are within the current Alibaba Cloud account by page. The details include the IDs and IP addresses of the assets, the basic protection thresholds and traffic scrubbing thresholds that are configured for the assets in Anti-DDoS Origin Basic, and whether the assets are associated with Anti-DDoS Origin Basic instances.
### Limits
You can call this operation up to 200 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - DescribeInstanceRequest
@param runtime - runtime options for this request RuntimeOptions
@return DescribeInstanceResponse
func (*Client) DescribeIpDdosThreshold ¶
func (client *Client) DescribeIpDdosThreshold(request *DescribeIpDdosThresholdRequest) (_result *DescribeIpDdosThresholdResponse, _err error)
Summary:
Queries the details of the DDoS mitigation thresholds or traffic scrubbing thresholds for specified assets. The assets can be elastic IP addresses (EIPs). The assets can also be Elastic Compute Service (ECS) instances or Server Load Balancer (SLB) instances that are assigned public IP addresses.
Description:
If one or more assets of the current Alibaba Cloud account are added to an Anti-DDoS Origin instance, you can call the DescribeIpDdosThreshold operation to query the details of the DDoS mitigation threshold or traffic scrubbing threshold for a specific asset. The details include the current traffic scrubbing threshold, maximum scrubbing threshold, current DDoS mitigation threshold, and maximum DDoS mitigation threshold.
## Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - DescribeIpDdosThresholdRequest
@return DescribeIpDdosThresholdResponse
func (*Client) DescribeIpDdosThresholdWithOptions ¶
func (client *Client) DescribeIpDdosThresholdWithOptions(request *DescribeIpDdosThresholdRequest, runtime *util.RuntimeOptions) (_result *DescribeIpDdosThresholdResponse, _err error)
Summary:
Queries the details of the DDoS mitigation thresholds or traffic scrubbing thresholds for specified assets. The assets can be elastic IP addresses (EIPs). The assets can also be Elastic Compute Service (ECS) instances or Server Load Balancer (SLB) instances that are assigned public IP addresses.
Description:
If one or more assets of the current Alibaba Cloud account are added to an Anti-DDoS Origin instance, you can call the DescribeIpDdosThreshold operation to query the details of the DDoS mitigation threshold or traffic scrubbing threshold for a specific asset. The details include the current traffic scrubbing threshold, maximum scrubbing threshold, current DDoS mitigation threshold, and maximum DDoS mitigation threshold.
## Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - DescribeIpDdosThresholdRequest
@param runtime - runtime options for this request RuntimeOptions
@return DescribeIpDdosThresholdResponse
func (*Client) DescribeIpLocationService ¶
func (client *Client) DescribeIpLocationService(request *DescribeIpLocationServiceRequest) (_result *DescribeIpLocationServiceResponse, _err error)
Summary:
Queries the region in which an asset within the current Alibaba Cloud account resides. The asset can be an elastic IP address (EIP). The asset can also be an Elastic Compute Service (ECS) instance or Server Load Balancer (SLB) instance that is assigned a public IP address.
Description:
You can call the DescribeIpLocationService operation to query the region of the public IP address for a specified asset that is within the current Alibaba Cloud account. You can also query the details of the Anti-DDoS Origin instance to which the asset is added. The details include the ID and name.
## Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - DescribeIpLocationServiceRequest
@return DescribeIpLocationServiceResponse
func (*Client) DescribeIpLocationServiceWithOptions ¶
func (client *Client) DescribeIpLocationServiceWithOptions(request *DescribeIpLocationServiceRequest, runtime *util.RuntimeOptions) (_result *DescribeIpLocationServiceResponse, _err error)
Summary:
Queries the region in which an asset within the current Alibaba Cloud account resides. The asset can be an elastic IP address (EIP). The asset can also be an Elastic Compute Service (ECS) instance or Server Load Balancer (SLB) instance that is assigned a public IP address.
Description:
You can call the DescribeIpLocationService operation to query the region of the public IP address for a specified asset that is within the current Alibaba Cloud account. You can also query the details of the Anti-DDoS Origin instance to which the asset is added. The details include the ID and name.
## Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - DescribeIpLocationServiceRequest
@param runtime - runtime options for this request RuntimeOptions
@return DescribeIpLocationServiceResponse
func (*Client) DescribeRegions ¶
func (client *Client) DescribeRegions() (_result *DescribeRegionsResponse, _err error)
Summary:
Queries the regions in which Anti-DDoS Origin Basic is available.
Description:
You can call this operation to query information about the regions in which Anti-DDoS Origin Basic is available. The information includes the region ID, region name, and code.
## Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@return DescribeRegionsResponse
func (*Client) DescribeRegionsWithOptions ¶
func (client *Client) DescribeRegionsWithOptions(runtime *util.RuntimeOptions) (_result *DescribeRegionsResponse, _err error)
Summary:
Queries the regions in which Anti-DDoS Origin Basic is available.
Description:
You can call this operation to query information about the regions in which Anti-DDoS Origin Basic is available. The information includes the region ID, region name, and code.
## Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - DescribeRegionsRequest
@param runtime - runtime options for this request RuntimeOptions
@return DescribeRegionsResponse
func (*Client) GetEndpoint ¶
func (*Client) ModifyDefenseThreshold ¶
func (client *Client) ModifyDefenseThreshold(request *ModifyDefenseThresholdRequest) (_result *ModifyDefenseThresholdResponse, _err error)
Summary:
Changes the scrubbing thresholds for an asset. The asset can be an elastic IP address (EIP). The asset can also be an Elastic Compute Service (ECS) instance or Server Load Balancer (SLB) instance that is assigned a public IP address.
Description:
You can call the ModifyDefenseThreshold operation to change the scrubbing thresholds for an asset.
## Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - ModifyDefenseThresholdRequest
@return ModifyDefenseThresholdResponse
func (*Client) ModifyDefenseThresholdWithOptions ¶
func (client *Client) ModifyDefenseThresholdWithOptions(request *ModifyDefenseThresholdRequest, runtime *util.RuntimeOptions) (_result *ModifyDefenseThresholdResponse, _err error)
Summary:
Changes the scrubbing thresholds for an asset. The asset can be an elastic IP address (EIP). The asset can also be an Elastic Compute Service (ECS) instance or Server Load Balancer (SLB) instance that is assigned a public IP address.
Description:
You can call the ModifyDefenseThreshold operation to change the scrubbing thresholds for an asset.
## Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - ModifyDefenseThresholdRequest
@param runtime - runtime options for this request RuntimeOptions
@return ModifyDefenseThresholdResponse
func (*Client) ModifyIpDefenseThreshold ¶
func (client *Client) ModifyIpDefenseThreshold(request *ModifyIpDefenseThresholdRequest) (_result *ModifyIpDefenseThresholdResponse, _err error)
Summary:
Changes the traffic scrubbing thresholds for an asset. The asset can be an elastic IP addresses (EIP). The asset can also be an Elastic Compute Service (ECS) instance or Server Load Balancer (SLB) instance that is assigned a public IP address.
Description:
### Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - ModifyIpDefenseThresholdRequest
@return ModifyIpDefenseThresholdResponse
func (*Client) ModifyIpDefenseThresholdWithOptions ¶
func (client *Client) ModifyIpDefenseThresholdWithOptions(request *ModifyIpDefenseThresholdRequest, runtime *util.RuntimeOptions) (_result *ModifyIpDefenseThresholdResponse, _err error)
Summary:
Changes the traffic scrubbing thresholds for an asset. The asset can be an elastic IP addresses (EIP). The asset can also be an Elastic Compute Service (ECS) instance or Server Load Balancer (SLB) instance that is assigned a public IP address.
Description:
### Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
@param request - ModifyIpDefenseThresholdRequest
@param runtime - runtime options for this request RuntimeOptions
@return ModifyIpDefenseThresholdResponse
type DescribeBgpPackByIpRequest ¶
type DescribeBgpPackByIpRequest struct { // The region ID of the asset to query. // // > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/353250.html) operation to query the most recent region list. // // This parameter is required. // // example: // // cn-hangzhou DdosRegionId *string `json:"DdosRegionId,omitempty" xml:"DdosRegionId,omitempty"` // The IP address of the asset to query. // // > You can call the [DescribeInstance](https://help.aliyun.com/document_detail/354191.html) operation to query the IDs of ECS instances, SLB instances, and EIPs within the current Alibaba Cloud account. // // This parameter is required. // // example: // // 118.31.XX.XX Ip *string `json:"Ip,omitempty" xml:"Ip,omitempty"` }
func (DescribeBgpPackByIpRequest) GoString ¶
func (s DescribeBgpPackByIpRequest) GoString() string
func (*DescribeBgpPackByIpRequest) SetDdosRegionId ¶
func (s *DescribeBgpPackByIpRequest) SetDdosRegionId(v string) *DescribeBgpPackByIpRequest
func (*DescribeBgpPackByIpRequest) SetIp ¶
func (s *DescribeBgpPackByIpRequest) SetIp(v string) *DescribeBgpPackByIpRequest
func (DescribeBgpPackByIpRequest) String ¶
func (s DescribeBgpPackByIpRequest) String() string
type DescribeBgpPackByIpResponse ¶
type DescribeBgpPackByIpResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *DescribeBgpPackByIpResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (DescribeBgpPackByIpResponse) GoString ¶
func (s DescribeBgpPackByIpResponse) GoString() string
func (*DescribeBgpPackByIpResponse) SetBody ¶
func (s *DescribeBgpPackByIpResponse) SetBody(v *DescribeBgpPackByIpResponseBody) *DescribeBgpPackByIpResponse
func (*DescribeBgpPackByIpResponse) SetHeaders ¶
func (s *DescribeBgpPackByIpResponse) SetHeaders(v map[string]*string) *DescribeBgpPackByIpResponse
func (*DescribeBgpPackByIpResponse) SetStatusCode ¶
func (s *DescribeBgpPackByIpResponse) SetStatusCode(v int32) *DescribeBgpPackByIpResponse
func (DescribeBgpPackByIpResponse) String ¶
func (s DescribeBgpPackByIpResponse) String() string
type DescribeBgpPackByIpResponseBody ¶
type DescribeBgpPackByIpResponseBody struct { // The HTTP status code of the request. // // For more information about status codes, see [Common parameters](https://help.aliyun.com/document_detail/118841.html). // // example: // // 200 Code *int32 `json:"Code,omitempty" xml:"Code,omitempty"` // The configurations of the instance that is associated with the asset. DdosbgpInfo *DescribeBgpPackByIpResponseBodyDdosbgpInfo `json:"DdosbgpInfo,omitempty" xml:"DdosbgpInfo,omitempty" type:"Struct"` // The ID of the request. // // example: // // E46A08E4-A1CD-5BE9-B580-C4D6E9BC5484 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // Indicates whether the request was successful. Valid values: // // - **true**: yes // // - **false**: no // // example: // // true Success *bool `json:"Success,omitempty" xml:"Success,omitempty"` }
func (DescribeBgpPackByIpResponseBody) GoString ¶
func (s DescribeBgpPackByIpResponseBody) GoString() string
func (*DescribeBgpPackByIpResponseBody) SetCode ¶
func (s *DescribeBgpPackByIpResponseBody) SetCode(v int32) *DescribeBgpPackByIpResponseBody
func (*DescribeBgpPackByIpResponseBody) SetDdosbgpInfo ¶
func (s *DescribeBgpPackByIpResponseBody) SetDdosbgpInfo(v *DescribeBgpPackByIpResponseBodyDdosbgpInfo) *DescribeBgpPackByIpResponseBody
func (*DescribeBgpPackByIpResponseBody) SetRequestId ¶
func (s *DescribeBgpPackByIpResponseBody) SetRequestId(v string) *DescribeBgpPackByIpResponseBody
func (*DescribeBgpPackByIpResponseBody) SetSuccess ¶
func (s *DescribeBgpPackByIpResponseBody) SetSuccess(v bool) *DescribeBgpPackByIpResponseBody
func (DescribeBgpPackByIpResponseBody) String ¶
func (s DescribeBgpPackByIpResponseBody) String() string
type DescribeBgpPackByIpResponseBodyDdosbgpInfo ¶
type DescribeBgpPackByIpResponseBodyDdosbgpInfo struct { // The basic protection threshold of the instance. Unit: Gbit/s. // // example: // // 20 BaseThreshold *int32 `json:"BaseThreshold,omitempty" xml:"BaseThreshold,omitempty"` // The ID of the instance. // // example: // // ddosbgp-cn-n6w1r7nz**** DdosbgpInstanceId *string `json:"DdosbgpInstanceId,omitempty" xml:"DdosbgpInstanceId,omitempty"` // The burstable protection threshold of the instance. Unit: Gbit/s. // // example: // // 301 ElasticThreshold *int32 `json:"ElasticThreshold,omitempty" xml:"ElasticThreshold,omitempty"` // The expiration time of the instance. The value is a UNIX timestamp. Unit: milliseconds. // // example: // // 1640448000000 ExpireTime *int64 `json:"ExpireTime,omitempty" xml:"ExpireTime,omitempty"` // The IP address of the asset. // // example: // // 118.31.XX.XX Ip *string `json:"Ip,omitempty" xml:"Ip,omitempty"` }
func (DescribeBgpPackByIpResponseBodyDdosbgpInfo) GoString ¶
func (s DescribeBgpPackByIpResponseBodyDdosbgpInfo) GoString() string
func (*DescribeBgpPackByIpResponseBodyDdosbgpInfo) SetBaseThreshold ¶
func (s *DescribeBgpPackByIpResponseBodyDdosbgpInfo) SetBaseThreshold(v int32) *DescribeBgpPackByIpResponseBodyDdosbgpInfo
func (*DescribeBgpPackByIpResponseBodyDdosbgpInfo) SetDdosbgpInstanceId ¶
func (s *DescribeBgpPackByIpResponseBodyDdosbgpInfo) SetDdosbgpInstanceId(v string) *DescribeBgpPackByIpResponseBodyDdosbgpInfo
func (*DescribeBgpPackByIpResponseBodyDdosbgpInfo) SetElasticThreshold ¶
func (s *DescribeBgpPackByIpResponseBodyDdosbgpInfo) SetElasticThreshold(v int32) *DescribeBgpPackByIpResponseBodyDdosbgpInfo
func (*DescribeBgpPackByIpResponseBodyDdosbgpInfo) SetExpireTime ¶
func (s *DescribeBgpPackByIpResponseBodyDdosbgpInfo) SetExpireTime(v int64) *DescribeBgpPackByIpResponseBodyDdosbgpInfo
func (DescribeBgpPackByIpResponseBodyDdosbgpInfo) String ¶
func (s DescribeBgpPackByIpResponseBodyDdosbgpInfo) String() string
type DescribeCapRequest ¶
type DescribeCapRequest struct { // The start time of the DDoS attack event. The value is a UNIX timestamp. Unit: milliseconds. // // > You can call the [DescribeDdosEventList](https://help.aliyun.com/document_detail/354236.html) operation to query the start time of each DDoS attack event that occurred on an asset. // // This parameter is required. // // example: // // 1637812279000 BegTime *int64 `json:"BegTime,omitempty" xml:"BegTime,omitempty"` // The region ID of the asset that is under DDoS attacks. The asset is assigned a public IP address. // // > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/353250.html) operation to query the most recent region list. // // This parameter is required. // // example: // // cn-hangzhou DdosRegionId *string `json:"DdosRegionId,omitempty" xml:"DdosRegionId,omitempty"` // The ID of the asset that is under DDoS attacks. // // > You can call the [DescribeInstance](https://help.aliyun.com/document_detail/354191.html) operation to query the IDs of ECS instances, SLB instances, and EIPs within the current Alibaba Cloud account. // // This parameter is required. // // example: // // i-bp10bclrt56fblts**** InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"` // The type of the asset that is under DDoS attacks. Valid values: // // - **ecs**: ECS instance // // - **slb**: SLB instance // // - **eip**: EIP // // This parameter is required. // // example: // // ecs InstanceType *string `json:"InstanceType,omitempty" xml:"InstanceType,omitempty"` // The public IP address of the asset that is under DDoS attacks. // // example: // // 121.199.XX.XX InternetIp *string `json:"InternetIp,omitempty" xml:"InternetIp,omitempty"` }
func (DescribeCapRequest) GoString ¶
func (s DescribeCapRequest) GoString() string
func (*DescribeCapRequest) SetBegTime ¶
func (s *DescribeCapRequest) SetBegTime(v int64) *DescribeCapRequest
func (*DescribeCapRequest) SetDdosRegionId ¶
func (s *DescribeCapRequest) SetDdosRegionId(v string) *DescribeCapRequest
func (*DescribeCapRequest) SetInstanceId ¶
func (s *DescribeCapRequest) SetInstanceId(v string) *DescribeCapRequest
func (*DescribeCapRequest) SetInstanceType ¶
func (s *DescribeCapRequest) SetInstanceType(v string) *DescribeCapRequest
func (*DescribeCapRequest) SetInternetIp ¶
func (s *DescribeCapRequest) SetInternetIp(v string) *DescribeCapRequest
func (DescribeCapRequest) String ¶
func (s DescribeCapRequest) String() string
type DescribeCapResponse ¶
type DescribeCapResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *DescribeCapResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (DescribeCapResponse) GoString ¶
func (s DescribeCapResponse) GoString() string
func (*DescribeCapResponse) SetBody ¶
func (s *DescribeCapResponse) SetBody(v *DescribeCapResponseBody) *DescribeCapResponse
func (*DescribeCapResponse) SetHeaders ¶
func (s *DescribeCapResponse) SetHeaders(v map[string]*string) *DescribeCapResponse
func (*DescribeCapResponse) SetStatusCode ¶
func (s *DescribeCapResponse) SetStatusCode(v int32) *DescribeCapResponse
func (DescribeCapResponse) String ¶
func (s DescribeCapResponse) String() string
type DescribeCapResponseBody ¶
type DescribeCapResponseBody struct { // The download link to the traffic data that is captured when a DDoS attack event occurs. CapUrl *DescribeCapResponseBodyCapUrl `json:"CapUrl,omitempty" xml:"CapUrl,omitempty" type:"Struct"` // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // C728D7E9-9A39-52E0-966B-5C33118BDBB0 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (DescribeCapResponseBody) GoString ¶
func (s DescribeCapResponseBody) GoString() string
func (*DescribeCapResponseBody) SetCapUrl ¶
func (s *DescribeCapResponseBody) SetCapUrl(v *DescribeCapResponseBodyCapUrl) *DescribeCapResponseBody
func (*DescribeCapResponseBody) SetRequestId ¶
func (s *DescribeCapResponseBody) SetRequestId(v string) *DescribeCapResponseBody
func (DescribeCapResponseBody) String ¶
func (s DescribeCapResponseBody) String() string
type DescribeCapResponseBodyCapUrl ¶
type DescribeCapResponseBodyCapUrl struct { // The download link to the traffic data. // // example: // // http://beaver-pack****.oss-cn-hangzhou.aliyuncs.com/ddos-2021112511-121.89.XX.XX.cap?Expires=1637824408&OSSAccessKeyId=LTAIXu2lJhw3****&Signature=KKSzOMSUajtwcqfqxkU1nK69d4**** Url *string `json:"Url,omitempty" xml:"Url,omitempty"` }
func (DescribeCapResponseBodyCapUrl) GoString ¶
func (s DescribeCapResponseBodyCapUrl) GoString() string
func (*DescribeCapResponseBodyCapUrl) SetUrl ¶
func (s *DescribeCapResponseBodyCapUrl) SetUrl(v string) *DescribeCapResponseBodyCapUrl
func (DescribeCapResponseBodyCapUrl) String ¶
func (s DescribeCapResponseBodyCapUrl) String() string
type DescribeDdosCountRequest ¶
type DescribeDdosCountRequest struct { // The region ID of the asset to query. // // > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/353250.html) operation to query the most recent region list. // // This parameter is required. // // example: // // cn-hangzhou DdosRegionId *string `json:"DdosRegionId,omitempty" xml:"DdosRegionId,omitempty"` // The type of the asset to query. Valid values: // // - **ecs**: ECS instance // // - **slb**: SLB instance // // - **eip**: EIP // // This parameter is required. // // example: // // ecs InstanceType *string `json:"InstanceType,omitempty" xml:"InstanceType,omitempty"` }
func (DescribeDdosCountRequest) GoString ¶
func (s DescribeDdosCountRequest) GoString() string
func (*DescribeDdosCountRequest) SetDdosRegionId ¶
func (s *DescribeDdosCountRequest) SetDdosRegionId(v string) *DescribeDdosCountRequest
func (*DescribeDdosCountRequest) SetInstanceType ¶
func (s *DescribeDdosCountRequest) SetInstanceType(v string) *DescribeDdosCountRequest
func (DescribeDdosCountRequest) String ¶
func (s DescribeDdosCountRequest) String() string
type DescribeDdosCountResponse ¶
type DescribeDdosCountResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *DescribeDdosCountResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (DescribeDdosCountResponse) GoString ¶
func (s DescribeDdosCountResponse) GoString() string
func (*DescribeDdosCountResponse) SetBody ¶
func (s *DescribeDdosCountResponse) SetBody(v *DescribeDdosCountResponseBody) *DescribeDdosCountResponse
func (*DescribeDdosCountResponse) SetHeaders ¶
func (s *DescribeDdosCountResponse) SetHeaders(v map[string]*string) *DescribeDdosCountResponse
func (*DescribeDdosCountResponse) SetStatusCode ¶
func (s *DescribeDdosCountResponse) SetStatusCode(v int32) *DescribeDdosCountResponse
func (DescribeDdosCountResponse) String ¶
func (s DescribeDdosCountResponse) String() string
type DescribeDdosCountResponseBody ¶
type DescribeDdosCountResponseBody struct { // The number of assets that are under DDoS attacks. DdosCount *DescribeDdosCountResponseBodyDdosCount `json:"DdosCount,omitempty" xml:"DdosCount,omitempty" type:"Struct"` // The ID of the request. // // example: // // 7D66C762-324E-51CE-B461-2007996087B2 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (DescribeDdosCountResponseBody) GoString ¶
func (s DescribeDdosCountResponseBody) GoString() string
func (*DescribeDdosCountResponseBody) SetDdosCount ¶
func (s *DescribeDdosCountResponseBody) SetDdosCount(v *DescribeDdosCountResponseBodyDdosCount) *DescribeDdosCountResponseBody
func (*DescribeDdosCountResponseBody) SetRequestId ¶
func (s *DescribeDdosCountResponseBody) SetRequestId(v string) *DescribeDdosCountResponseBody
func (DescribeDdosCountResponseBody) String ¶
func (s DescribeDdosCountResponseBody) String() string
type DescribeDdosCountResponseBodyDdosCount ¶
type DescribeDdosCountResponseBodyDdosCount struct { // The number of assets for which blackhole filtering is triggered. // // example: // // 0 BlackholeCount *int32 `json:"BlackholeCount,omitempty" xml:"BlackholeCount,omitempty"` // The number of assets for which traffic scrubbing is triggered. // // example: // // 4 DefenseCount *int32 `json:"DefenseCount,omitempty" xml:"DefenseCount,omitempty"` // The total number of assets. // // example: // // 0 InstacenCount *int32 `json:"InstacenCount,omitempty" xml:"InstacenCount,omitempty"` }
func (DescribeDdosCountResponseBodyDdosCount) GoString ¶
func (s DescribeDdosCountResponseBodyDdosCount) GoString() string
func (*DescribeDdosCountResponseBodyDdosCount) SetBlackholeCount ¶
func (s *DescribeDdosCountResponseBodyDdosCount) SetBlackholeCount(v int32) *DescribeDdosCountResponseBodyDdosCount
func (*DescribeDdosCountResponseBodyDdosCount) SetDefenseCount ¶
func (s *DescribeDdosCountResponseBodyDdosCount) SetDefenseCount(v int32) *DescribeDdosCountResponseBodyDdosCount
func (*DescribeDdosCountResponseBodyDdosCount) SetInstacenCount ¶
func (s *DescribeDdosCountResponseBodyDdosCount) SetInstacenCount(v int32) *DescribeDdosCountResponseBodyDdosCount
func (DescribeDdosCountResponseBodyDdosCount) String ¶
func (s DescribeDdosCountResponseBodyDdosCount) String() string
type DescribeDdosCreditRequest ¶
type DescribeDdosCreditRequest struct { // The ID of the region. // // > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/353250.html) operation to query the most recent region list. // // This parameter is required. // // example: // // cn-hangzhou DdosRegionId *string `json:"DdosRegionId,omitempty" xml:"DdosRegionId,omitempty"` }
func (DescribeDdosCreditRequest) GoString ¶
func (s DescribeDdosCreditRequest) GoString() string
func (*DescribeDdosCreditRequest) SetDdosRegionId ¶
func (s *DescribeDdosCreditRequest) SetDdosRegionId(v string) *DescribeDdosCreditRequest
func (DescribeDdosCreditRequest) String ¶
func (s DescribeDdosCreditRequest) String() string
type DescribeDdosCreditResponse ¶
type DescribeDdosCreditResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *DescribeDdosCreditResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (DescribeDdosCreditResponse) GoString ¶
func (s DescribeDdosCreditResponse) GoString() string
func (*DescribeDdosCreditResponse) SetBody ¶
func (s *DescribeDdosCreditResponse) SetBody(v *DescribeDdosCreditResponseBody) *DescribeDdosCreditResponse
func (*DescribeDdosCreditResponse) SetHeaders ¶
func (s *DescribeDdosCreditResponse) SetHeaders(v map[string]*string) *DescribeDdosCreditResponse
func (*DescribeDdosCreditResponse) SetStatusCode ¶
func (s *DescribeDdosCreditResponse) SetStatusCode(v int32) *DescribeDdosCreditResponse
func (DescribeDdosCreditResponse) String ¶
func (s DescribeDdosCreditResponse) String() string
type DescribeDdosCreditResponseBody ¶
type DescribeDdosCreditResponseBody struct { // The details of the security credit score of the current Alibaba Cloud account in the specified region. DdosCredit *DescribeDdosCreditResponseBodyDdosCredit `json:"DdosCredit,omitempty" xml:"DdosCredit,omitempty" type:"Struct"` // The ID of the request. // // example: // // E1F7BD73-8E9D-58D9-8658-CFC97112C641 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // Indicates whether the request was successful. Valid values: // // - **true**: yes // // - **false**: no // // example: // // true Success *bool `json:"Success,omitempty" xml:"Success,omitempty"` }
func (DescribeDdosCreditResponseBody) GoString ¶
func (s DescribeDdosCreditResponseBody) GoString() string
func (*DescribeDdosCreditResponseBody) SetDdosCredit ¶
func (s *DescribeDdosCreditResponseBody) SetDdosCredit(v *DescribeDdosCreditResponseBodyDdosCredit) *DescribeDdosCreditResponseBody
func (*DescribeDdosCreditResponseBody) SetRequestId ¶
func (s *DescribeDdosCreditResponseBody) SetRequestId(v string) *DescribeDdosCreditResponseBody
func (*DescribeDdosCreditResponseBody) SetSuccess ¶
func (s *DescribeDdosCreditResponseBody) SetSuccess(v bool) *DescribeDdosCreditResponseBody
func (DescribeDdosCreditResponseBody) String ¶
func (s DescribeDdosCreditResponseBody) String() string
type DescribeDdosCreditResponseBodyDdosCredit ¶
type DescribeDdosCreditResponseBodyDdosCredit struct { // The time period after which blackhole filtering is automatically deactivated in the specified region. Unit: minutes. // // example: // // 150 BlackholeTime *int32 `json:"BlackholeTime,omitempty" xml:"BlackholeTime,omitempty"` // The security credit score. The full score is **1000**. // // example: // // 550 Score *int32 `json:"Score,omitempty" xml:"Score,omitempty"` // The security credit level. Valid values: // // - **A**: outstanding // // - **B**: excellent // // - **C**: good // // - **D**: average // // - **E**: poor // // - **F**: poorer // // example: // // D ScoreLevel *string `json:"ScoreLevel,omitempty" xml:"ScoreLevel,omitempty"` }
func (DescribeDdosCreditResponseBodyDdosCredit) GoString ¶
func (s DescribeDdosCreditResponseBodyDdosCredit) GoString() string
func (*DescribeDdosCreditResponseBodyDdosCredit) SetBlackholeTime ¶
func (s *DescribeDdosCreditResponseBodyDdosCredit) SetBlackholeTime(v int32) *DescribeDdosCreditResponseBodyDdosCredit
func (*DescribeDdosCreditResponseBodyDdosCredit) SetScore ¶
func (s *DescribeDdosCreditResponseBodyDdosCredit) SetScore(v int32) *DescribeDdosCreditResponseBodyDdosCredit
func (*DescribeDdosCreditResponseBodyDdosCredit) SetScoreLevel ¶
func (s *DescribeDdosCreditResponseBodyDdosCredit) SetScoreLevel(v string) *DescribeDdosCreditResponseBodyDdosCredit
func (DescribeDdosCreditResponseBodyDdosCredit) String ¶
func (s DescribeDdosCreditResponseBodyDdosCredit) String() string
type DescribeDdosEventListRequest ¶
type DescribeDdosEventListRequest struct { // The number of the page to return. Default value: **1**. // // example: // // 1 CurrentPage *int32 `json:"CurrentPage,omitempty" xml:"CurrentPage,omitempty"` // The region ID of the asset to query. // // > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/353250.html) operation to query the most recent region list. // // This parameter is required. // // example: // // cn-hangzhou DdosRegionId *string `json:"DdosRegionId,omitempty" xml:"DdosRegionId,omitempty"` // The ID of asset to query. // // > You can call the [DescribeInstance](https://help.aliyun.com/document_detail/354191.html) operation to query the IDs of ECS instances, SLB instances, and EIPs within the current Alibaba Cloud account. // // This parameter is required. // // example: // // i-bp10bclrt56fblts**** InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"` // The type of the asset to query. Valid values: // // - **ecs**: ECS instance // // - **slb**: SLB instance // // - **eip**: EIP // // This parameter is required. // // example: // // ecs InstanceType *string `json:"InstanceType,omitempty" xml:"InstanceType,omitempty"` // The IP address of the asset to query. // // example: // // 121.199.XX.XX InternetIp *string `json:"InternetIp,omitempty" xml:"InternetIp,omitempty"` // The number of entries to return on each page. Default value: **10**. // // example: // // 10 PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"` }
func (DescribeDdosEventListRequest) GoString ¶
func (s DescribeDdosEventListRequest) GoString() string
func (*DescribeDdosEventListRequest) SetCurrentPage ¶
func (s *DescribeDdosEventListRequest) SetCurrentPage(v int32) *DescribeDdosEventListRequest
func (*DescribeDdosEventListRequest) SetDdosRegionId ¶
func (s *DescribeDdosEventListRequest) SetDdosRegionId(v string) *DescribeDdosEventListRequest
func (*DescribeDdosEventListRequest) SetInstanceId ¶
func (s *DescribeDdosEventListRequest) SetInstanceId(v string) *DescribeDdosEventListRequest
func (*DescribeDdosEventListRequest) SetInstanceType ¶
func (s *DescribeDdosEventListRequest) SetInstanceType(v string) *DescribeDdosEventListRequest
func (*DescribeDdosEventListRequest) SetInternetIp ¶
func (s *DescribeDdosEventListRequest) SetInternetIp(v string) *DescribeDdosEventListRequest
func (*DescribeDdosEventListRequest) SetPageSize ¶
func (s *DescribeDdosEventListRequest) SetPageSize(v int32) *DescribeDdosEventListRequest
func (DescribeDdosEventListRequest) String ¶
func (s DescribeDdosEventListRequest) String() string
type DescribeDdosEventListResponse ¶
type DescribeDdosEventListResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *DescribeDdosEventListResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (DescribeDdosEventListResponse) GoString ¶
func (s DescribeDdosEventListResponse) GoString() string
func (*DescribeDdosEventListResponse) SetBody ¶
func (s *DescribeDdosEventListResponse) SetBody(v *DescribeDdosEventListResponseBody) *DescribeDdosEventListResponse
func (*DescribeDdosEventListResponse) SetHeaders ¶
func (s *DescribeDdosEventListResponse) SetHeaders(v map[string]*string) *DescribeDdosEventListResponse
func (*DescribeDdosEventListResponse) SetStatusCode ¶
func (s *DescribeDdosEventListResponse) SetStatusCode(v int32) *DescribeDdosEventListResponse
func (DescribeDdosEventListResponse) String ¶
func (s DescribeDdosEventListResponse) String() string
type DescribeDdosEventListResponseBody ¶
type DescribeDdosEventListResponseBody struct { // An array that consists of the details of a DDoS attack event. DdosEventList *DescribeDdosEventListResponseBodyDdosEventList `json:"DdosEventList,omitempty" xml:"DdosEventList,omitempty" type:"Struct"` // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // BC0907F8-A9F3-5E11-977B-D59CD98C64ED RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // The total number of DDoS attack events. // // example: // // 1 Total *int32 `json:"Total,omitempty" xml:"Total,omitempty"` }
func (DescribeDdosEventListResponseBody) GoString ¶
func (s DescribeDdosEventListResponseBody) GoString() string
func (*DescribeDdosEventListResponseBody) SetDdosEventList ¶
func (s *DescribeDdosEventListResponseBody) SetDdosEventList(v *DescribeDdosEventListResponseBodyDdosEventList) *DescribeDdosEventListResponseBody
func (*DescribeDdosEventListResponseBody) SetRequestId ¶
func (s *DescribeDdosEventListResponseBody) SetRequestId(v string) *DescribeDdosEventListResponseBody
func (*DescribeDdosEventListResponseBody) SetTotal ¶
func (s *DescribeDdosEventListResponseBody) SetTotal(v int32) *DescribeDdosEventListResponseBody
func (DescribeDdosEventListResponseBody) String ¶
func (s DescribeDdosEventListResponseBody) String() string
type DescribeDdosEventListResponseBodyDdosEventList ¶
type DescribeDdosEventListResponseBodyDdosEventList struct {
DdosEvent []*DescribeDdosEventListResponseBodyDdosEventListDdosEvent `json:"DdosEvent,omitempty" xml:"DdosEvent,omitempty" type:"Repeated"`
}
func (DescribeDdosEventListResponseBodyDdosEventList) GoString ¶
func (s DescribeDdosEventListResponseBodyDdosEventList) GoString() string
func (*DescribeDdosEventListResponseBodyDdosEventList) SetDdosEvent ¶
func (DescribeDdosEventListResponseBodyDdosEventList) String ¶
func (s DescribeDdosEventListResponseBodyDdosEventList) String() string
type DescribeDdosEventListResponseBodyDdosEventListDdosEvent ¶
type DescribeDdosEventListResponseBodyDdosEventListDdosEvent struct { // The status of the DDoS attack event. Valid values: // // - **mitigating**: indicates that traffic scrubbing is in progress. // // - **blackholed**: indicates that blackhole filtering is triggered for the asset. // // - **normal**: indicates that the DDoS attack event ends. // // example: // // normal DdosStatus *string `json:"DdosStatus,omitempty" xml:"DdosStatus,omitempty"` // The type of the DDoS attack event. Valid values: // // - **defense**: an attack event that triggers traffic scrubbing // // - **blackhole**: an attack event that triggers blackhole filtering // // example: // // blackhole DdosType *string `json:"DdosType,omitempty" xml:"DdosType,omitempty"` // The time of the last attack. The value is a UNIX timestamp. Unit: milliseconds. // // > This parameter is returned only when the asset is attacked multiple times within a DDoS attack event. // // example: // // 1637817679000 DelayTime *int64 `json:"DelayTime,omitempty" xml:"DelayTime,omitempty"` // The end time of the DDoS attack event. The value is a UNIX timestamp. Unit: milliseconds. // // example: // // 1637817679000 EndTime *int64 `json:"EndTime,omitempty" xml:"EndTime,omitempty"` // The start time of the DDoS attack event. The value is a UNIX timestamp. Unit: milliseconds. // // example: // // 1637812279000 StartTime *int64 `json:"StartTime,omitempty" xml:"StartTime,omitempty"` // The time when blackhole filtering is deactivated. The value is a UNIX timestamp. Unit: milliseconds. // // > This parameter is returned only when the value of the **DdosType* - parameter is **blackhole**. // // example: // // 1637814079000 UnBlackholeTime *int64 `json:"UnBlackholeTime,omitempty" xml:"UnBlackholeTime,omitempty"` }
func (DescribeDdosEventListResponseBodyDdosEventListDdosEvent) GoString ¶
func (s DescribeDdosEventListResponseBodyDdosEventListDdosEvent) GoString() string
func (*DescribeDdosEventListResponseBodyDdosEventListDdosEvent) SetDdosStatus ¶
func (s *DescribeDdosEventListResponseBodyDdosEventListDdosEvent) SetDdosStatus(v string) *DescribeDdosEventListResponseBodyDdosEventListDdosEvent
func (*DescribeDdosEventListResponseBodyDdosEventListDdosEvent) SetDdosType ¶
func (*DescribeDdosEventListResponseBodyDdosEventListDdosEvent) SetDelayTime ¶
func (s *DescribeDdosEventListResponseBodyDdosEventListDdosEvent) SetDelayTime(v int64) *DescribeDdosEventListResponseBodyDdosEventListDdosEvent
func (*DescribeDdosEventListResponseBodyDdosEventListDdosEvent) SetEndTime ¶
func (*DescribeDdosEventListResponseBodyDdosEventListDdosEvent) SetStartTime ¶
func (s *DescribeDdosEventListResponseBodyDdosEventListDdosEvent) SetStartTime(v int64) *DescribeDdosEventListResponseBodyDdosEventListDdosEvent
func (*DescribeDdosEventListResponseBodyDdosEventListDdosEvent) SetUnBlackholeTime ¶
func (s *DescribeDdosEventListResponseBodyDdosEventListDdosEvent) SetUnBlackholeTime(v int64) *DescribeDdosEventListResponseBodyDdosEventListDdosEvent
func (DescribeDdosEventListResponseBodyDdosEventListDdosEvent) String ¶
func (s DescribeDdosEventListResponseBodyDdosEventListDdosEvent) String() string
type DescribeDdosThresholdRequest ¶
type DescribeDdosThresholdRequest struct { // The region ID of the asset. // // > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/353250.html) operation to query the most recent region list. // // This parameter is required. // // example: // // cn-hangzhou DdosRegionId *string `json:"DdosRegionId,omitempty" xml:"DdosRegionId,omitempty"` // The type of the threshold. Valid values: // // - **defense**: traffic scrubbing threshold // // - **blackhole**: DDoS mitigation threshold // // This parameter is required. // // example: // // defense DdosType *string `json:"DdosType,omitempty" xml:"DdosType,omitempty"` // The ID of asset N to query. // // This parameter is required. InstanceIds []*string `json:"InstanceIds,omitempty" xml:"InstanceIds,omitempty" type:"Repeated"` // The type of the asset. Valid values: // // - **ecs**: ECS instance // // - **slb**: SLB instance // // - **eip**: EIP // // This parameter is required. // // example: // // ecs InstanceType *string `json:"InstanceType,omitempty" xml:"InstanceType,omitempty"` }
func (DescribeDdosThresholdRequest) GoString ¶
func (s DescribeDdosThresholdRequest) GoString() string
func (*DescribeDdosThresholdRequest) SetDdosRegionId ¶
func (s *DescribeDdosThresholdRequest) SetDdosRegionId(v string) *DescribeDdosThresholdRequest
func (*DescribeDdosThresholdRequest) SetDdosType ¶
func (s *DescribeDdosThresholdRequest) SetDdosType(v string) *DescribeDdosThresholdRequest
func (*DescribeDdosThresholdRequest) SetInstanceIds ¶
func (s *DescribeDdosThresholdRequest) SetInstanceIds(v []*string) *DescribeDdosThresholdRequest
func (*DescribeDdosThresholdRequest) SetInstanceType ¶
func (s *DescribeDdosThresholdRequest) SetInstanceType(v string) *DescribeDdosThresholdRequest
func (DescribeDdosThresholdRequest) String ¶
func (s DescribeDdosThresholdRequest) String() string
type DescribeDdosThresholdResponse ¶
type DescribeDdosThresholdResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *DescribeDdosThresholdResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (DescribeDdosThresholdResponse) GoString ¶
func (s DescribeDdosThresholdResponse) GoString() string
func (*DescribeDdosThresholdResponse) SetBody ¶
func (s *DescribeDdosThresholdResponse) SetBody(v *DescribeDdosThresholdResponseBody) *DescribeDdosThresholdResponse
func (*DescribeDdosThresholdResponse) SetHeaders ¶
func (s *DescribeDdosThresholdResponse) SetHeaders(v map[string]*string) *DescribeDdosThresholdResponse
func (*DescribeDdosThresholdResponse) SetStatusCode ¶
func (s *DescribeDdosThresholdResponse) SetStatusCode(v int32) *DescribeDdosThresholdResponse
func (DescribeDdosThresholdResponse) String ¶
func (s DescribeDdosThresholdResponse) String() string
type DescribeDdosThresholdResponseBody ¶
type DescribeDdosThresholdResponseBody struct { // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // E9B3C090-55AD-59C6-979E-FCFD81E7D9E7 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // An array that consists of the details of the threshold. Thresholds *DescribeDdosThresholdResponseBodyThresholds `json:"Thresholds,omitempty" xml:"Thresholds,omitempty" type:"Struct"` }
func (DescribeDdosThresholdResponseBody) GoString ¶
func (s DescribeDdosThresholdResponseBody) GoString() string
func (*DescribeDdosThresholdResponseBody) SetRequestId ¶
func (s *DescribeDdosThresholdResponseBody) SetRequestId(v string) *DescribeDdosThresholdResponseBody
func (*DescribeDdosThresholdResponseBody) SetThresholds ¶
func (s *DescribeDdosThresholdResponseBody) SetThresholds(v *DescribeDdosThresholdResponseBodyThresholds) *DescribeDdosThresholdResponseBody
func (DescribeDdosThresholdResponseBody) String ¶
func (s DescribeDdosThresholdResponseBody) String() string
type DescribeDdosThresholdResponseBodyThresholds ¶
type DescribeDdosThresholdResponseBodyThresholds struct {
Threshold []*DescribeDdosThresholdResponseBodyThresholdsThreshold `json:"Threshold,omitempty" xml:"Threshold,omitempty" type:"Repeated"`
}
func (DescribeDdosThresholdResponseBodyThresholds) GoString ¶
func (s DescribeDdosThresholdResponseBodyThresholds) GoString() string
func (*DescribeDdosThresholdResponseBodyThresholds) SetThreshold ¶
func (DescribeDdosThresholdResponseBodyThresholds) String ¶
func (s DescribeDdosThresholdResponseBodyThresholds) String() string
type DescribeDdosThresholdResponseBodyThresholdsThreshold ¶
type DescribeDdosThresholdResponseBodyThresholdsThreshold struct { // If the value of the **DdosType* - parameter is **defense**, the Bps parameter indicates the current traffic scrubbing threshold. Unit: Mbit/s. // // If the value of the **DdosType* - parameter is **blackhole**, the Bps parameter indicates the basic protection threshold. Unit: Mbit/s. // // example: // // 500 Bps *int32 `json:"Bps,omitempty" xml:"Bps,omitempty"` // The type of the threshold. Valid values: // // - **defense**: traffic scrubbing threshold // // - **blackhole**: DDoS mitigation threshold // // example: // // defense DdosType *string `json:"DdosType,omitempty" xml:"DdosType,omitempty"` // The burstable protection threshold (the maximum DDoS mitigation threshold). Unit: Mbit/s. // // > This parameter is returned only when the value of the **DdosType* - parameter is **blackhole**. // // example: // // 12310 ElasticBps *int32 `json:"ElasticBps,omitempty" xml:"ElasticBps,omitempty"` // The ID of the instance. // // example: // // i-bp10bclrt56fblts**** InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"` // The IP address of the asset. // // example: // // 192.0.XX.XX InternetIp *string `json:"InternetIp,omitempty" xml:"InternetIp,omitempty"` // Indicates whether the threshold is automatically adjusted. Valid values: // // - **true**: The scrubbing thresholds are automatically adjusted based on the traffic load on the asset. // // - **false**: The scrubbing thresholds are not automatically adjusted. You must manually specify the scrubbing thresholds. // // example: // // false IsAuto *bool `json:"IsAuto,omitempty" xml:"IsAuto,omitempty"` // The maximum traffic scrubbing threshold. Unit: Mbit/s. // // example: // // 1024 MaxBps *int32 `json:"MaxBps,omitempty" xml:"MaxBps,omitempty"` // The maximum packet scrubbing threshold. Unit: pps. // // example: // // 150000 MaxPps *int32 `json:"MaxPps,omitempty" xml:"MaxPps,omitempty"` // The packet scrubbing threshold. Unit: pps. // // > This parameter is returned only when the value of the **DdosType* - parameter is **defense**. // // example: // // 150000 Pps *int32 `json:"Pps,omitempty" xml:"Pps,omitempty"` }
func (DescribeDdosThresholdResponseBodyThresholdsThreshold) GoString ¶
func (s DescribeDdosThresholdResponseBodyThresholdsThreshold) GoString() string
func (*DescribeDdosThresholdResponseBodyThresholdsThreshold) SetDdosType ¶
func (s *DescribeDdosThresholdResponseBodyThresholdsThreshold) SetDdosType(v string) *DescribeDdosThresholdResponseBodyThresholdsThreshold
func (*DescribeDdosThresholdResponseBodyThresholdsThreshold) SetElasticBps ¶
func (s *DescribeDdosThresholdResponseBodyThresholdsThreshold) SetElasticBps(v int32) *DescribeDdosThresholdResponseBodyThresholdsThreshold
func (*DescribeDdosThresholdResponseBodyThresholdsThreshold) SetInstanceId ¶
func (s *DescribeDdosThresholdResponseBodyThresholdsThreshold) SetInstanceId(v string) *DescribeDdosThresholdResponseBodyThresholdsThreshold
func (*DescribeDdosThresholdResponseBodyThresholdsThreshold) SetInternetIp ¶
func (s *DescribeDdosThresholdResponseBodyThresholdsThreshold) SetInternetIp(v string) *DescribeDdosThresholdResponseBodyThresholdsThreshold
func (DescribeDdosThresholdResponseBodyThresholdsThreshold) String ¶
func (s DescribeDdosThresholdResponseBodyThresholdsThreshold) String() string
type DescribeInstanceIpAddressRequest ¶
type DescribeInstanceIpAddressRequest struct { // The number of the page to return. Default value: **1**. // // example: // // 1 CurrentPage *int32 `json:"CurrentPage,omitempty" xml:"CurrentPage,omitempty"` // The region ID of the asset. // // > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/353250.html) operation to query the most recent region list. // // This parameter is required. // // example: // // cn-hangzhou DdosRegionId *string `json:"DdosRegionId,omitempty" xml:"DdosRegionId,omitempty"` // The DDoS mitigation status of the asset. Valid values: // // - **defense**: queries assets for which traffic scrubbing is performed. // // - **blackhole**: queries assets for which blackhole filtering is triggered. // // example: // // normal DdosStatus *string `json:"DdosStatus,omitempty" xml:"DdosStatus,omitempty"` // The ID of the instance to which the asset is added. // // example: // // i-bp1cb6x80tfgocid**** InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"` // The IP address of the asset. // // example: // // 192.0.XX.XX InstanceIp *string `json:"InstanceIp,omitempty" xml:"InstanceIp,omitempty"` // The name of the asset. // // example: // // launch-advisor-2021**** InstanceName *string `json:"InstanceName,omitempty" xml:"InstanceName,omitempty"` // The type of the asset. Valid values: // // - **ecs**: ECS instance // // - **slb**: SLB instance // // - **eip**: EIP // // This parameter is required. // // example: // // ecs InstanceType *string `json:"InstanceType,omitempty" xml:"InstanceType,omitempty"` // The number of entries to return on each page. Default value: **10**. // // example: // // 10 PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"` }
func (DescribeInstanceIpAddressRequest) GoString ¶
func (s DescribeInstanceIpAddressRequest) GoString() string
func (*DescribeInstanceIpAddressRequest) SetCurrentPage ¶
func (s *DescribeInstanceIpAddressRequest) SetCurrentPage(v int32) *DescribeInstanceIpAddressRequest
func (*DescribeInstanceIpAddressRequest) SetDdosRegionId ¶
func (s *DescribeInstanceIpAddressRequest) SetDdosRegionId(v string) *DescribeInstanceIpAddressRequest
func (*DescribeInstanceIpAddressRequest) SetDdosStatus ¶
func (s *DescribeInstanceIpAddressRequest) SetDdosStatus(v string) *DescribeInstanceIpAddressRequest
func (*DescribeInstanceIpAddressRequest) SetInstanceId ¶
func (s *DescribeInstanceIpAddressRequest) SetInstanceId(v string) *DescribeInstanceIpAddressRequest
func (*DescribeInstanceIpAddressRequest) SetInstanceIp ¶
func (s *DescribeInstanceIpAddressRequest) SetInstanceIp(v string) *DescribeInstanceIpAddressRequest
func (*DescribeInstanceIpAddressRequest) SetInstanceName ¶
func (s *DescribeInstanceIpAddressRequest) SetInstanceName(v string) *DescribeInstanceIpAddressRequest
func (*DescribeInstanceIpAddressRequest) SetInstanceType ¶
func (s *DescribeInstanceIpAddressRequest) SetInstanceType(v string) *DescribeInstanceIpAddressRequest
func (*DescribeInstanceIpAddressRequest) SetPageSize ¶
func (s *DescribeInstanceIpAddressRequest) SetPageSize(v int32) *DescribeInstanceIpAddressRequest
func (DescribeInstanceIpAddressRequest) String ¶
func (s DescribeInstanceIpAddressRequest) String() string
type DescribeInstanceIpAddressResponse ¶
type DescribeInstanceIpAddressResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *DescribeInstanceIpAddressResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (DescribeInstanceIpAddressResponse) GoString ¶
func (s DescribeInstanceIpAddressResponse) GoString() string
func (*DescribeInstanceIpAddressResponse) SetHeaders ¶
func (s *DescribeInstanceIpAddressResponse) SetHeaders(v map[string]*string) *DescribeInstanceIpAddressResponse
func (*DescribeInstanceIpAddressResponse) SetStatusCode ¶
func (s *DescribeInstanceIpAddressResponse) SetStatusCode(v int32) *DescribeInstanceIpAddressResponse
func (DescribeInstanceIpAddressResponse) String ¶
func (s DescribeInstanceIpAddressResponse) String() string
type DescribeInstanceIpAddressResponseBody ¶
type DescribeInstanceIpAddressResponseBody struct { // An array that consists of details of the instance. InstanceList []*DescribeInstanceIpAddressResponseBodyInstanceList `json:"InstanceList,omitempty" xml:"InstanceList,omitempty" type:"Repeated"` // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // BC0907F8-A9F3-5E11-977B-D59CD98C64ED RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // The total number of the assets. // // example: // // 1 Total *int32 `json:"Total,omitempty" xml:"Total,omitempty"` }
func (DescribeInstanceIpAddressResponseBody) GoString ¶
func (s DescribeInstanceIpAddressResponseBody) GoString() string
func (*DescribeInstanceIpAddressResponseBody) SetInstanceList ¶
func (s *DescribeInstanceIpAddressResponseBody) SetInstanceList(v []*DescribeInstanceIpAddressResponseBodyInstanceList) *DescribeInstanceIpAddressResponseBody
func (*DescribeInstanceIpAddressResponseBody) SetRequestId ¶
func (s *DescribeInstanceIpAddressResponseBody) SetRequestId(v string) *DescribeInstanceIpAddressResponseBody
func (*DescribeInstanceIpAddressResponseBody) SetTotal ¶
func (s *DescribeInstanceIpAddressResponseBody) SetTotal(v int32) *DescribeInstanceIpAddressResponseBody
func (DescribeInstanceIpAddressResponseBody) String ¶
func (s DescribeInstanceIpAddressResponseBody) String() string
type DescribeInstanceIpAddressResponseBodyInstanceList ¶
type DescribeInstanceIpAddressResponseBodyInstanceList struct { // The ID of the instance. // // example: // // i-bp1cb6x80tfgocid**** InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"` // The name of the instance. // // example: // // launch-advisor-2021**** InstanceName *string `json:"InstanceName,omitempty" xml:"InstanceName,omitempty"` // The DDoS mitigation status of the instance. Valid values: // // - **normal**: normal // // - **abnormal**: under DDoS attacks // // example: // // normal InstanceStatus *string `json:"InstanceStatus,omitempty" xml:"InstanceStatus,omitempty"` // The type of the asset. Valid values: // // - **ecs**: ECS instance // // - **slb**: SLB instance // // - **eip**: EIP // // example: // // ecs InstanceType *string `json:"InstanceType,omitempty" xml:"InstanceType,omitempty"` // An array that consists of the details of the asset. IpAddressConfig []*DescribeInstanceIpAddressResponseBodyInstanceListIpAddressConfig `json:"IpAddressConfig,omitempty" xml:"IpAddressConfig,omitempty" type:"Repeated"` }
func (DescribeInstanceIpAddressResponseBodyInstanceList) GoString ¶
func (s DescribeInstanceIpAddressResponseBodyInstanceList) GoString() string
func (*DescribeInstanceIpAddressResponseBodyInstanceList) SetInstanceId ¶
func (s *DescribeInstanceIpAddressResponseBodyInstanceList) SetInstanceId(v string) *DescribeInstanceIpAddressResponseBodyInstanceList
func (*DescribeInstanceIpAddressResponseBodyInstanceList) SetInstanceName ¶
func (s *DescribeInstanceIpAddressResponseBodyInstanceList) SetInstanceName(v string) *DescribeInstanceIpAddressResponseBodyInstanceList
func (*DescribeInstanceIpAddressResponseBodyInstanceList) SetInstanceStatus ¶
func (s *DescribeInstanceIpAddressResponseBodyInstanceList) SetInstanceStatus(v string) *DescribeInstanceIpAddressResponseBodyInstanceList
func (*DescribeInstanceIpAddressResponseBodyInstanceList) SetInstanceType ¶
func (s *DescribeInstanceIpAddressResponseBodyInstanceList) SetInstanceType(v string) *DescribeInstanceIpAddressResponseBodyInstanceList
func (*DescribeInstanceIpAddressResponseBodyInstanceList) SetIpAddressConfig ¶
func (DescribeInstanceIpAddressResponseBodyInstanceList) String ¶
func (s DescribeInstanceIpAddressResponseBodyInstanceList) String() string
type DescribeInstanceIpAddressResponseBodyInstanceListIpAddressConfig ¶
type DescribeInstanceIpAddressResponseBodyInstanceListIpAddressConfig struct { // The basic protection threshold for the asset. Unit: Mbit/s. // // example: // // 5200 BlackholeThreshold *int32 `json:"BlackholeThreshold,omitempty" xml:"BlackholeThreshold,omitempty"` // The traffic scrubbing threshold for the asset. Unit: Mbit/s. // // example: // // 300 DefenseBpsThreshold *int32 `json:"DefenseBpsThreshold,omitempty" xml:"DefenseBpsThreshold,omitempty"` // The packet scrubbing threshold for the asset. Unit: packets per second (pps). // // example: // // 70000 DefensePpsThreshold *int32 `json:"DefensePpsThreshold,omitempty" xml:"DefensePpsThreshold,omitempty"` // The burstable protection threshold for the asset. Unit: Mbit/s. // // example: // // 12310 ElasticThreshold *int32 `json:"ElasticThreshold,omitempty" xml:"ElasticThreshold,omitempty"` // The IP address of the asset. // // example: // // 192.0.XX.XX InstanceIp *string `json:"InstanceIp,omitempty" xml:"InstanceIp,omitempty"` // The DDoS mitigation status of the asset. Valid values: // // - **defense**: indicates that traffic scrubbing is performed on the asset. // // - **blackhole**: indicates that blackhole filtering is triggered for the asset. // // - **normal**: indicates that no DDoS attacks are launched against the asset. // // example: // // normal IpStatus *string `json:"IpStatus,omitempty" xml:"IpStatus,omitempty"` // The IP protocol that is supported by the asset. Valid values: // // - **v4**: IPv4 // // - **v6**: IPv6 // // example: // // v4 IpVersion *string `json:"IpVersion,omitempty" xml:"IpVersion,omitempty"` // Indicates whether the asset is added to the instance. Valid values: // // - **true**: yes // // - **false**: no // // example: // // true IsBgppack *bool `json:"IsBgppack,omitempty" xml:"IsBgppack,omitempty"` IsFullProtection *int32 `json:"IsFullProtection,omitempty" xml:"IsFullProtection,omitempty"` // The region code of the asset. // // example: // // cn-hangzhou-dg-a01 RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"` }
func (DescribeInstanceIpAddressResponseBodyInstanceListIpAddressConfig) GoString ¶
func (s DescribeInstanceIpAddressResponseBodyInstanceListIpAddressConfig) GoString() string
func (*DescribeInstanceIpAddressResponseBodyInstanceListIpAddressConfig) SetBlackholeThreshold ¶
func (s *DescribeInstanceIpAddressResponseBodyInstanceListIpAddressConfig) SetBlackholeThreshold(v int32) *DescribeInstanceIpAddressResponseBodyInstanceListIpAddressConfig
func (*DescribeInstanceIpAddressResponseBodyInstanceListIpAddressConfig) SetDefenseBpsThreshold ¶
func (s *DescribeInstanceIpAddressResponseBodyInstanceListIpAddressConfig) SetDefenseBpsThreshold(v int32) *DescribeInstanceIpAddressResponseBodyInstanceListIpAddressConfig
func (*DescribeInstanceIpAddressResponseBodyInstanceListIpAddressConfig) SetDefensePpsThreshold ¶
func (s *DescribeInstanceIpAddressResponseBodyInstanceListIpAddressConfig) SetDefensePpsThreshold(v int32) *DescribeInstanceIpAddressResponseBodyInstanceListIpAddressConfig
func (*DescribeInstanceIpAddressResponseBodyInstanceListIpAddressConfig) SetElasticThreshold ¶
func (s *DescribeInstanceIpAddressResponseBodyInstanceListIpAddressConfig) SetElasticThreshold(v int32) *DescribeInstanceIpAddressResponseBodyInstanceListIpAddressConfig
func (*DescribeInstanceIpAddressResponseBodyInstanceListIpAddressConfig) SetInstanceIp ¶
func (*DescribeInstanceIpAddressResponseBodyInstanceListIpAddressConfig) SetIpStatus ¶
func (*DescribeInstanceIpAddressResponseBodyInstanceListIpAddressConfig) SetIpVersion ¶
func (*DescribeInstanceIpAddressResponseBodyInstanceListIpAddressConfig) SetIsBgppack ¶
func (*DescribeInstanceIpAddressResponseBodyInstanceListIpAddressConfig) SetIsFullProtection ¶
func (s *DescribeInstanceIpAddressResponseBodyInstanceListIpAddressConfig) SetIsFullProtection(v int32) *DescribeInstanceIpAddressResponseBodyInstanceListIpAddressConfig
func (*DescribeInstanceIpAddressResponseBodyInstanceListIpAddressConfig) SetRegionId ¶
func (DescribeInstanceIpAddressResponseBodyInstanceListIpAddressConfig) String ¶
func (s DescribeInstanceIpAddressResponseBodyInstanceListIpAddressConfig) String() string
type DescribeInstanceRequest ¶
type DescribeInstanceRequest struct { // The number of the page to return. Default value: **1**. // // example: // // 1 CurrentPage *int32 `json:"CurrentPage,omitempty" xml:"CurrentPage,omitempty"` // The region ID of the asset. // // > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/353250.html) operation to query the most recent region list. // // This parameter is required. // // example: // // cn-hangzhou DdosRegionId *string `json:"DdosRegionId,omitempty" xml:"DdosRegionId,omitempty"` // The DDoS mitigation status of the asset. Valid values: // // - **mitigating**: queries assets for which traffic scrubbing is triggered. // // - **blackholed**: queries assets for which blackhole filtering is triggered. // // - **normal**: queries assets that are not under DDoS attacks. // // example: // // blackholed DdosStatus *string `json:"DdosStatus,omitempty" xml:"DdosStatus,omitempty"` // The ID of the asset. The formats of asset IDs vary based on the value of the **InstanceType**. parameter. // // - If you set **InstanceType* - to **ecs**, specify the ID of the ECS instance. For example, you can specify i-bp1cb6x80tfgocid\\*\\*\\*\\*. // // - If you set **InstanceType* - to **slb**, specify the ID of the SLB instance. For example, you can specify alb-vn2dqg3v31y2vd\\*\\*\\*\\*. // // - If you set **InstanceType* - to **eip**, specify the ID of the EIP. For example, you can specify eip-j6ce6dcx9epi7rs46\\*\\*\\*\\*. // // example: // // i-bp1cb6x80tfgocid**** InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"` // The IP address of the asset. // // example: // // 121.199.XX.XX InstanceIp *string `json:"InstanceIp,omitempty" xml:"InstanceIp,omitempty"` // The name of the asset. // // example: // // launch-advisor-2022**** InstanceName *string `json:"InstanceName,omitempty" xml:"InstanceName,omitempty"` // The type of the asset. Valid values: // // - **ecs**: ECS instance // // - **slb**: SLB instance // // - **eip**: EIP // // This parameter is required. // // example: // // ecs InstanceType *string `json:"InstanceType,omitempty" xml:"InstanceType,omitempty"` // The number of entries to return on each page. Default value: **10**. // // example: // // 10 PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"` }
func (DescribeInstanceRequest) GoString ¶
func (s DescribeInstanceRequest) GoString() string
func (*DescribeInstanceRequest) SetCurrentPage ¶
func (s *DescribeInstanceRequest) SetCurrentPage(v int32) *DescribeInstanceRequest
func (*DescribeInstanceRequest) SetDdosRegionId ¶
func (s *DescribeInstanceRequest) SetDdosRegionId(v string) *DescribeInstanceRequest
func (*DescribeInstanceRequest) SetDdosStatus ¶
func (s *DescribeInstanceRequest) SetDdosStatus(v string) *DescribeInstanceRequest
func (*DescribeInstanceRequest) SetInstanceId ¶
func (s *DescribeInstanceRequest) SetInstanceId(v string) *DescribeInstanceRequest
func (*DescribeInstanceRequest) SetInstanceIp ¶
func (s *DescribeInstanceRequest) SetInstanceIp(v string) *DescribeInstanceRequest
func (*DescribeInstanceRequest) SetInstanceName ¶
func (s *DescribeInstanceRequest) SetInstanceName(v string) *DescribeInstanceRequest
func (*DescribeInstanceRequest) SetInstanceType ¶
func (s *DescribeInstanceRequest) SetInstanceType(v string) *DescribeInstanceRequest
func (*DescribeInstanceRequest) SetPageSize ¶
func (s *DescribeInstanceRequest) SetPageSize(v int32) *DescribeInstanceRequest
func (DescribeInstanceRequest) String ¶
func (s DescribeInstanceRequest) String() string
type DescribeInstanceResponse ¶
type DescribeInstanceResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *DescribeInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (DescribeInstanceResponse) GoString ¶
func (s DescribeInstanceResponse) GoString() string
func (*DescribeInstanceResponse) SetBody ¶
func (s *DescribeInstanceResponse) SetBody(v *DescribeInstanceResponseBody) *DescribeInstanceResponse
func (*DescribeInstanceResponse) SetHeaders ¶
func (s *DescribeInstanceResponse) SetHeaders(v map[string]*string) *DescribeInstanceResponse
func (*DescribeInstanceResponse) SetStatusCode ¶
func (s *DescribeInstanceResponse) SetStatusCode(v int32) *DescribeInstanceResponse
func (DescribeInstanceResponse) String ¶
func (s DescribeInstanceResponse) String() string
type DescribeInstanceResponseBody ¶
type DescribeInstanceResponseBody struct { // An array that consists of the details of the asset. InstanceList *DescribeInstanceResponseBodyInstanceList `json:"InstanceList,omitempty" xml:"InstanceList,omitempty" type:"Struct"` // The ID of the request. // // example: // // C728D7E9-9A39-52E0-966B-5C33118BDBB0 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // The total number of the assets. // // example: // // 1 Total *int32 `json:"Total,omitempty" xml:"Total,omitempty"` }
func (DescribeInstanceResponseBody) GoString ¶
func (s DescribeInstanceResponseBody) GoString() string
func (*DescribeInstanceResponseBody) SetInstanceList ¶
func (s *DescribeInstanceResponseBody) SetInstanceList(v *DescribeInstanceResponseBodyInstanceList) *DescribeInstanceResponseBody
func (*DescribeInstanceResponseBody) SetRequestId ¶
func (s *DescribeInstanceResponseBody) SetRequestId(v string) *DescribeInstanceResponseBody
func (*DescribeInstanceResponseBody) SetTotal ¶
func (s *DescribeInstanceResponseBody) SetTotal(v int32) *DescribeInstanceResponseBody
func (DescribeInstanceResponseBody) String ¶
func (s DescribeInstanceResponseBody) String() string
type DescribeInstanceResponseBodyInstanceList ¶
type DescribeInstanceResponseBodyInstanceList struct {
Instance []*DescribeInstanceResponseBodyInstanceListInstance `json:"Instance,omitempty" xml:"Instance,omitempty" type:"Repeated"`
}
func (DescribeInstanceResponseBodyInstanceList) GoString ¶
func (s DescribeInstanceResponseBodyInstanceList) GoString() string
func (*DescribeInstanceResponseBodyInstanceList) SetInstance ¶
func (DescribeInstanceResponseBodyInstanceList) String ¶
func (s DescribeInstanceResponseBodyInstanceList) String() string
type DescribeInstanceResponseBodyInstanceListInstance ¶
type DescribeInstanceResponseBodyInstanceListInstance struct { // The basic protection threshold for the asset. Unit: Mbit/s. // // example: // // 5200 BlackholeThreshold *int32 `json:"BlackholeThreshold,omitempty" xml:"BlackholeThreshold,omitempty"` // The traffic scrubbing threshold for the asset. Unit: Mbit/s. // // example: // // 300 DefenseBpsThreshold *int32 `json:"DefenseBpsThreshold,omitempty" xml:"DefenseBpsThreshold,omitempty"` // The packet scrubbing threshold for the asset. Unit: packets per second (pps). // // example: // // 70000 DefensePpsThreshold *int32 `json:"DefensePpsThreshold,omitempty" xml:"DefensePpsThreshold,omitempty"` // The burstable protection threshold for the asset. Unit: Mbit/s. // // example: // // 12310 ElasticThreshold *int32 `json:"ElasticThreshold,omitempty" xml:"ElasticThreshold,omitempty"` // The ID of the asset. // // example: // // i-bp1cb6x80tfgocid**** InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"` // The IP address of the asset. // // example: // // 121.199.XX.XX InstanceIp *string `json:"InstanceIp,omitempty" xml:"InstanceIp,omitempty"` // The name of the asset. // // example: // // launch-advisor-2021**** InstanceName *string `json:"InstanceName,omitempty" xml:"InstanceName,omitempty"` // The DDoS mitigation status of the asset. Valid values: // // - **mitigating**: indicates that traffic scrubbing is triggered for the asset. // // - **blackholed**: indicates that blackhole filtering is triggered for the asset. // // - **normal**: indicates that the instance is normal. // // example: // // normal InstanceStatus *string `json:"InstanceStatus,omitempty" xml:"InstanceStatus,omitempty"` // The type of the asset. Valid values: // // - **ecs**: ECS instance // // - **slb**: SLB instance // // - **eip**: EIP // // example: // // ecs InstanceType *string `json:"InstanceType,omitempty" xml:"InstanceType,omitempty"` // The IP protocol that is supported by the asset. Valid values: // // - **v4**: IPv4 // // - **v6**: IPv6 // // example: // // v4 IpVersion *string `json:"IpVersion,omitempty" xml:"IpVersion,omitempty"` // Indicates whether the asset is associated with an Anti-DDoS Origin Basic instance. Valid values: // // - **true**: yes // // - **false**: no // // example: // // false IsBgppack *bool `json:"IsBgppack,omitempty" xml:"IsBgppack,omitempty"` }
func (DescribeInstanceResponseBodyInstanceListInstance) GoString ¶
func (s DescribeInstanceResponseBodyInstanceListInstance) GoString() string
func (*DescribeInstanceResponseBodyInstanceListInstance) SetBlackholeThreshold ¶
func (s *DescribeInstanceResponseBodyInstanceListInstance) SetBlackholeThreshold(v int32) *DescribeInstanceResponseBodyInstanceListInstance
func (*DescribeInstanceResponseBodyInstanceListInstance) SetDefenseBpsThreshold ¶
func (s *DescribeInstanceResponseBodyInstanceListInstance) SetDefenseBpsThreshold(v int32) *DescribeInstanceResponseBodyInstanceListInstance
func (*DescribeInstanceResponseBodyInstanceListInstance) SetDefensePpsThreshold ¶
func (s *DescribeInstanceResponseBodyInstanceListInstance) SetDefensePpsThreshold(v int32) *DescribeInstanceResponseBodyInstanceListInstance
func (*DescribeInstanceResponseBodyInstanceListInstance) SetElasticThreshold ¶
func (s *DescribeInstanceResponseBodyInstanceListInstance) SetElasticThreshold(v int32) *DescribeInstanceResponseBodyInstanceListInstance
func (*DescribeInstanceResponseBodyInstanceListInstance) SetInstanceId ¶
func (s *DescribeInstanceResponseBodyInstanceListInstance) SetInstanceId(v string) *DescribeInstanceResponseBodyInstanceListInstance
func (*DescribeInstanceResponseBodyInstanceListInstance) SetInstanceIp ¶
func (s *DescribeInstanceResponseBodyInstanceListInstance) SetInstanceIp(v string) *DescribeInstanceResponseBodyInstanceListInstance
func (*DescribeInstanceResponseBodyInstanceListInstance) SetInstanceName ¶
func (s *DescribeInstanceResponseBodyInstanceListInstance) SetInstanceName(v string) *DescribeInstanceResponseBodyInstanceListInstance
func (*DescribeInstanceResponseBodyInstanceListInstance) SetInstanceStatus ¶
func (s *DescribeInstanceResponseBodyInstanceListInstance) SetInstanceStatus(v string) *DescribeInstanceResponseBodyInstanceListInstance
func (*DescribeInstanceResponseBodyInstanceListInstance) SetInstanceType ¶
func (s *DescribeInstanceResponseBodyInstanceListInstance) SetInstanceType(v string) *DescribeInstanceResponseBodyInstanceListInstance
func (*DescribeInstanceResponseBodyInstanceListInstance) SetIpVersion ¶
func (s *DescribeInstanceResponseBodyInstanceListInstance) SetIpVersion(v string) *DescribeInstanceResponseBodyInstanceListInstance
func (*DescribeInstanceResponseBodyInstanceListInstance) SetIsBgppack ¶
func (s *DescribeInstanceResponseBodyInstanceListInstance) SetIsBgppack(v bool) *DescribeInstanceResponseBodyInstanceListInstance
func (DescribeInstanceResponseBodyInstanceListInstance) String ¶
func (s DescribeInstanceResponseBodyInstanceListInstance) String() string
type DescribeIpDdosThresholdRequest ¶
type DescribeIpDdosThresholdRequest struct { // The region ID of the asset. // // > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/353250.html) operation to query the most recent region list. // // This parameter is required. // // example: // // cn-hangzhou DdosRegionId *string `json:"DdosRegionId,omitempty" xml:"DdosRegionId,omitempty"` // The type of the threshold. Valid values: // // - **defense**: traffic scrubbing threshold // // - **blackhole**: DDoS mitigation threshold // // This parameter is required. // // example: // // defense DdosType *string `json:"DdosType,omitempty" xml:"DdosType,omitempty"` // The ID of the asset. // // > You can call the [DescribeInstanceIpAddress](https://help.aliyun.com/document_detail/429562.html) operation to query the IDs of ECS instances, SLB instances, and EIPs within the current Alibaba Cloud account. // // This parameter is required. // // example: // // i-bp1i88rqjza51s**** InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"` // The type of the asset. Valid values: // // - **ecs**: ECS instance // // - **slb**: SLB instance // // - **eip**: EIP // // This parameter is required. // // example: // // ecs InstanceType *string `json:"InstanceType,omitempty" xml:"InstanceType,omitempty"` // The IP address of the asset. // // This parameter is required. // // example: // // 192.0.XX.XX InternetIp *string `json:"InternetIp,omitempty" xml:"InternetIp,omitempty"` }
func (DescribeIpDdosThresholdRequest) GoString ¶
func (s DescribeIpDdosThresholdRequest) GoString() string
func (*DescribeIpDdosThresholdRequest) SetDdosRegionId ¶
func (s *DescribeIpDdosThresholdRequest) SetDdosRegionId(v string) *DescribeIpDdosThresholdRequest
func (*DescribeIpDdosThresholdRequest) SetDdosType ¶
func (s *DescribeIpDdosThresholdRequest) SetDdosType(v string) *DescribeIpDdosThresholdRequest
func (*DescribeIpDdosThresholdRequest) SetInstanceId ¶
func (s *DescribeIpDdosThresholdRequest) SetInstanceId(v string) *DescribeIpDdosThresholdRequest
func (*DescribeIpDdosThresholdRequest) SetInstanceType ¶
func (s *DescribeIpDdosThresholdRequest) SetInstanceType(v string) *DescribeIpDdosThresholdRequest
func (*DescribeIpDdosThresholdRequest) SetInternetIp ¶
func (s *DescribeIpDdosThresholdRequest) SetInternetIp(v string) *DescribeIpDdosThresholdRequest
func (DescribeIpDdosThresholdRequest) String ¶
func (s DescribeIpDdosThresholdRequest) String() string
type DescribeIpDdosThresholdResponse ¶
type DescribeIpDdosThresholdResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *DescribeIpDdosThresholdResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (DescribeIpDdosThresholdResponse) GoString ¶
func (s DescribeIpDdosThresholdResponse) GoString() string
func (*DescribeIpDdosThresholdResponse) SetBody ¶
func (s *DescribeIpDdosThresholdResponse) SetBody(v *DescribeIpDdosThresholdResponseBody) *DescribeIpDdosThresholdResponse
func (*DescribeIpDdosThresholdResponse) SetHeaders ¶
func (s *DescribeIpDdosThresholdResponse) SetHeaders(v map[string]*string) *DescribeIpDdosThresholdResponse
func (*DescribeIpDdosThresholdResponse) SetStatusCode ¶
func (s *DescribeIpDdosThresholdResponse) SetStatusCode(v int32) *DescribeIpDdosThresholdResponse
func (DescribeIpDdosThresholdResponse) String ¶
func (s DescribeIpDdosThresholdResponse) String() string
type DescribeIpDdosThresholdResponseBody ¶
type DescribeIpDdosThresholdResponseBody struct { // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // 025F1688-680B-551A-9A8E-1A0D796315CF RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // An array that consists of the details of the threshold. Threshold *DescribeIpDdosThresholdResponseBodyThreshold `json:"Threshold,omitempty" xml:"Threshold,omitempty" type:"Struct"` }
func (DescribeIpDdosThresholdResponseBody) GoString ¶
func (s DescribeIpDdosThresholdResponseBody) GoString() string
func (*DescribeIpDdosThresholdResponseBody) SetRequestId ¶
func (s *DescribeIpDdosThresholdResponseBody) SetRequestId(v string) *DescribeIpDdosThresholdResponseBody
func (*DescribeIpDdosThresholdResponseBody) SetThreshold ¶
func (s *DescribeIpDdosThresholdResponseBody) SetThreshold(v *DescribeIpDdosThresholdResponseBodyThreshold) *DescribeIpDdosThresholdResponseBody
func (DescribeIpDdosThresholdResponseBody) String ¶
func (s DescribeIpDdosThresholdResponseBody) String() string
type DescribeIpDdosThresholdResponseBodyThreshold ¶
type DescribeIpDdosThresholdResponseBodyThreshold struct { // If the value of the **DdosType* - parameter is **defense**, the Bps parameter indicates the current traffic scrubbing threshold. Unit: Mbit/s. // // If the value of the **DdosType* - parameter is **blackhole**, the Bps parameter indicates the basic protection threshold. Unit: Mbit/s. // // example: // // 7500 Bps *int32 `json:"Bps,omitempty" xml:"Bps,omitempty"` // The type of the threshold. Valid values: // // - **defense**: traffic scrubbing threshold // // - **blackhole**: DDoS mitigation threshold // // example: // // defense DdosType *string `json:"DdosType,omitempty" xml:"DdosType,omitempty"` // The burstable protection threshold (the maximum DDoS mitigation threshold). Unit: Mbit/s. // // > This parameter is returned only when the value of the **DdosType* - parameter is **blackhole**. // // example: // // 12310 ElasticBps *int32 `json:"ElasticBps,omitempty" xml:"ElasticBps,omitempty"` // The ID of the instance. // // example: // // i-bp1i88rqjza51s**** InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"` // The IP address of the asset. // // example: // // 192.0.XX.XX InternetIp *string `json:"InternetIp,omitempty" xml:"InternetIp,omitempty"` // Indicates whether the threshold is automatically adjusted. Valid values: // // - **true**: The scrubbing thresholds are automatically adjusted based on the traffic load on the asset. // // - **false**: The scrubbing thresholds are not automatically adjusted. You must manually specify the scrubbing thresholds. // // example: // // false IsAuto *bool `json:"IsAuto,omitempty" xml:"IsAuto,omitempty"` // The maximum traffic scrubbing threshold. Unit: Mbit/s. // // example: // // 7500 MaxBps *int32 `json:"MaxBps,omitempty" xml:"MaxBps,omitempty"` // The maximum packet scrubbing threshold. Unit: pps. // // example: // // 5000000 MaxPps *int32 `json:"MaxPps,omitempty" xml:"MaxPps,omitempty"` // The packet scrubbing threshold. Unit: packets per second (pps). // // > This parameter is returned only when the value of the **DdosType* - parameter is **defense**. // // example: // // 5000000 Pps *int32 `json:"Pps,omitempty" xml:"Pps,omitempty"` }
func (DescribeIpDdosThresholdResponseBodyThreshold) GoString ¶
func (s DescribeIpDdosThresholdResponseBodyThreshold) GoString() string
func (*DescribeIpDdosThresholdResponseBodyThreshold) SetDdosType ¶
func (s *DescribeIpDdosThresholdResponseBodyThreshold) SetDdosType(v string) *DescribeIpDdosThresholdResponseBodyThreshold
func (*DescribeIpDdosThresholdResponseBodyThreshold) SetElasticBps ¶
func (s *DescribeIpDdosThresholdResponseBodyThreshold) SetElasticBps(v int32) *DescribeIpDdosThresholdResponseBodyThreshold
func (*DescribeIpDdosThresholdResponseBodyThreshold) SetInstanceId ¶
func (s *DescribeIpDdosThresholdResponseBodyThreshold) SetInstanceId(v string) *DescribeIpDdosThresholdResponseBodyThreshold
func (*DescribeIpDdosThresholdResponseBodyThreshold) SetInternetIp ¶
func (s *DescribeIpDdosThresholdResponseBodyThreshold) SetInternetIp(v string) *DescribeIpDdosThresholdResponseBodyThreshold
func (*DescribeIpDdosThresholdResponseBodyThreshold) SetIsAuto ¶
func (s *DescribeIpDdosThresholdResponseBodyThreshold) SetIsAuto(v bool) *DescribeIpDdosThresholdResponseBodyThreshold
func (*DescribeIpDdosThresholdResponseBodyThreshold) SetMaxBps ¶
func (s *DescribeIpDdosThresholdResponseBodyThreshold) SetMaxBps(v int32) *DescribeIpDdosThresholdResponseBodyThreshold
func (*DescribeIpDdosThresholdResponseBodyThreshold) SetMaxPps ¶
func (s *DescribeIpDdosThresholdResponseBodyThreshold) SetMaxPps(v int32) *DescribeIpDdosThresholdResponseBodyThreshold
func (DescribeIpDdosThresholdResponseBodyThreshold) String ¶
func (s DescribeIpDdosThresholdResponseBodyThreshold) String() string
type DescribeIpLocationServiceRequest ¶
type DescribeIpLocationServiceRequest struct { // The IP address of the asset to query. // // This parameter is required. // // example: // // 121.199.XX.XX InternetIp *string `json:"InternetIp,omitempty" xml:"InternetIp,omitempty"` }
func (DescribeIpLocationServiceRequest) GoString ¶
func (s DescribeIpLocationServiceRequest) GoString() string
func (*DescribeIpLocationServiceRequest) SetInternetIp ¶
func (s *DescribeIpLocationServiceRequest) SetInternetIp(v string) *DescribeIpLocationServiceRequest
func (DescribeIpLocationServiceRequest) String ¶
func (s DescribeIpLocationServiceRequest) String() string
type DescribeIpLocationServiceResponse ¶
type DescribeIpLocationServiceResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *DescribeIpLocationServiceResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (DescribeIpLocationServiceResponse) GoString ¶
func (s DescribeIpLocationServiceResponse) GoString() string
func (*DescribeIpLocationServiceResponse) SetHeaders ¶
func (s *DescribeIpLocationServiceResponse) SetHeaders(v map[string]*string) *DescribeIpLocationServiceResponse
func (*DescribeIpLocationServiceResponse) SetStatusCode ¶
func (s *DescribeIpLocationServiceResponse) SetStatusCode(v int32) *DescribeIpLocationServiceResponse
func (DescribeIpLocationServiceResponse) String ¶
func (s DescribeIpLocationServiceResponse) String() string
type DescribeIpLocationServiceResponseBody ¶
type DescribeIpLocationServiceResponseBody struct { // The details of the asset. Instance *DescribeIpLocationServiceResponseBodyInstance `json:"Instance,omitempty" xml:"Instance,omitempty" type:"Struct"` // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // C728D7E9-9A39-52E0-966B-5C33118BDBB0 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (DescribeIpLocationServiceResponseBody) GoString ¶
func (s DescribeIpLocationServiceResponseBody) GoString() string
func (*DescribeIpLocationServiceResponseBody) SetInstance ¶
func (*DescribeIpLocationServiceResponseBody) SetRequestId ¶
func (s *DescribeIpLocationServiceResponseBody) SetRequestId(v string) *DescribeIpLocationServiceResponseBody
func (DescribeIpLocationServiceResponseBody) String ¶
func (s DescribeIpLocationServiceResponseBody) String() string
type DescribeIpLocationServiceResponseBodyInstance ¶
type DescribeIpLocationServiceResponseBodyInstance struct { // The ID of the instance. // // example: // // i-bp1cb6x80tfgocid**** InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"` // The name of the instance. // // example: // // launch-advisor-2021**** InstanceName *string `json:"InstanceName,omitempty" xml:"InstanceName,omitempty"` // The type of the asset. Valid values: // // - ecs: ECS instance // // - slb: SLB instance // // - EIP: EIP // // example: // // ecs InstanceType *string `json:"InstanceType,omitempty" xml:"InstanceType,omitempty"` // The IP address of the asset. // // example: // // 121.199.XX.XX InternetIp *string `json:"InternetIp,omitempty" xml:"InternetIp,omitempty"` // The region to which the public IP address of the asset belongs. // // example: // // cn-hangzhou Region *string `json:"Region,omitempty" xml:"Region,omitempty"` }
func (DescribeIpLocationServiceResponseBodyInstance) GoString ¶
func (s DescribeIpLocationServiceResponseBodyInstance) GoString() string
func (*DescribeIpLocationServiceResponseBodyInstance) SetInstanceId ¶
func (s *DescribeIpLocationServiceResponseBodyInstance) SetInstanceId(v string) *DescribeIpLocationServiceResponseBodyInstance
func (*DescribeIpLocationServiceResponseBodyInstance) SetInstanceName ¶
func (s *DescribeIpLocationServiceResponseBodyInstance) SetInstanceName(v string) *DescribeIpLocationServiceResponseBodyInstance
func (*DescribeIpLocationServiceResponseBodyInstance) SetInstanceType ¶
func (s *DescribeIpLocationServiceResponseBodyInstance) SetInstanceType(v string) *DescribeIpLocationServiceResponseBodyInstance
func (*DescribeIpLocationServiceResponseBodyInstance) SetInternetIp ¶
func (s *DescribeIpLocationServiceResponseBodyInstance) SetInternetIp(v string) *DescribeIpLocationServiceResponseBodyInstance
func (*DescribeIpLocationServiceResponseBodyInstance) SetRegion ¶
func (s *DescribeIpLocationServiceResponseBodyInstance) SetRegion(v string) *DescribeIpLocationServiceResponseBodyInstance
func (DescribeIpLocationServiceResponseBodyInstance) String ¶
func (s DescribeIpLocationServiceResponseBodyInstance) String() string
type DescribeRegionsResponse ¶
type DescribeRegionsResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *DescribeRegionsResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (DescribeRegionsResponse) GoString ¶
func (s DescribeRegionsResponse) GoString() string
func (*DescribeRegionsResponse) SetBody ¶
func (s *DescribeRegionsResponse) SetBody(v *DescribeRegionsResponseBody) *DescribeRegionsResponse
func (*DescribeRegionsResponse) SetHeaders ¶
func (s *DescribeRegionsResponse) SetHeaders(v map[string]*string) *DescribeRegionsResponse
func (*DescribeRegionsResponse) SetStatusCode ¶
func (s *DescribeRegionsResponse) SetStatusCode(v int32) *DescribeRegionsResponse
func (DescribeRegionsResponse) String ¶
func (s DescribeRegionsResponse) String() string
type DescribeRegionsResponseBody ¶
type DescribeRegionsResponseBody struct { // An array consisting of regions in which Anti-DDoS Origin Basic is available. Regions *DescribeRegionsResponseBodyRegions `json:"Regions,omitempty" xml:"Regions,omitempty" type:"Struct"` // The ID of the request. // // example: // // 5093C7EE-8E27-5FC9-9B88-40626BA540C0 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (DescribeRegionsResponseBody) GoString ¶
func (s DescribeRegionsResponseBody) GoString() string
func (*DescribeRegionsResponseBody) SetRegions ¶
func (s *DescribeRegionsResponseBody) SetRegions(v *DescribeRegionsResponseBodyRegions) *DescribeRegionsResponseBody
func (*DescribeRegionsResponseBody) SetRequestId ¶
func (s *DescribeRegionsResponseBody) SetRequestId(v string) *DescribeRegionsResponseBody
func (DescribeRegionsResponseBody) String ¶
func (s DescribeRegionsResponseBody) String() string
type DescribeRegionsResponseBodyRegions ¶
type DescribeRegionsResponseBodyRegions struct {
Region []*DescribeRegionsResponseBodyRegionsRegion `json:"Region,omitempty" xml:"Region,omitempty" type:"Repeated"`
}
func (DescribeRegionsResponseBodyRegions) GoString ¶
func (s DescribeRegionsResponseBodyRegions) GoString() string
func (*DescribeRegionsResponseBodyRegions) SetRegion ¶
func (s *DescribeRegionsResponseBodyRegions) SetRegion(v []*DescribeRegionsResponseBodyRegionsRegion) *DescribeRegionsResponseBodyRegions
func (DescribeRegionsResponseBodyRegions) String ¶
func (s DescribeRegionsResponseBodyRegions) String() string
type DescribeRegionsResponseBodyRegionsRegion ¶
type DescribeRegionsResponseBodyRegionsRegion struct { // The English name of the region. // // example: // // East China 1 RegionEnName *string `json:"RegionEnName,omitempty" xml:"RegionEnName,omitempty"` // The Chinese name of the region. // // example: // // China (Hangzhou) RegionName *string `json:"RegionName,omitempty" xml:"RegionName,omitempty"` // The code of the region. // // example: // // cn-hangzhou-dg-a01 RegionNo *string `json:"RegionNo,omitempty" xml:"RegionNo,omitempty"` // The ID of the region. // // example: // // cn-hangzhou RegionNoAlias *string `json:"RegionNoAlias,omitempty" xml:"RegionNoAlias,omitempty"` }
func (DescribeRegionsResponseBodyRegionsRegion) GoString ¶
func (s DescribeRegionsResponseBodyRegionsRegion) GoString() string
func (*DescribeRegionsResponseBodyRegionsRegion) SetRegionEnName ¶
func (s *DescribeRegionsResponseBodyRegionsRegion) SetRegionEnName(v string) *DescribeRegionsResponseBodyRegionsRegion
func (*DescribeRegionsResponseBodyRegionsRegion) SetRegionName ¶
func (s *DescribeRegionsResponseBodyRegionsRegion) SetRegionName(v string) *DescribeRegionsResponseBodyRegionsRegion
func (*DescribeRegionsResponseBodyRegionsRegion) SetRegionNo ¶
func (s *DescribeRegionsResponseBodyRegionsRegion) SetRegionNo(v string) *DescribeRegionsResponseBodyRegionsRegion
func (*DescribeRegionsResponseBodyRegionsRegion) SetRegionNoAlias ¶
func (s *DescribeRegionsResponseBodyRegionsRegion) SetRegionNoAlias(v string) *DescribeRegionsResponseBodyRegionsRegion
func (DescribeRegionsResponseBodyRegionsRegion) String ¶
func (s DescribeRegionsResponseBodyRegionsRegion) String() string
type ModifyDefenseThresholdRequest ¶
type ModifyDefenseThresholdRequest struct { // Specifies the traffic scrubbing threshold. Unit: Mbit/s. The traffic scrubbing threshold cannot exceed the peak inbound or outbound Internet traffic, whichever is larger, of the asset. // // You can use the monitoring tool that is provided by the asset to query the Internet traffic of the asset: // // - For more information about how to query the Internet traffic of an ECS instance, see [Query monitoring information of an instance](https://help.aliyun.com/document_detail/25482.html). // // - For more information about how to query the number of packets of an SLB instance, see [View monitoring data in the console](https://help.aliyun.com/document_detail/85982.html). // // example: // // 100 Bps *int32 `json:"Bps,omitempty" xml:"Bps,omitempty"` // The region ID of the asset for which you want to change the scrubbing thresholds. // // > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/353250.html) operation to query the most recent region list. // // This parameter is required. // // example: // // cn-hangzhou DdosRegionId *string `json:"DdosRegionId,omitempty" xml:"DdosRegionId,omitempty"` // The ID of the asset. // // > You can call the [DescribeInstance](https://help.aliyun.com/document_detail/354191.html) operation to query the IDs of ECS instances, SLB instances, and EIPs within the current Alibaba Cloud account. // // This parameter is required. // // example: // // i-uf6idy3c57psf7vu**** InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"` // The type of the asset. Valid values: // // - **ecs**: ECS instance // // - **slb**: SLB instance // // - **eip**: EIP // // This parameter is required. // // example: // // ecs InstanceType *string `json:"InstanceType,omitempty" xml:"InstanceType,omitempty"` // The IP address of the asset. // // example: // // 192.0.XX.XX InternetIp *string `json:"InternetIp,omitempty" xml:"InternetIp,omitempty"` // Specifies whether to automatically adjust the scrubbing threshold based on the traffic load on the asset. Valid values: // // - **true**: automatically adjusts the scrubbing thresholds. You do not need to configure the **Bps* - and **Pps* - parameters. // // - **false**: The scrubbing threshold is not automatically adjusted. You must configure the **Bps* - and **Pps* - parameters. // // Default value: false. // // example: // // false IsAuto *bool `json:"IsAuto,omitempty" xml:"IsAuto,omitempty"` // Specifies the packet scrubbing threshold. Unit: packets per second (pps). // // The packet scrubbing threshold cannot exceed the peak number of inbound or outbound packets, whichever is larger, of the asset. You can use the monitoring tool that is provided by the asset to query the number of packets of the asset: // // - For more information about how to query the number of packets of an ECS instance, see [Query monitoring information of an instance](https://help.aliyun.com/document_detail/25482.html). // // - For more information about how to query the number of packets of an SLB instance, see [View monitoring data in the console](https://help.aliyun.com/document_detail/85982.html). // // example: // // 70000 Pps *int32 `json:"Pps,omitempty" xml:"Pps,omitempty"` }
func (ModifyDefenseThresholdRequest) GoString ¶
func (s ModifyDefenseThresholdRequest) GoString() string
func (*ModifyDefenseThresholdRequest) SetBps ¶
func (s *ModifyDefenseThresholdRequest) SetBps(v int32) *ModifyDefenseThresholdRequest
func (*ModifyDefenseThresholdRequest) SetDdosRegionId ¶
func (s *ModifyDefenseThresholdRequest) SetDdosRegionId(v string) *ModifyDefenseThresholdRequest
func (*ModifyDefenseThresholdRequest) SetInstanceId ¶
func (s *ModifyDefenseThresholdRequest) SetInstanceId(v string) *ModifyDefenseThresholdRequest
func (*ModifyDefenseThresholdRequest) SetInstanceType ¶
func (s *ModifyDefenseThresholdRequest) SetInstanceType(v string) *ModifyDefenseThresholdRequest
func (*ModifyDefenseThresholdRequest) SetInternetIp ¶
func (s *ModifyDefenseThresholdRequest) SetInternetIp(v string) *ModifyDefenseThresholdRequest
func (*ModifyDefenseThresholdRequest) SetIsAuto ¶
func (s *ModifyDefenseThresholdRequest) SetIsAuto(v bool) *ModifyDefenseThresholdRequest
func (*ModifyDefenseThresholdRequest) SetPps ¶
func (s *ModifyDefenseThresholdRequest) SetPps(v int32) *ModifyDefenseThresholdRequest
func (ModifyDefenseThresholdRequest) String ¶
func (s ModifyDefenseThresholdRequest) String() string
type ModifyDefenseThresholdResponse ¶
type ModifyDefenseThresholdResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *ModifyDefenseThresholdResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (ModifyDefenseThresholdResponse) GoString ¶
func (s ModifyDefenseThresholdResponse) GoString() string
func (*ModifyDefenseThresholdResponse) SetBody ¶
func (s *ModifyDefenseThresholdResponse) SetBody(v *ModifyDefenseThresholdResponseBody) *ModifyDefenseThresholdResponse
func (*ModifyDefenseThresholdResponse) SetHeaders ¶
func (s *ModifyDefenseThresholdResponse) SetHeaders(v map[string]*string) *ModifyDefenseThresholdResponse
func (*ModifyDefenseThresholdResponse) SetStatusCode ¶
func (s *ModifyDefenseThresholdResponse) SetStatusCode(v int32) *ModifyDefenseThresholdResponse
func (ModifyDefenseThresholdResponse) String ¶
func (s ModifyDefenseThresholdResponse) String() string
type ModifyDefenseThresholdResponseBody ¶
type ModifyDefenseThresholdResponseBody struct { // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // BC0607F8-A9F3-5E11-977B-D59CD58C64ED RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (ModifyDefenseThresholdResponseBody) GoString ¶
func (s ModifyDefenseThresholdResponseBody) GoString() string
func (*ModifyDefenseThresholdResponseBody) SetRequestId ¶
func (s *ModifyDefenseThresholdResponseBody) SetRequestId(v string) *ModifyDefenseThresholdResponseBody
func (ModifyDefenseThresholdResponseBody) String ¶
func (s ModifyDefenseThresholdResponseBody) String() string
type ModifyIpDefenseThresholdRequest ¶
type ModifyIpDefenseThresholdRequest struct { // Specifies the traffic scrubbing threshold. Unit: Mbit/s. The traffic scrubbing threshold cannot exceed the peak inbound or outbound Internet traffic, whichever is larger, of the asset. // // You can use the monitoring tool that is provided by the asset to query the Internet traffic of the asset: // // - For more information about how to query the Internet traffic of an ECS instance, see [Query monitoring information of an instance](https://help.aliyun.com/document_detail/25482.html). // // - For more information about how to query the number of packets of an SLB instance, see [View monitoring data in the console](https://help.aliyun.com/document_detail/85982.html). // // example: // // 100 Bps *int32 `json:"Bps,omitempty" xml:"Bps,omitempty"` // The region ID of the asset. // // > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/353250.html) operation to query the most recent region list. // // This parameter is required. // // example: // // cn-hangzhou DdosRegionId *string `json:"DdosRegionId,omitempty" xml:"DdosRegionId,omitempty"` // The ID of the asset. // // > You can call the [DescribeInstance](https://help.aliyun.com/document_detail/354191.html) operation to query the IDs of ECS instances, SLB instances, and EIPs within the current Alibaba Cloud account. // // This parameter is required. // // example: // // i-uf6idy3c57psf7vu**** InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"` // The type of the asset. Valid values: // // - **ecs**: ECS instance // // - **slb**: SLB instance // // - **eip**: EIP // // This parameter is required. // // example: // // ecs InstanceType *string `json:"InstanceType,omitempty" xml:"InstanceType,omitempty"` // The IP address of the asset. // // This parameter is required. // // example: // // 192.0.XX.XX InternetIp *string `json:"InternetIp,omitempty" xml:"InternetIp,omitempty"` // Specifies whether to automatically adjust the scrubbing threshold based on the traffic load on the asset. Valid values: // // - **true**: automatically adjusts the scrubbing threshold. You do not need to configure the **Bps* - and **Pps* - parameters. // // - **false**: The scrubbing threshold is not automatically adjusted. You must configure the **Bps* - and **Pps* - parameters. This is the default value. // // example: // // false IsAuto *bool `json:"IsAuto,omitempty" xml:"IsAuto,omitempty"` // Specifies the packet scrubbing threshold. Unit: packets per second (pps). // // The packet scrubbing threshold cannot exceed the peak number of inbound or outbound packets, whichever is larger, of the asset. You can use the monitoring tool that is provided by the asset to query the number of packets of the asset: // // - For more information about how to query the number of packets of an ECS instance, see [Query monitoring information of an instance](https://help.aliyun.com/document_detail/25482.html). // // - For more information about how to query the number of packets of an SLB instance, see [View monitoring data in the console](https://help.aliyun.com/document_detail/85982.html). // // example: // // 70000 Pps *int32 `json:"Pps,omitempty" xml:"Pps,omitempty"` }
func (ModifyIpDefenseThresholdRequest) GoString ¶
func (s ModifyIpDefenseThresholdRequest) GoString() string
func (*ModifyIpDefenseThresholdRequest) SetBps ¶
func (s *ModifyIpDefenseThresholdRequest) SetBps(v int32) *ModifyIpDefenseThresholdRequest
func (*ModifyIpDefenseThresholdRequest) SetDdosRegionId ¶
func (s *ModifyIpDefenseThresholdRequest) SetDdosRegionId(v string) *ModifyIpDefenseThresholdRequest
func (*ModifyIpDefenseThresholdRequest) SetInstanceId ¶
func (s *ModifyIpDefenseThresholdRequest) SetInstanceId(v string) *ModifyIpDefenseThresholdRequest
func (*ModifyIpDefenseThresholdRequest) SetInstanceType ¶
func (s *ModifyIpDefenseThresholdRequest) SetInstanceType(v string) *ModifyIpDefenseThresholdRequest
func (*ModifyIpDefenseThresholdRequest) SetInternetIp ¶
func (s *ModifyIpDefenseThresholdRequest) SetInternetIp(v string) *ModifyIpDefenseThresholdRequest
func (*ModifyIpDefenseThresholdRequest) SetIsAuto ¶
func (s *ModifyIpDefenseThresholdRequest) SetIsAuto(v bool) *ModifyIpDefenseThresholdRequest
func (*ModifyIpDefenseThresholdRequest) SetPps ¶
func (s *ModifyIpDefenseThresholdRequest) SetPps(v int32) *ModifyIpDefenseThresholdRequest
func (ModifyIpDefenseThresholdRequest) String ¶
func (s ModifyIpDefenseThresholdRequest) String() string
type ModifyIpDefenseThresholdResponse ¶
type ModifyIpDefenseThresholdResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *ModifyIpDefenseThresholdResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (ModifyIpDefenseThresholdResponse) GoString ¶
func (s ModifyIpDefenseThresholdResponse) GoString() string
func (*ModifyIpDefenseThresholdResponse) SetBody ¶
func (s *ModifyIpDefenseThresholdResponse) SetBody(v *ModifyIpDefenseThresholdResponseBody) *ModifyIpDefenseThresholdResponse
func (*ModifyIpDefenseThresholdResponse) SetHeaders ¶
func (s *ModifyIpDefenseThresholdResponse) SetHeaders(v map[string]*string) *ModifyIpDefenseThresholdResponse
func (*ModifyIpDefenseThresholdResponse) SetStatusCode ¶
func (s *ModifyIpDefenseThresholdResponse) SetStatusCode(v int32) *ModifyIpDefenseThresholdResponse
func (ModifyIpDefenseThresholdResponse) String ¶
func (s ModifyIpDefenseThresholdResponse) String() string
type ModifyIpDefenseThresholdResponseBody ¶
type ModifyIpDefenseThresholdResponseBody struct { // The ID of the request, which is used to locate and troubleshoot issues. // // example: // // BC0607F8-A9F3-5E11-977B-D59CD58C64ED RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (ModifyIpDefenseThresholdResponseBody) GoString ¶
func (s ModifyIpDefenseThresholdResponseBody) GoString() string
func (*ModifyIpDefenseThresholdResponseBody) SetRequestId ¶
func (s *ModifyIpDefenseThresholdResponseBody) SetRequestId(v string) *ModifyIpDefenseThresholdResponseBody
func (ModifyIpDefenseThresholdResponseBody) String ¶
func (s ModifyIpDefenseThresholdResponseBody) String() string