Documentation ¶
Index ¶
- type CcGraphRequest
- func (r CcGraphRequest) GetRegionId() string
- func (r *CcGraphRequest) SetEndTime(endTime string)
- func (r *CcGraphRequest) SetInstanceId(instanceId []string)
- func (r *CcGraphRequest) SetRegionId(regionId string)
- func (r *CcGraphRequest) SetStartTime(startTime string)
- func (r *CcGraphRequest) SetSubDomain(subDomain []string)
- type CcGraphResponse
- type CcGraphResult
- type CreateForwardRuleRequest
- func NewCreateForwardRuleRequest(regionId string, instanceId string, forwardRuleSpec *ipanti.ForwardRuleSpec) *CreateForwardRuleRequest
- func NewCreateForwardRuleRequestWithAllParams(regionId string, instanceId string, forwardRuleSpec *ipanti.ForwardRuleSpec) *CreateForwardRuleRequest
- func NewCreateForwardRuleRequestWithoutParam() *CreateForwardRuleRequest
- type CreateForwardRuleResponse
- type CreateForwardRuleResult
- type CreateInstanceRequest
- type CreateInstanceResponse
- type CreateInstanceResult
- type CreateWebRuleRequest
- func NewCreateWebRuleRequest(regionId string, instanceId string, webRuleSpec *ipanti.WebRuleSpec) *CreateWebRuleRequest
- func NewCreateWebRuleRequestWithAllParams(regionId string, instanceId string, webRuleSpec *ipanti.WebRuleSpec) *CreateWebRuleRequest
- func NewCreateWebRuleRequestWithoutParam() *CreateWebRuleRequest
- type CreateWebRuleResponse
- type CreateWebRuleResult
- type DdosGraphRequest
- type DdosGraphResponse
- type DdosGraphResult
- type DeleteForwardRuleRequest
- func NewDeleteForwardRuleRequest(regionId string, instanceId string, forwardRuleId string) *DeleteForwardRuleRequest
- func NewDeleteForwardRuleRequestWithAllParams(regionId string, instanceId string, forwardRuleId string) *DeleteForwardRuleRequest
- func NewDeleteForwardRuleRequestWithoutParam() *DeleteForwardRuleRequest
- type DeleteForwardRuleResponse
- type DeleteForwardRuleResult
- type DeleteWebRuleRequest
- type DeleteWebRuleResponse
- type DeleteWebRuleResult
- type DescribeCcAttackLogDetailsRequest
- func NewDescribeCcAttackLogDetailsRequest(regionId string, startTime string, endTime string, instanceId string) *DescribeCcAttackLogDetailsRequest
- func NewDescribeCcAttackLogDetailsRequestWithAllParams(regionId string, pageNumber *int, pageSize *int, startTime string, ...) *DescribeCcAttackLogDetailsRequest
- func NewDescribeCcAttackLogDetailsRequestWithoutParam() *DescribeCcAttackLogDetailsRequest
- func (r DescribeCcAttackLogDetailsRequest) GetRegionId() string
- func (r *DescribeCcAttackLogDetailsRequest) SetEndTime(endTime string)
- func (r *DescribeCcAttackLogDetailsRequest) SetInstanceId(instanceId string)
- func (r *DescribeCcAttackLogDetailsRequest) SetPageNumber(pageNumber int)
- func (r *DescribeCcAttackLogDetailsRequest) SetPageSize(pageSize int)
- func (r *DescribeCcAttackLogDetailsRequest) SetRegionId(regionId string)
- func (r *DescribeCcAttackLogDetailsRequest) SetStartTime(startTime string)
- func (r *DescribeCcAttackLogDetailsRequest) SetSubDomain(subDomain []string)
- type DescribeCcAttackLogDetailsResponse
- type DescribeCcAttackLogDetailsResult
- type DescribeCcAttackLogsRequest
- func NewDescribeCcAttackLogsRequest(regionId string, startTime string, endTime string) *DescribeCcAttackLogsRequest
- func NewDescribeCcAttackLogsRequestWithAllParams(regionId string, pageNumber *int, pageSize *int, startTime string, ...) *DescribeCcAttackLogsRequest
- func NewDescribeCcAttackLogsRequestWithoutParam() *DescribeCcAttackLogsRequest
- func (r DescribeCcAttackLogsRequest) GetRegionId() string
- func (r *DescribeCcAttackLogsRequest) SetEndTime(endTime string)
- func (r *DescribeCcAttackLogsRequest) SetInstanceId(instanceId []string)
- func (r *DescribeCcAttackLogsRequest) SetPageNumber(pageNumber int)
- func (r *DescribeCcAttackLogsRequest) SetPageSize(pageSize int)
- func (r *DescribeCcAttackLogsRequest) SetRegionId(regionId string)
- func (r *DescribeCcAttackLogsRequest) SetStartTime(startTime string)
- type DescribeCcAttackLogsResponse
- type DescribeCcAttackLogsResult
- type DescribeDDosAttackLogsRequest
- func NewDescribeDDosAttackLogsRequest(regionId string, startTime string, endTime string) *DescribeDDosAttackLogsRequest
- func NewDescribeDDosAttackLogsRequestWithAllParams(regionId string, pageNumber *int, pageSize *int, startTime string, ...) *DescribeDDosAttackLogsRequest
- func NewDescribeDDosAttackLogsRequestWithoutParam() *DescribeDDosAttackLogsRequest
- func (r DescribeDDosAttackLogsRequest) GetRegionId() string
- func (r *DescribeDDosAttackLogsRequest) SetEndTime(endTime string)
- func (r *DescribeDDosAttackLogsRequest) SetInstanceId(instanceId []string)
- func (r *DescribeDDosAttackLogsRequest) SetPageNumber(pageNumber int)
- func (r *DescribeDDosAttackLogsRequest) SetPageSize(pageSize int)
- func (r *DescribeDDosAttackLogsRequest) SetRegionId(regionId string)
- func (r *DescribeDDosAttackLogsRequest) SetStartTime(startTime string)
- type DescribeDDosAttackLogsResponse
- type DescribeDDosAttackLogsResult
- type DescribeForwardRuleRequest
- func NewDescribeForwardRuleRequest(regionId string, instanceId string, forwardRuleId string) *DescribeForwardRuleRequest
- func NewDescribeForwardRuleRequestWithAllParams(regionId string, instanceId string, forwardRuleId string) *DescribeForwardRuleRequest
- func NewDescribeForwardRuleRequestWithoutParam() *DescribeForwardRuleRequest
- type DescribeForwardRuleResponse
- type DescribeForwardRuleResult
- type DescribeForwardRulesRequest
- func NewDescribeForwardRulesRequest(regionId string, instanceId string) *DescribeForwardRulesRequest
- func NewDescribeForwardRulesRequestWithAllParams(regionId string, instanceId string, pageNumber *int, pageSize *int) *DescribeForwardRulesRequest
- func NewDescribeForwardRulesRequestWithoutParam() *DescribeForwardRulesRequest
- func (r DescribeForwardRulesRequest) GetRegionId() string
- func (r *DescribeForwardRulesRequest) SetInstanceId(instanceId string)
- func (r *DescribeForwardRulesRequest) SetPageNumber(pageNumber int)
- func (r *DescribeForwardRulesRequest) SetPageSize(pageSize int)
- func (r *DescribeForwardRulesRequest) SetRegionId(regionId string)
- type DescribeForwardRulesResponse
- type DescribeForwardRulesResult
- type DescribeInstanceRequest
- type DescribeInstanceResponse
- type DescribeInstanceResult
- type DescribeInstancesRequest
- func (r DescribeInstancesRequest) GetRegionId() string
- func (r *DescribeInstancesRequest) SetName(name string)
- func (r *DescribeInstancesRequest) SetPageNumber(pageNumber int)
- func (r *DescribeInstancesRequest) SetPageSize(pageSize int)
- func (r *DescribeInstancesRequest) SetRegionId(regionId string)
- type DescribeInstancesResponse
- type DescribeInstancesResult
- type DescribeWebRuleRequest
- type DescribeWebRuleResponse
- type DescribeWebRuleResult
- type DescribeWebRulesRequest
- func NewDescribeWebRulesRequest(regionId string, instanceId string) *DescribeWebRulesRequest
- func NewDescribeWebRulesRequestWithAllParams(regionId string, instanceId string, pageNumber *int, pageSize *int) *DescribeWebRulesRequest
- func NewDescribeWebRulesRequestWithoutParam() *DescribeWebRulesRequest
- func (r DescribeWebRulesRequest) GetRegionId() string
- func (r *DescribeWebRulesRequest) SetInstanceId(instanceId string)
- func (r *DescribeWebRulesRequest) SetPageNumber(pageNumber int)
- func (r *DescribeWebRulesRequest) SetPageSize(pageSize int)
- func (r *DescribeWebRulesRequest) SetRegionId(regionId string)
- type DescribeWebRulesResponse
- type DescribeWebRulesResult
- type DisableCcIpLimitRequest
- type DisableCcIpLimitResponse
- type DisableCcIpLimitResult
- type DisableCcObserverModeRequest
- type DisableCcObserverModeResponse
- type DisableCcObserverModeResult
- type DisableInstanceCCRequest
- type DisableInstanceCCResponse
- type DisableInstanceCCResult
- type DisableInstanceIpBlackListRequest
- func NewDisableInstanceIpBlackListRequest(regionId string, instanceId string) *DisableInstanceIpBlackListRequest
- func NewDisableInstanceIpBlackListRequestWithAllParams(regionId string, instanceId string) *DisableInstanceIpBlackListRequest
- func NewDisableInstanceIpBlackListRequestWithoutParam() *DisableInstanceIpBlackListRequest
- type DisableInstanceIpBlackListResponse
- type DisableInstanceIpBlackListResult
- type DisableInstanceIpWhiteListRequest
- func NewDisableInstanceIpWhiteListRequest(regionId string, instanceId string) *DisableInstanceIpWhiteListRequest
- func NewDisableInstanceIpWhiteListRequestWithAllParams(regionId string, instanceId string) *DisableInstanceIpWhiteListRequest
- func NewDisableInstanceIpWhiteListRequestWithoutParam() *DisableInstanceIpWhiteListRequest
- type DisableInstanceIpWhiteListResponse
- type DisableInstanceIpWhiteListResult
- type DisableInstanceUrlWhiteListRequest
- func NewDisableInstanceUrlWhiteListRequest(regionId string, instanceId string) *DisableInstanceUrlWhiteListRequest
- func NewDisableInstanceUrlWhiteListRequestWithAllParams(regionId string, instanceId string) *DisableInstanceUrlWhiteListRequest
- func NewDisableInstanceUrlWhiteListRequestWithoutParam() *DisableInstanceUrlWhiteListRequest
- type DisableInstanceUrlWhiteListResponse
- type DisableInstanceUrlWhiteListResult
- type DisableWebRuleCCRequest
- func NewDisableWebRuleCCRequest(regionId string, instanceId string, webRuleId string) *DisableWebRuleCCRequest
- func NewDisableWebRuleCCRequestWithAllParams(regionId string, instanceId string, webRuleId string) *DisableWebRuleCCRequest
- func NewDisableWebRuleCCRequestWithoutParam() *DisableWebRuleCCRequest
- type DisableWebRuleCCResponse
- type DisableWebRuleCCResult
- type EnableCcIpLimitRequest
- type EnableCcIpLimitResponse
- type EnableCcIpLimitResult
- type EnableCcObserverModeRequest
- type EnableCcObserverModeResponse
- type EnableCcObserverModeResult
- type EnableInstanceCCRequest
- type EnableInstanceCCResponse
- type EnableInstanceCCResult
- type EnableInstanceIpBlackListRequest
- func NewEnableInstanceIpBlackListRequest(regionId string, instanceId string) *EnableInstanceIpBlackListRequest
- func NewEnableInstanceIpBlackListRequestWithAllParams(regionId string, instanceId string) *EnableInstanceIpBlackListRequest
- func NewEnableInstanceIpBlackListRequestWithoutParam() *EnableInstanceIpBlackListRequest
- type EnableInstanceIpBlackListResponse
- type EnableInstanceIpBlackListResult
- type EnableInstanceIpWhiteListRequest
- func NewEnableInstanceIpWhiteListRequest(regionId string, instanceId string) *EnableInstanceIpWhiteListRequest
- func NewEnableInstanceIpWhiteListRequestWithAllParams(regionId string, instanceId string) *EnableInstanceIpWhiteListRequest
- func NewEnableInstanceIpWhiteListRequestWithoutParam() *EnableInstanceIpWhiteListRequest
- type EnableInstanceIpWhiteListResponse
- type EnableInstanceIpWhiteListResult
- type EnableInstanceUrlWhiteListRequest
- func NewEnableInstanceUrlWhiteListRequest(regionId string, instanceId string) *EnableInstanceUrlWhiteListRequest
- func NewEnableInstanceUrlWhiteListRequestWithAllParams(regionId string, instanceId string) *EnableInstanceUrlWhiteListRequest
- func NewEnableInstanceUrlWhiteListRequestWithoutParam() *EnableInstanceUrlWhiteListRequest
- type EnableInstanceUrlWhiteListResponse
- type EnableInstanceUrlWhiteListResult
- type EnableWebRuleCCRequest
- type EnableWebRuleCCResponse
- type EnableWebRuleCCResult
- type FwdGraphRequest
- type FwdGraphResponse
- type FwdGraphResult
- type ModifyForwardRuleRequest
- func NewModifyForwardRuleRequest(regionId string, instanceId string, forwardRuleId string, ...) *ModifyForwardRuleRequest
- func NewModifyForwardRuleRequestWithAllParams(regionId string, instanceId string, forwardRuleId string, ...) *ModifyForwardRuleRequest
- func NewModifyForwardRuleRequestWithoutParam() *ModifyForwardRuleRequest
- func (r ModifyForwardRuleRequest) GetRegionId() string
- func (r *ModifyForwardRuleRequest) SetForwardRuleId(forwardRuleId string)
- func (r *ModifyForwardRuleRequest) SetForwardRuleSpec(forwardRuleSpec *ipanti.ForwardRuleSpec)
- func (r *ModifyForwardRuleRequest) SetInstanceId(instanceId string)
- func (r *ModifyForwardRuleRequest) SetRegionId(regionId string)
- type ModifyForwardRuleResponse
- type ModifyForwardRuleResult
- type ModifyInstanceCCRequest
- func NewModifyInstanceCCRequest(regionId string, instanceId string, cCSpec *ipanti.CCSpec) *ModifyInstanceCCRequest
- func NewModifyInstanceCCRequestWithAllParams(regionId string, instanceId string, cCSpec *ipanti.CCSpec) *ModifyInstanceCCRequest
- func NewModifyInstanceCCRequestWithoutParam() *ModifyInstanceCCRequest
- type ModifyInstanceCCResponse
- type ModifyInstanceCCResult
- type ModifyInstanceIpBlackListRequest
- func NewModifyInstanceIpBlackListRequest(regionId string, instanceId string, ipBlackList []string) *ModifyInstanceIpBlackListRequest
- func NewModifyInstanceIpBlackListRequestWithAllParams(regionId string, instanceId string, ipBlackList []string) *ModifyInstanceIpBlackListRequest
- func NewModifyInstanceIpBlackListRequestWithoutParam() *ModifyInstanceIpBlackListRequest
- type ModifyInstanceIpBlackListResponse
- type ModifyInstanceIpBlackListResult
- type ModifyInstanceIpWhiteListRequest
- func NewModifyInstanceIpWhiteListRequest(regionId string, instanceId string, ipWhiteList []string) *ModifyInstanceIpWhiteListRequest
- func NewModifyInstanceIpWhiteListRequestWithAllParams(regionId string, instanceId string, ipWhiteList []string) *ModifyInstanceIpWhiteListRequest
- func NewModifyInstanceIpWhiteListRequestWithoutParam() *ModifyInstanceIpWhiteListRequest
- type ModifyInstanceIpWhiteListResponse
- type ModifyInstanceIpWhiteListResult
- type ModifyInstanceNameRequest
- func NewModifyInstanceNameRequest(regionId string, instanceId string, name string) *ModifyInstanceNameRequest
- func NewModifyInstanceNameRequestWithAllParams(regionId string, instanceId string, name string) *ModifyInstanceNameRequest
- func NewModifyInstanceNameRequestWithoutParam() *ModifyInstanceNameRequest
- type ModifyInstanceNameResponse
- type ModifyInstanceNameResult
- type ModifyInstanceUrlWhiteListRequest
- func NewModifyInstanceUrlWhiteListRequest(regionId string, instanceId string, urlWhiteList []string) *ModifyInstanceUrlWhiteListRequest
- func NewModifyInstanceUrlWhiteListRequestWithAllParams(regionId string, instanceId string, urlWhiteList []string) *ModifyInstanceUrlWhiteListRequest
- func NewModifyInstanceUrlWhiteListRequestWithoutParam() *ModifyInstanceUrlWhiteListRequest
- type ModifyInstanceUrlWhiteListResponse
- type ModifyInstanceUrlWhiteListResult
- type ModifyWebRuleRequest
- func (r ModifyWebRuleRequest) GetRegionId() string
- func (r *ModifyWebRuleRequest) SetInstanceId(instanceId string)
- func (r *ModifyWebRuleRequest) SetRegionId(regionId string)
- func (r *ModifyWebRuleRequest) SetWebRuleId(webRuleId string)
- func (r *ModifyWebRuleRequest) SetWebRuleSpec(webRuleSpec *ipanti.WebRuleSpec)
- type ModifyWebRuleResponse
- type ModifyWebRuleResult
- type SetCcIpLimitRequest
- func NewSetCcIpLimitRequest(regionId string, instanceId string, cCSpec *ipanti.CcIpLimitSpec) *SetCcIpLimitRequest
- func NewSetCcIpLimitRequestWithAllParams(regionId string, instanceId string, cCSpec *ipanti.CcIpLimitSpec) *SetCcIpLimitRequest
- func NewSetCcIpLimitRequestWithoutParam() *SetCcIpLimitRequest
- type SetCcIpLimitResponse
- type SetCcIpLimitResult
- type SwitchForwardRuleOriginRequest
- func NewSwitchForwardRuleOriginRequest(regionId string, instanceId string, forwardRuleId string) *SwitchForwardRuleOriginRequest
- func NewSwitchForwardRuleOriginRequestWithAllParams(regionId string, instanceId string, forwardRuleId string) *SwitchForwardRuleOriginRequest
- func NewSwitchForwardRuleOriginRequestWithoutParam() *SwitchForwardRuleOriginRequest
- type SwitchForwardRuleOriginResponse
- type SwitchForwardRuleOriginResult
- type SwitchForwardRuleProtectRequest
- func NewSwitchForwardRuleProtectRequest(regionId string, instanceId string, forwardRuleId string) *SwitchForwardRuleProtectRequest
- func NewSwitchForwardRuleProtectRequestWithAllParams(regionId string, instanceId string, forwardRuleId string) *SwitchForwardRuleProtectRequest
- func NewSwitchForwardRuleProtectRequestWithoutParam() *SwitchForwardRuleProtectRequest
- type SwitchForwardRuleProtectResponse
- type SwitchForwardRuleProtectResult
- type SwitchWebRuleOriginRequest
- func NewSwitchWebRuleOriginRequest(regionId string, instanceId string, webRuleId string) *SwitchWebRuleOriginRequest
- func NewSwitchWebRuleOriginRequestWithAllParams(regionId string, instanceId string, webRuleId string) *SwitchWebRuleOriginRequest
- func NewSwitchWebRuleOriginRequestWithoutParam() *SwitchWebRuleOriginRequest
- type SwitchWebRuleOriginResponse
- type SwitchWebRuleOriginResult
- type SwitchWebRuleProtectRequest
- func NewSwitchWebRuleProtectRequest(regionId string, instanceId string, webRuleId string) *SwitchWebRuleProtectRequest
- func NewSwitchWebRuleProtectRequestWithAllParams(regionId string, instanceId string, webRuleId string) *SwitchWebRuleProtectRequest
- func NewSwitchWebRuleProtectRequestWithoutParam() *SwitchWebRuleProtectRequest
- type SwitchWebRuleProtectResponse
- type SwitchWebRuleProtectResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CcGraphRequest ¶ added in v1.0.3
type CcGraphRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 开始时间,最多查最近30天,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ssZ */ StartTime string `json:"startTime"` /* 查询的结束时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ssZ */ EndTime string `json:"endTime"` /* 高防实例id,可以传0个或多个 (Optional) */ InstanceId []string `json:"instanceId"` /* 规则域名,可以传0个或多个 (Optional) */ SubDomain []string `json:"subDomain"` }
func NewCcGraphRequest ¶ added in v1.0.3
func NewCcGraphRequest( regionId string, startTime string, endTime string, ) *CcGraphRequest
* param regionId: Region ID (Required) * param startTime: 开始时间,最多查最近30天,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ssZ (Required) * param endTime: 查询的结束时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ssZ (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCcGraphRequestWithAllParams ¶ added in v1.0.3
func NewCcGraphRequestWithAllParams( regionId string, startTime string, endTime string, instanceId []string, subDomain []string, ) *CcGraphRequest
* param regionId: Region ID (Required) * param startTime: 开始时间,最多查最近30天,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ssZ (Required) * param endTime: 查询的结束时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ssZ (Required) * param instanceId: 高防实例id,可以传0个或多个 (Optional) * param subDomain: 规则域名,可以传0个或多个 (Optional)
func NewCcGraphRequestWithoutParam ¶ added in v1.0.3
func NewCcGraphRequestWithoutParam() *CcGraphRequest
This constructor has better compatible ability when API parameters changed
func (CcGraphRequest) GetRegionId ¶ added in v1.0.3
func (r CcGraphRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CcGraphRequest) SetEndTime ¶ added in v1.0.3
func (r *CcGraphRequest) SetEndTime(endTime string)
param endTime: 查询的结束时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ssZ(Required)
func (*CcGraphRequest) SetInstanceId ¶ added in v1.0.3
func (r *CcGraphRequest) SetInstanceId(instanceId []string)
param instanceId: 高防实例id,可以传0个或多个(Optional)
func (*CcGraphRequest) SetRegionId ¶ added in v1.0.3
func (r *CcGraphRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*CcGraphRequest) SetStartTime ¶ added in v1.0.3
func (r *CcGraphRequest) SetStartTime(startTime string)
param startTime: 开始时间,最多查最近30天,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ssZ(Required)
func (*CcGraphRequest) SetSubDomain ¶ added in v1.0.3
func (r *CcGraphRequest) SetSubDomain(subDomain []string)
param subDomain: 规则域名,可以传0个或多个(Optional)
type CcGraphResponse ¶ added in v1.0.3
type CcGraphResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CcGraphResult `json:"result"` }
type CcGraphResult ¶ added in v1.0.3
type CreateForwardRuleRequest ¶
type CreateForwardRuleRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 实例id */ InstanceId string `json:"instanceId"` /* 非网站类规则参数 */ ForwardRuleSpec *ipanti.ForwardRuleSpec `json:"forwardRuleSpec"` }
func NewCreateForwardRuleRequest ¶
func NewCreateForwardRuleRequest( regionId string, instanceId string, forwardRuleSpec *ipanti.ForwardRuleSpec, ) *CreateForwardRuleRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * param forwardRuleSpec: 非网站类规则参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateForwardRuleRequestWithAllParams ¶ added in v1.0.3
func NewCreateForwardRuleRequestWithAllParams( regionId string, instanceId string, forwardRuleSpec *ipanti.ForwardRuleSpec, ) *CreateForwardRuleRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * param forwardRuleSpec: 非网站类规则参数 (Required)
func NewCreateForwardRuleRequestWithoutParam ¶ added in v1.0.3
func NewCreateForwardRuleRequestWithoutParam() *CreateForwardRuleRequest
This constructor has better compatible ability when API parameters changed
func (CreateForwardRuleRequest) GetRegionId ¶
func (r CreateForwardRuleRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateForwardRuleRequest) SetForwardRuleSpec ¶
func (r *CreateForwardRuleRequest) SetForwardRuleSpec(forwardRuleSpec *ipanti.ForwardRuleSpec)
param forwardRuleSpec: 非网站类规则参数(Required)
func (*CreateForwardRuleRequest) SetInstanceId ¶
func (r *CreateForwardRuleRequest) SetInstanceId(instanceId string)
param instanceId: 实例id(Required)
func (*CreateForwardRuleRequest) SetRegionId ¶
func (r *CreateForwardRuleRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type CreateForwardRuleResponse ¶
type CreateForwardRuleResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateForwardRuleResult `json:"result"` }
type CreateForwardRuleResult ¶
type CreateForwardRuleResult struct { }
type CreateInstanceRequest ¶
type CreateInstanceRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 实例规格参数 */ InstanceSpec *ipanti.InstanceSpec `json:"instanceSpec"` }
func NewCreateInstanceRequest ¶
func NewCreateInstanceRequest( regionId string, instanceSpec *ipanti.InstanceSpec, ) *CreateInstanceRequest
* param regionId: Region ID (Required) * param instanceSpec: 实例规格参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateInstanceRequestWithAllParams ¶ added in v1.0.3
func NewCreateInstanceRequestWithAllParams( regionId string, instanceSpec *ipanti.InstanceSpec, ) *CreateInstanceRequest
* param regionId: Region ID (Required) * param instanceSpec: 实例规格参数 (Required)
func NewCreateInstanceRequestWithoutParam ¶ added in v1.0.3
func NewCreateInstanceRequestWithoutParam() *CreateInstanceRequest
This constructor has better compatible ability when API parameters changed
func (CreateInstanceRequest) GetRegionId ¶
func (r CreateInstanceRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateInstanceRequest) SetInstanceSpec ¶
func (r *CreateInstanceRequest) SetInstanceSpec(instanceSpec *ipanti.InstanceSpec)
param instanceSpec: 实例规格参数(Required)
func (*CreateInstanceRequest) SetRegionId ¶
func (r *CreateInstanceRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type CreateInstanceResponse ¶
type CreateInstanceResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateInstanceResult `json:"result"` }
type CreateInstanceResult ¶
type CreateInstanceResult struct {
OrderId string `json:"orderId"`
}
type CreateWebRuleRequest ¶
type CreateWebRuleRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 实例id */ InstanceId string `json:"instanceId"` /* 网站类规则参数 */ WebRuleSpec *ipanti.WebRuleSpec `json:"webRuleSpec"` }
func NewCreateWebRuleRequest ¶
func NewCreateWebRuleRequest( regionId string, instanceId string, webRuleSpec *ipanti.WebRuleSpec, ) *CreateWebRuleRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * param webRuleSpec: 网站类规则参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateWebRuleRequestWithAllParams ¶ added in v1.0.3
func NewCreateWebRuleRequestWithAllParams( regionId string, instanceId string, webRuleSpec *ipanti.WebRuleSpec, ) *CreateWebRuleRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * param webRuleSpec: 网站类规则参数 (Required)
func NewCreateWebRuleRequestWithoutParam ¶ added in v1.0.3
func NewCreateWebRuleRequestWithoutParam() *CreateWebRuleRequest
This constructor has better compatible ability when API parameters changed
func (CreateWebRuleRequest) GetRegionId ¶
func (r CreateWebRuleRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateWebRuleRequest) SetInstanceId ¶
func (r *CreateWebRuleRequest) SetInstanceId(instanceId string)
param instanceId: 实例id(Required)
func (*CreateWebRuleRequest) SetRegionId ¶
func (r *CreateWebRuleRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*CreateWebRuleRequest) SetWebRuleSpec ¶
func (r *CreateWebRuleRequest) SetWebRuleSpec(webRuleSpec *ipanti.WebRuleSpec)
param webRuleSpec: 网站类规则参数(Required)
type CreateWebRuleResponse ¶
type CreateWebRuleResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateWebRuleResult `json:"result"` }
type CreateWebRuleResult ¶
type CreateWebRuleResult struct { }
type DdosGraphRequest ¶ added in v1.0.3
type DdosGraphRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 开始时间,最多查最近30天,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ssZ */ StartTime string `json:"startTime"` /* 查询的结束时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ssZ */ EndTime string `json:"endTime"` /* 高防实例id,可以传0个或多个 (Optional) */ InstanceId []string `json:"instanceId"` }
func NewDdosGraphRequest ¶ added in v1.0.3
func NewDdosGraphRequest( regionId string, startTime string, endTime string, ) *DdosGraphRequest
* param regionId: Region ID (Required) * param startTime: 开始时间,最多查最近30天,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ssZ (Required) * param endTime: 查询的结束时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ssZ (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDdosGraphRequestWithAllParams ¶ added in v1.0.3
func NewDdosGraphRequestWithAllParams( regionId string, startTime string, endTime string, instanceId []string, ) *DdosGraphRequest
* param regionId: Region ID (Required) * param startTime: 开始时间,最多查最近30天,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ssZ (Required) * param endTime: 查询的结束时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ssZ (Required) * param instanceId: 高防实例id,可以传0个或多个 (Optional)
func NewDdosGraphRequestWithoutParam ¶ added in v1.0.3
func NewDdosGraphRequestWithoutParam() *DdosGraphRequest
This constructor has better compatible ability when API parameters changed
func (DdosGraphRequest) GetRegionId ¶ added in v1.0.3
func (r DdosGraphRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DdosGraphRequest) SetEndTime ¶ added in v1.0.3
func (r *DdosGraphRequest) SetEndTime(endTime string)
param endTime: 查询的结束时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ssZ(Required)
func (*DdosGraphRequest) SetInstanceId ¶ added in v1.0.3
func (r *DdosGraphRequest) SetInstanceId(instanceId []string)
param instanceId: 高防实例id,可以传0个或多个(Optional)
func (*DdosGraphRequest) SetRegionId ¶ added in v1.0.3
func (r *DdosGraphRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*DdosGraphRequest) SetStartTime ¶ added in v1.0.3
func (r *DdosGraphRequest) SetStartTime(startTime string)
param startTime: 开始时间,最多查最近30天,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ssZ(Required)
type DdosGraphResponse ¶ added in v1.0.3
type DdosGraphResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DdosGraphResult `json:"result"` }
type DdosGraphResult ¶ added in v1.0.3
type DeleteForwardRuleRequest ¶
type DeleteForwardRuleRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 实例id */ InstanceId string `json:"instanceId"` /* 转发规则id */ ForwardRuleId string `json:"forwardRuleId"` }
func NewDeleteForwardRuleRequest ¶
func NewDeleteForwardRuleRequest( regionId string, instanceId string, forwardRuleId string, ) *DeleteForwardRuleRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * param forwardRuleId: 转发规则id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteForwardRuleRequestWithAllParams ¶ added in v1.0.3
func NewDeleteForwardRuleRequestWithAllParams( regionId string, instanceId string, forwardRuleId string, ) *DeleteForwardRuleRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * param forwardRuleId: 转发规则id (Required)
func NewDeleteForwardRuleRequestWithoutParam ¶ added in v1.0.3
func NewDeleteForwardRuleRequestWithoutParam() *DeleteForwardRuleRequest
This constructor has better compatible ability when API parameters changed
func (DeleteForwardRuleRequest) GetRegionId ¶
func (r DeleteForwardRuleRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteForwardRuleRequest) SetForwardRuleId ¶
func (r *DeleteForwardRuleRequest) SetForwardRuleId(forwardRuleId string)
param forwardRuleId: 转发规则id(Required)
func (*DeleteForwardRuleRequest) SetInstanceId ¶
func (r *DeleteForwardRuleRequest) SetInstanceId(instanceId string)
param instanceId: 实例id(Required)
func (*DeleteForwardRuleRequest) SetRegionId ¶
func (r *DeleteForwardRuleRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DeleteForwardRuleResponse ¶
type DeleteForwardRuleResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeleteForwardRuleResult `json:"result"` }
type DeleteForwardRuleResult ¶
type DeleteForwardRuleResult struct { }
type DeleteWebRuleRequest ¶
type DeleteWebRuleRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 实例id */ InstanceId string `json:"instanceId"` /* 网站规则id */ WebRuleId string `json:"webRuleId"` }
func NewDeleteWebRuleRequest ¶
func NewDeleteWebRuleRequest( regionId string, instanceId string, webRuleId string, ) *DeleteWebRuleRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * param webRuleId: 网站规则id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteWebRuleRequestWithAllParams ¶ added in v1.0.3
func NewDeleteWebRuleRequestWithAllParams( regionId string, instanceId string, webRuleId string, ) *DeleteWebRuleRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * param webRuleId: 网站规则id (Required)
func NewDeleteWebRuleRequestWithoutParam ¶ added in v1.0.3
func NewDeleteWebRuleRequestWithoutParam() *DeleteWebRuleRequest
This constructor has better compatible ability when API parameters changed
func (DeleteWebRuleRequest) GetRegionId ¶
func (r DeleteWebRuleRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteWebRuleRequest) SetInstanceId ¶
func (r *DeleteWebRuleRequest) SetInstanceId(instanceId string)
param instanceId: 实例id(Required)
func (*DeleteWebRuleRequest) SetRegionId ¶
func (r *DeleteWebRuleRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*DeleteWebRuleRequest) SetWebRuleId ¶
func (r *DeleteWebRuleRequest) SetWebRuleId(webRuleId string)
param webRuleId: 网站规则id(Required)
type DeleteWebRuleResponse ¶
type DeleteWebRuleResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeleteWebRuleResult `json:"result"` }
type DeleteWebRuleResult ¶
type DeleteWebRuleResult struct { }
type DescribeCcAttackLogDetailsRequest ¶ added in v1.0.3
type DescribeCcAttackLogDetailsRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 页码;默认为1 (Optional) */ PageNumber *int `json:"pageNumber"` /* 分页大小;默认为10;取值范围[10, 100] (Optional) */ PageSize *int `json:"pageSize"` /* 开始时间,最多查最近30天,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ssZ */ StartTime string `json:"startTime"` /* 查询的结束时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ssZ */ EndTime string `json:"endTime"` /* 高防实例id */ InstanceId string `json:"instanceId"` /* 子域名 (Optional) */ SubDomain []string `json:"subDomain"` }
func NewDescribeCcAttackLogDetailsRequest ¶ added in v1.0.3
func NewDescribeCcAttackLogDetailsRequest( regionId string, startTime string, endTime string, instanceId string, ) *DescribeCcAttackLogDetailsRequest
* param regionId: Region ID (Required) * param startTime: 开始时间,最多查最近30天,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ssZ (Required) * param endTime: 查询的结束时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ssZ (Required) * param instanceId: 高防实例id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeCcAttackLogDetailsRequestWithAllParams ¶ added in v1.0.3
func NewDescribeCcAttackLogDetailsRequestWithAllParams( regionId string, pageNumber *int, pageSize *int, startTime string, endTime string, instanceId string, subDomain []string, ) *DescribeCcAttackLogDetailsRequest
* param regionId: Region ID (Required) * param pageNumber: 页码;默认为1 (Optional) * param pageSize: 分页大小;默认为10;取值范围[10, 100] (Optional) * param startTime: 开始时间,最多查最近30天,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ssZ (Required) * param endTime: 查询的结束时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ssZ (Required) * param instanceId: 高防实例id (Required) * param subDomain: 子域名 (Optional)
func NewDescribeCcAttackLogDetailsRequestWithoutParam ¶ added in v1.0.3
func NewDescribeCcAttackLogDetailsRequestWithoutParam() *DescribeCcAttackLogDetailsRequest
This constructor has better compatible ability when API parameters changed
func (DescribeCcAttackLogDetailsRequest) GetRegionId ¶ added in v1.0.3
func (r DescribeCcAttackLogDetailsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeCcAttackLogDetailsRequest) SetEndTime ¶ added in v1.0.3
func (r *DescribeCcAttackLogDetailsRequest) SetEndTime(endTime string)
param endTime: 查询的结束时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ssZ(Required)
func (*DescribeCcAttackLogDetailsRequest) SetInstanceId ¶ added in v1.0.3
func (r *DescribeCcAttackLogDetailsRequest) SetInstanceId(instanceId string)
param instanceId: 高防实例id(Required)
func (*DescribeCcAttackLogDetailsRequest) SetPageNumber ¶ added in v1.0.3
func (r *DescribeCcAttackLogDetailsRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码;默认为1(Optional)
func (*DescribeCcAttackLogDetailsRequest) SetPageSize ¶ added in v1.0.3
func (r *DescribeCcAttackLogDetailsRequest) SetPageSize(pageSize int)
param pageSize: 分页大小;默认为10;取值范围[10, 100](Optional)
func (*DescribeCcAttackLogDetailsRequest) SetRegionId ¶ added in v1.0.3
func (r *DescribeCcAttackLogDetailsRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*DescribeCcAttackLogDetailsRequest) SetStartTime ¶ added in v1.0.3
func (r *DescribeCcAttackLogDetailsRequest) SetStartTime(startTime string)
param startTime: 开始时间,最多查最近30天,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ssZ(Required)
func (*DescribeCcAttackLogDetailsRequest) SetSubDomain ¶ added in v1.0.3
func (r *DescribeCcAttackLogDetailsRequest) SetSubDomain(subDomain []string)
param subDomain: 子域名(Optional)
type DescribeCcAttackLogDetailsResponse ¶ added in v1.0.3
type DescribeCcAttackLogDetailsResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeCcAttackLogDetailsResult `json:"result"` }
type DescribeCcAttackLogDetailsResult ¶ added in v1.0.3
type DescribeCcAttackLogDetailsResult struct { DataList []ipanti.CCAttackLogDetail `json:"dataList"` TotalCount int `json:"totalCount"` }
type DescribeCcAttackLogsRequest ¶ added in v1.0.3
type DescribeCcAttackLogsRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 页码;默认为1 (Optional) */ PageNumber *int `json:"pageNumber"` /* 分页大小;默认为10;取值范围[10, 100] (Optional) */ PageSize *int `json:"pageSize"` /* 开始时间,最多查最近30天,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ssZ */ StartTime string `json:"startTime"` /* 查询的结束时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ssZ */ EndTime string `json:"endTime"` /* 高防实例id (Optional) */ InstanceId []string `json:"instanceId"` }
func NewDescribeCcAttackLogsRequest ¶ added in v1.0.3
func NewDescribeCcAttackLogsRequest( regionId string, startTime string, endTime string, ) *DescribeCcAttackLogsRequest
* param regionId: Region ID (Required) * param startTime: 开始时间,最多查最近30天,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ssZ (Required) * param endTime: 查询的结束时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ssZ (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeCcAttackLogsRequestWithAllParams ¶ added in v1.0.3
func NewDescribeCcAttackLogsRequestWithAllParams( regionId string, pageNumber *int, pageSize *int, startTime string, endTime string, instanceId []string, ) *DescribeCcAttackLogsRequest
* param regionId: Region ID (Required) * param pageNumber: 页码;默认为1 (Optional) * param pageSize: 分页大小;默认为10;取值范围[10, 100] (Optional) * param startTime: 开始时间,最多查最近30天,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ssZ (Required) * param endTime: 查询的结束时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ssZ (Required) * param instanceId: 高防实例id (Optional)
func NewDescribeCcAttackLogsRequestWithoutParam ¶ added in v1.0.3
func NewDescribeCcAttackLogsRequestWithoutParam() *DescribeCcAttackLogsRequest
This constructor has better compatible ability when API parameters changed
func (DescribeCcAttackLogsRequest) GetRegionId ¶ added in v1.0.3
func (r DescribeCcAttackLogsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeCcAttackLogsRequest) SetEndTime ¶ added in v1.0.3
func (r *DescribeCcAttackLogsRequest) SetEndTime(endTime string)
param endTime: 查询的结束时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ssZ(Required)
func (*DescribeCcAttackLogsRequest) SetInstanceId ¶ added in v1.0.3
func (r *DescribeCcAttackLogsRequest) SetInstanceId(instanceId []string)
param instanceId: 高防实例id(Optional)
func (*DescribeCcAttackLogsRequest) SetPageNumber ¶ added in v1.0.3
func (r *DescribeCcAttackLogsRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码;默认为1(Optional)
func (*DescribeCcAttackLogsRequest) SetPageSize ¶ added in v1.0.3
func (r *DescribeCcAttackLogsRequest) SetPageSize(pageSize int)
param pageSize: 分页大小;默认为10;取值范围[10, 100](Optional)
func (*DescribeCcAttackLogsRequest) SetRegionId ¶ added in v1.0.3
func (r *DescribeCcAttackLogsRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*DescribeCcAttackLogsRequest) SetStartTime ¶ added in v1.0.3
func (r *DescribeCcAttackLogsRequest) SetStartTime(startTime string)
param startTime: 开始时间,最多查最近30天,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ssZ(Required)
type DescribeCcAttackLogsResponse ¶ added in v1.0.3
type DescribeCcAttackLogsResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeCcAttackLogsResult `json:"result"` }
type DescribeCcAttackLogsResult ¶ added in v1.0.3
type DescribeCcAttackLogsResult struct { DataList []ipanti.DDosAttackLog `json:"dataList"` TotalCount int `json:"totalCount"` }
type DescribeDDosAttackLogsRequest ¶ added in v1.0.3
type DescribeDDosAttackLogsRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 页码;默认为1 (Optional) */ PageNumber *int `json:"pageNumber"` /* 分页大小;默认为10;取值范围[10, 100] (Optional) */ PageSize *int `json:"pageSize"` /* 开始时间,最多查最近30天,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ssZ */ StartTime string `json:"startTime"` /* 查询的结束时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ssZ */ EndTime string `json:"endTime"` /* 高防实例id (Optional) */ InstanceId []string `json:"instanceId"` }
func NewDescribeDDosAttackLogsRequest ¶ added in v1.0.3
func NewDescribeDDosAttackLogsRequest( regionId string, startTime string, endTime string, ) *DescribeDDosAttackLogsRequest
* param regionId: Region ID (Required) * param startTime: 开始时间,最多查最近30天,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ssZ (Required) * param endTime: 查询的结束时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ssZ (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeDDosAttackLogsRequestWithAllParams ¶ added in v1.0.3
func NewDescribeDDosAttackLogsRequestWithAllParams( regionId string, pageNumber *int, pageSize *int, startTime string, endTime string, instanceId []string, ) *DescribeDDosAttackLogsRequest
* param regionId: Region ID (Required) * param pageNumber: 页码;默认为1 (Optional) * param pageSize: 分页大小;默认为10;取值范围[10, 100] (Optional) * param startTime: 开始时间,最多查最近30天,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ssZ (Required) * param endTime: 查询的结束时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ssZ (Required) * param instanceId: 高防实例id (Optional)
func NewDescribeDDosAttackLogsRequestWithoutParam ¶ added in v1.0.3
func NewDescribeDDosAttackLogsRequestWithoutParam() *DescribeDDosAttackLogsRequest
This constructor has better compatible ability when API parameters changed
func (DescribeDDosAttackLogsRequest) GetRegionId ¶ added in v1.0.3
func (r DescribeDDosAttackLogsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeDDosAttackLogsRequest) SetEndTime ¶ added in v1.0.3
func (r *DescribeDDosAttackLogsRequest) SetEndTime(endTime string)
param endTime: 查询的结束时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ssZ(Required)
func (*DescribeDDosAttackLogsRequest) SetInstanceId ¶ added in v1.0.3
func (r *DescribeDDosAttackLogsRequest) SetInstanceId(instanceId []string)
param instanceId: 高防实例id(Optional)
func (*DescribeDDosAttackLogsRequest) SetPageNumber ¶ added in v1.0.3
func (r *DescribeDDosAttackLogsRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码;默认为1(Optional)
func (*DescribeDDosAttackLogsRequest) SetPageSize ¶ added in v1.0.3
func (r *DescribeDDosAttackLogsRequest) SetPageSize(pageSize int)
param pageSize: 分页大小;默认为10;取值范围[10, 100](Optional)
func (*DescribeDDosAttackLogsRequest) SetRegionId ¶ added in v1.0.3
func (r *DescribeDDosAttackLogsRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*DescribeDDosAttackLogsRequest) SetStartTime ¶ added in v1.0.3
func (r *DescribeDDosAttackLogsRequest) SetStartTime(startTime string)
param startTime: 开始时间,最多查最近30天,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ssZ(Required)
type DescribeDDosAttackLogsResponse ¶ added in v1.0.3
type DescribeDDosAttackLogsResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeDDosAttackLogsResult `json:"result"` }
type DescribeDDosAttackLogsResult ¶ added in v1.0.3
type DescribeDDosAttackLogsResult struct { DataList []ipanti.DDosAttackLog `json:"dataList"` TotalCount int `json:"totalCount"` }
type DescribeForwardRuleRequest ¶
type DescribeForwardRuleRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 实例id */ InstanceId string `json:"instanceId"` /* 转发规则id */ ForwardRuleId string `json:"forwardRuleId"` }
func NewDescribeForwardRuleRequest ¶
func NewDescribeForwardRuleRequest( regionId string, instanceId string, forwardRuleId string, ) *DescribeForwardRuleRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * param forwardRuleId: 转发规则id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeForwardRuleRequestWithAllParams ¶ added in v1.0.3
func NewDescribeForwardRuleRequestWithAllParams( regionId string, instanceId string, forwardRuleId string, ) *DescribeForwardRuleRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * param forwardRuleId: 转发规则id (Required)
func NewDescribeForwardRuleRequestWithoutParam ¶ added in v1.0.3
func NewDescribeForwardRuleRequestWithoutParam() *DescribeForwardRuleRequest
This constructor has better compatible ability when API parameters changed
func (DescribeForwardRuleRequest) GetRegionId ¶
func (r DescribeForwardRuleRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeForwardRuleRequest) SetForwardRuleId ¶
func (r *DescribeForwardRuleRequest) SetForwardRuleId(forwardRuleId string)
param forwardRuleId: 转发规则id(Required)
func (*DescribeForwardRuleRequest) SetInstanceId ¶
func (r *DescribeForwardRuleRequest) SetInstanceId(instanceId string)
param instanceId: 实例id(Required)
func (*DescribeForwardRuleRequest) SetRegionId ¶
func (r *DescribeForwardRuleRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DescribeForwardRuleResponse ¶
type DescribeForwardRuleResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeForwardRuleResult `json:"result"` }
type DescribeForwardRuleResult ¶
type DescribeForwardRuleResult struct {
Data ipanti.ForwardRule `json:"data"`
}
type DescribeForwardRulesRequest ¶
type DescribeForwardRulesRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 实例id */ InstanceId string `json:"instanceId"` /* 页码;默认为1 (Optional) */ PageNumber *int `json:"pageNumber"` /* 分页大小;默认为20;取值范围[10, 100] (Optional) */ PageSize *int `json:"pageSize"` }
func NewDescribeForwardRulesRequest ¶
func NewDescribeForwardRulesRequest( regionId string, instanceId string, ) *DescribeForwardRulesRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeForwardRulesRequestWithAllParams ¶ added in v1.0.3
func NewDescribeForwardRulesRequestWithAllParams( regionId string, instanceId string, pageNumber *int, pageSize *int, ) *DescribeForwardRulesRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * param pageNumber: 页码;默认为1 (Optional) * param pageSize: 分页大小;默认为20;取值范围[10, 100] (Optional)
func NewDescribeForwardRulesRequestWithoutParam ¶ added in v1.0.3
func NewDescribeForwardRulesRequestWithoutParam() *DescribeForwardRulesRequest
This constructor has better compatible ability when API parameters changed
func (DescribeForwardRulesRequest) GetRegionId ¶
func (r DescribeForwardRulesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeForwardRulesRequest) SetInstanceId ¶
func (r *DescribeForwardRulesRequest) SetInstanceId(instanceId string)
param instanceId: 实例id(Required)
func (*DescribeForwardRulesRequest) SetPageNumber ¶
func (r *DescribeForwardRulesRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码;默认为1(Optional)
func (*DescribeForwardRulesRequest) SetPageSize ¶
func (r *DescribeForwardRulesRequest) SetPageSize(pageSize int)
param pageSize: 分页大小;默认为20;取值范围[10, 100](Optional)
func (*DescribeForwardRulesRequest) SetRegionId ¶
func (r *DescribeForwardRulesRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DescribeForwardRulesResponse ¶
type DescribeForwardRulesResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeForwardRulesResult `json:"result"` }
type DescribeForwardRulesResult ¶
type DescribeForwardRulesResult struct { DataList []ipanti.ForwardRule `json:"dataList"` TotalCount int `json:"totalCount"` }
type DescribeInstanceRequest ¶
type DescribeInstanceRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 实例id */ InstanceId string `json:"instanceId"` }
func NewDescribeInstanceRequest ¶
func NewDescribeInstanceRequest( regionId string, instanceId string, ) *DescribeInstanceRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeInstanceRequestWithAllParams ¶ added in v1.0.3
func NewDescribeInstanceRequestWithAllParams( regionId string, instanceId string, ) *DescribeInstanceRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required)
func NewDescribeInstanceRequestWithoutParam ¶ added in v1.0.3
func NewDescribeInstanceRequestWithoutParam() *DescribeInstanceRequest
This constructor has better compatible ability when API parameters changed
func (DescribeInstanceRequest) GetRegionId ¶
func (r DescribeInstanceRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeInstanceRequest) SetInstanceId ¶
func (r *DescribeInstanceRequest) SetInstanceId(instanceId string)
param instanceId: 实例id(Required)
func (*DescribeInstanceRequest) SetRegionId ¶
func (r *DescribeInstanceRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DescribeInstanceResponse ¶
type DescribeInstanceResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeInstanceResult `json:"result"` }
type DescribeInstanceResult ¶
type DescribeInstancesRequest ¶
type DescribeInstancesRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 页码;默认为1 (Optional) */ PageNumber *int `json:"pageNumber"` /* 分页大小;默认为20;取值范围[10, 100] (Optional) */ PageSize *int `json:"pageSize"` /* 实例名称,可模糊匹配 (Optional) */ Name *string `json:"name"` }
func NewDescribeInstancesRequest ¶
func NewDescribeInstancesRequest( regionId string, ) *DescribeInstancesRequest
* param regionId: Region ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeInstancesRequestWithAllParams ¶ added in v1.0.3
func NewDescribeInstancesRequestWithAllParams( regionId string, pageNumber *int, pageSize *int, name *string, ) *DescribeInstancesRequest
* param regionId: Region ID (Required) * param pageNumber: 页码;默认为1 (Optional) * param pageSize: 分页大小;默认为20;取值范围[10, 100] (Optional) * param name: 实例名称,可模糊匹配 (Optional)
func NewDescribeInstancesRequestWithoutParam ¶ added in v1.0.3
func NewDescribeInstancesRequestWithoutParam() *DescribeInstancesRequest
This constructor has better compatible ability when API parameters changed
func (DescribeInstancesRequest) GetRegionId ¶
func (r DescribeInstancesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeInstancesRequest) SetName ¶
func (r *DescribeInstancesRequest) SetName(name string)
param name: 实例名称,可模糊匹配(Optional)
func (*DescribeInstancesRequest) SetPageNumber ¶
func (r *DescribeInstancesRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码;默认为1(Optional)
func (*DescribeInstancesRequest) SetPageSize ¶
func (r *DescribeInstancesRequest) SetPageSize(pageSize int)
param pageSize: 分页大小;默认为20;取值范围[10, 100](Optional)
func (*DescribeInstancesRequest) SetRegionId ¶
func (r *DescribeInstancesRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DescribeInstancesResponse ¶
type DescribeInstancesResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeInstancesResult `json:"result"` }
type DescribeInstancesResult ¶
type DescribeWebRuleRequest ¶
type DescribeWebRuleRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 实例id */ InstanceId string `json:"instanceId"` /* 网站规则id */ WebRuleId string `json:"webRuleId"` }
func NewDescribeWebRuleRequest ¶
func NewDescribeWebRuleRequest( regionId string, instanceId string, webRuleId string, ) *DescribeWebRuleRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * param webRuleId: 网站规则id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeWebRuleRequestWithAllParams ¶ added in v1.0.3
func NewDescribeWebRuleRequestWithAllParams( regionId string, instanceId string, webRuleId string, ) *DescribeWebRuleRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * param webRuleId: 网站规则id (Required)
func NewDescribeWebRuleRequestWithoutParam ¶ added in v1.0.3
func NewDescribeWebRuleRequestWithoutParam() *DescribeWebRuleRequest
This constructor has better compatible ability when API parameters changed
func (DescribeWebRuleRequest) GetRegionId ¶
func (r DescribeWebRuleRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeWebRuleRequest) SetInstanceId ¶
func (r *DescribeWebRuleRequest) SetInstanceId(instanceId string)
param instanceId: 实例id(Required)
func (*DescribeWebRuleRequest) SetRegionId ¶
func (r *DescribeWebRuleRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*DescribeWebRuleRequest) SetWebRuleId ¶
func (r *DescribeWebRuleRequest) SetWebRuleId(webRuleId string)
param webRuleId: 网站规则id(Required)
type DescribeWebRuleResponse ¶
type DescribeWebRuleResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeWebRuleResult `json:"result"` }
type DescribeWebRuleResult ¶
type DescribeWebRulesRequest ¶
type DescribeWebRulesRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 实例id */ InstanceId string `json:"instanceId"` /* 页码;默认为1 (Optional) */ PageNumber *int `json:"pageNumber"` /* 分页大小;默认为20;取值范围[10, 100] (Optional) */ PageSize *int `json:"pageSize"` }
func NewDescribeWebRulesRequest ¶
func NewDescribeWebRulesRequest( regionId string, instanceId string, ) *DescribeWebRulesRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeWebRulesRequestWithAllParams ¶ added in v1.0.3
func NewDescribeWebRulesRequestWithAllParams( regionId string, instanceId string, pageNumber *int, pageSize *int, ) *DescribeWebRulesRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * param pageNumber: 页码;默认为1 (Optional) * param pageSize: 分页大小;默认为20;取值范围[10, 100] (Optional)
func NewDescribeWebRulesRequestWithoutParam ¶ added in v1.0.3
func NewDescribeWebRulesRequestWithoutParam() *DescribeWebRulesRequest
This constructor has better compatible ability when API parameters changed
func (DescribeWebRulesRequest) GetRegionId ¶
func (r DescribeWebRulesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeWebRulesRequest) SetInstanceId ¶
func (r *DescribeWebRulesRequest) SetInstanceId(instanceId string)
param instanceId: 实例id(Required)
func (*DescribeWebRulesRequest) SetPageNumber ¶
func (r *DescribeWebRulesRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码;默认为1(Optional)
func (*DescribeWebRulesRequest) SetPageSize ¶
func (r *DescribeWebRulesRequest) SetPageSize(pageSize int)
param pageSize: 分页大小;默认为20;取值范围[10, 100](Optional)
func (*DescribeWebRulesRequest) SetRegionId ¶
func (r *DescribeWebRulesRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DescribeWebRulesResponse ¶
type DescribeWebRulesResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeWebRulesResult `json:"result"` }
type DescribeWebRulesResult ¶
type DisableCcIpLimitRequest ¶ added in v1.0.3
type DisableCcIpLimitRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 实例id */ InstanceId string `json:"instanceId"` }
func NewDisableCcIpLimitRequest ¶ added in v1.0.3
func NewDisableCcIpLimitRequest( regionId string, instanceId string, ) *DisableCcIpLimitRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDisableCcIpLimitRequestWithAllParams ¶ added in v1.0.3
func NewDisableCcIpLimitRequestWithAllParams( regionId string, instanceId string, ) *DisableCcIpLimitRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required)
func NewDisableCcIpLimitRequestWithoutParam ¶ added in v1.0.3
func NewDisableCcIpLimitRequestWithoutParam() *DisableCcIpLimitRequest
This constructor has better compatible ability when API parameters changed
func (DisableCcIpLimitRequest) GetRegionId ¶ added in v1.0.3
func (r DisableCcIpLimitRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DisableCcIpLimitRequest) SetInstanceId ¶ added in v1.0.3
func (r *DisableCcIpLimitRequest) SetInstanceId(instanceId string)
param instanceId: 实例id(Required)
func (*DisableCcIpLimitRequest) SetRegionId ¶ added in v1.0.3
func (r *DisableCcIpLimitRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DisableCcIpLimitResponse ¶ added in v1.0.3
type DisableCcIpLimitResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DisableCcIpLimitResult `json:"result"` }
type DisableCcIpLimitResult ¶ added in v1.0.3
type DisableCcIpLimitResult struct { }
type DisableCcObserverModeRequest ¶ added in v1.0.3
type DisableCcObserverModeRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 实例id */ InstanceId string `json:"instanceId"` }
func NewDisableCcObserverModeRequest ¶ added in v1.0.3
func NewDisableCcObserverModeRequest( regionId string, instanceId string, ) *DisableCcObserverModeRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDisableCcObserverModeRequestWithAllParams ¶ added in v1.0.3
func NewDisableCcObserverModeRequestWithAllParams( regionId string, instanceId string, ) *DisableCcObserverModeRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required)
func NewDisableCcObserverModeRequestWithoutParam ¶ added in v1.0.3
func NewDisableCcObserverModeRequestWithoutParam() *DisableCcObserverModeRequest
This constructor has better compatible ability when API parameters changed
func (DisableCcObserverModeRequest) GetRegionId ¶ added in v1.0.3
func (r DisableCcObserverModeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DisableCcObserverModeRequest) SetInstanceId ¶ added in v1.0.3
func (r *DisableCcObserverModeRequest) SetInstanceId(instanceId string)
param instanceId: 实例id(Required)
func (*DisableCcObserverModeRequest) SetRegionId ¶ added in v1.0.3
func (r *DisableCcObserverModeRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DisableCcObserverModeResponse ¶ added in v1.0.3
type DisableCcObserverModeResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DisableCcObserverModeResult `json:"result"` }
type DisableCcObserverModeResult ¶ added in v1.0.3
type DisableCcObserverModeResult struct { }
type DisableInstanceCCRequest ¶
type DisableInstanceCCRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 实例id */ InstanceId string `json:"instanceId"` }
func NewDisableInstanceCCRequest ¶
func NewDisableInstanceCCRequest( regionId string, instanceId string, ) *DisableInstanceCCRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDisableInstanceCCRequestWithAllParams ¶ added in v1.0.3
func NewDisableInstanceCCRequestWithAllParams( regionId string, instanceId string, ) *DisableInstanceCCRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required)
func NewDisableInstanceCCRequestWithoutParam ¶ added in v1.0.3
func NewDisableInstanceCCRequestWithoutParam() *DisableInstanceCCRequest
This constructor has better compatible ability when API parameters changed
func (DisableInstanceCCRequest) GetRegionId ¶
func (r DisableInstanceCCRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DisableInstanceCCRequest) SetInstanceId ¶
func (r *DisableInstanceCCRequest) SetInstanceId(instanceId string)
param instanceId: 实例id(Required)
func (*DisableInstanceCCRequest) SetRegionId ¶
func (r *DisableInstanceCCRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DisableInstanceCCResponse ¶
type DisableInstanceCCResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DisableInstanceCCResult `json:"result"` }
type DisableInstanceCCResult ¶
type DisableInstanceCCResult struct { }
type DisableInstanceIpBlackListRequest ¶
type DisableInstanceIpBlackListRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 实例id */ InstanceId string `json:"instanceId"` }
func NewDisableInstanceIpBlackListRequest ¶
func NewDisableInstanceIpBlackListRequest( regionId string, instanceId string, ) *DisableInstanceIpBlackListRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDisableInstanceIpBlackListRequestWithAllParams ¶ added in v1.0.3
func NewDisableInstanceIpBlackListRequestWithAllParams( regionId string, instanceId string, ) *DisableInstanceIpBlackListRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required)
func NewDisableInstanceIpBlackListRequestWithoutParam ¶ added in v1.0.3
func NewDisableInstanceIpBlackListRequestWithoutParam() *DisableInstanceIpBlackListRequest
This constructor has better compatible ability when API parameters changed
func (DisableInstanceIpBlackListRequest) GetRegionId ¶
func (r DisableInstanceIpBlackListRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DisableInstanceIpBlackListRequest) SetInstanceId ¶
func (r *DisableInstanceIpBlackListRequest) SetInstanceId(instanceId string)
param instanceId: 实例id(Required)
func (*DisableInstanceIpBlackListRequest) SetRegionId ¶
func (r *DisableInstanceIpBlackListRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DisableInstanceIpBlackListResponse ¶
type DisableInstanceIpBlackListResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DisableInstanceIpBlackListResult `json:"result"` }
type DisableInstanceIpBlackListResult ¶
type DisableInstanceIpBlackListResult struct { }
type DisableInstanceIpWhiteListRequest ¶
type DisableInstanceIpWhiteListRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 实例id */ InstanceId string `json:"instanceId"` }
func NewDisableInstanceIpWhiteListRequest ¶
func NewDisableInstanceIpWhiteListRequest( regionId string, instanceId string, ) *DisableInstanceIpWhiteListRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDisableInstanceIpWhiteListRequestWithAllParams ¶ added in v1.0.3
func NewDisableInstanceIpWhiteListRequestWithAllParams( regionId string, instanceId string, ) *DisableInstanceIpWhiteListRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required)
func NewDisableInstanceIpWhiteListRequestWithoutParam ¶ added in v1.0.3
func NewDisableInstanceIpWhiteListRequestWithoutParam() *DisableInstanceIpWhiteListRequest
This constructor has better compatible ability when API parameters changed
func (DisableInstanceIpWhiteListRequest) GetRegionId ¶
func (r DisableInstanceIpWhiteListRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DisableInstanceIpWhiteListRequest) SetInstanceId ¶
func (r *DisableInstanceIpWhiteListRequest) SetInstanceId(instanceId string)
param instanceId: 实例id(Required)
func (*DisableInstanceIpWhiteListRequest) SetRegionId ¶
func (r *DisableInstanceIpWhiteListRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DisableInstanceIpWhiteListResponse ¶
type DisableInstanceIpWhiteListResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DisableInstanceIpWhiteListResult `json:"result"` }
type DisableInstanceIpWhiteListResult ¶
type DisableInstanceIpWhiteListResult struct { }
type DisableInstanceUrlWhiteListRequest ¶
type DisableInstanceUrlWhiteListRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 实例id */ InstanceId string `json:"instanceId"` }
func NewDisableInstanceUrlWhiteListRequest ¶
func NewDisableInstanceUrlWhiteListRequest( regionId string, instanceId string, ) *DisableInstanceUrlWhiteListRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDisableInstanceUrlWhiteListRequestWithAllParams ¶ added in v1.0.3
func NewDisableInstanceUrlWhiteListRequestWithAllParams( regionId string, instanceId string, ) *DisableInstanceUrlWhiteListRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required)
func NewDisableInstanceUrlWhiteListRequestWithoutParam ¶ added in v1.0.3
func NewDisableInstanceUrlWhiteListRequestWithoutParam() *DisableInstanceUrlWhiteListRequest
This constructor has better compatible ability when API parameters changed
func (DisableInstanceUrlWhiteListRequest) GetRegionId ¶
func (r DisableInstanceUrlWhiteListRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DisableInstanceUrlWhiteListRequest) SetInstanceId ¶
func (r *DisableInstanceUrlWhiteListRequest) SetInstanceId(instanceId string)
param instanceId: 实例id(Required)
func (*DisableInstanceUrlWhiteListRequest) SetRegionId ¶
func (r *DisableInstanceUrlWhiteListRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DisableInstanceUrlWhiteListResponse ¶
type DisableInstanceUrlWhiteListResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DisableInstanceUrlWhiteListResult `json:"result"` }
type DisableInstanceUrlWhiteListResult ¶
type DisableInstanceUrlWhiteListResult struct { }
type DisableWebRuleCCRequest ¶ added in v1.0.3
type DisableWebRuleCCRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 实例id */ InstanceId string `json:"instanceId"` /* 网站规则id */ WebRuleId string `json:"webRuleId"` }
func NewDisableWebRuleCCRequest ¶ added in v1.0.3
func NewDisableWebRuleCCRequest( regionId string, instanceId string, webRuleId string, ) *DisableWebRuleCCRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * param webRuleId: 网站规则id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDisableWebRuleCCRequestWithAllParams ¶ added in v1.0.3
func NewDisableWebRuleCCRequestWithAllParams( regionId string, instanceId string, webRuleId string, ) *DisableWebRuleCCRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * param webRuleId: 网站规则id (Required)
func NewDisableWebRuleCCRequestWithoutParam ¶ added in v1.0.3
func NewDisableWebRuleCCRequestWithoutParam() *DisableWebRuleCCRequest
This constructor has better compatible ability when API parameters changed
func (DisableWebRuleCCRequest) GetRegionId ¶ added in v1.0.3
func (r DisableWebRuleCCRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DisableWebRuleCCRequest) SetInstanceId ¶ added in v1.0.3
func (r *DisableWebRuleCCRequest) SetInstanceId(instanceId string)
param instanceId: 实例id(Required)
func (*DisableWebRuleCCRequest) SetRegionId ¶ added in v1.0.3
func (r *DisableWebRuleCCRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*DisableWebRuleCCRequest) SetWebRuleId ¶ added in v1.0.3
func (r *DisableWebRuleCCRequest) SetWebRuleId(webRuleId string)
param webRuleId: 网站规则id(Required)
type DisableWebRuleCCResponse ¶ added in v1.0.3
type DisableWebRuleCCResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DisableWebRuleCCResult `json:"result"` }
type DisableWebRuleCCResult ¶ added in v1.0.3
type DisableWebRuleCCResult struct { }
type EnableCcIpLimitRequest ¶ added in v1.0.3
type EnableCcIpLimitRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 实例id */ InstanceId string `json:"instanceId"` }
func NewEnableCcIpLimitRequest ¶ added in v1.0.3
func NewEnableCcIpLimitRequest( regionId string, instanceId string, ) *EnableCcIpLimitRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewEnableCcIpLimitRequestWithAllParams ¶ added in v1.0.3
func NewEnableCcIpLimitRequestWithAllParams( regionId string, instanceId string, ) *EnableCcIpLimitRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required)
func NewEnableCcIpLimitRequestWithoutParam ¶ added in v1.0.3
func NewEnableCcIpLimitRequestWithoutParam() *EnableCcIpLimitRequest
This constructor has better compatible ability when API parameters changed
func (EnableCcIpLimitRequest) GetRegionId ¶ added in v1.0.3
func (r EnableCcIpLimitRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*EnableCcIpLimitRequest) SetInstanceId ¶ added in v1.0.3
func (r *EnableCcIpLimitRequest) SetInstanceId(instanceId string)
param instanceId: 实例id(Required)
func (*EnableCcIpLimitRequest) SetRegionId ¶ added in v1.0.3
func (r *EnableCcIpLimitRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type EnableCcIpLimitResponse ¶ added in v1.0.3
type EnableCcIpLimitResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result EnableCcIpLimitResult `json:"result"` }
type EnableCcIpLimitResult ¶ added in v1.0.3
type EnableCcIpLimitResult struct { }
type EnableCcObserverModeRequest ¶ added in v1.0.3
type EnableCcObserverModeRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 实例id */ InstanceId string `json:"instanceId"` }
func NewEnableCcObserverModeRequest ¶ added in v1.0.3
func NewEnableCcObserverModeRequest( regionId string, instanceId string, ) *EnableCcObserverModeRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewEnableCcObserverModeRequestWithAllParams ¶ added in v1.0.3
func NewEnableCcObserverModeRequestWithAllParams( regionId string, instanceId string, ) *EnableCcObserverModeRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required)
func NewEnableCcObserverModeRequestWithoutParam ¶ added in v1.0.3
func NewEnableCcObserverModeRequestWithoutParam() *EnableCcObserverModeRequest
This constructor has better compatible ability when API parameters changed
func (EnableCcObserverModeRequest) GetRegionId ¶ added in v1.0.3
func (r EnableCcObserverModeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*EnableCcObserverModeRequest) SetInstanceId ¶ added in v1.0.3
func (r *EnableCcObserverModeRequest) SetInstanceId(instanceId string)
param instanceId: 实例id(Required)
func (*EnableCcObserverModeRequest) SetRegionId ¶ added in v1.0.3
func (r *EnableCcObserverModeRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type EnableCcObserverModeResponse ¶ added in v1.0.3
type EnableCcObserverModeResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result EnableCcObserverModeResult `json:"result"` }
type EnableCcObserverModeResult ¶ added in v1.0.3
type EnableCcObserverModeResult struct { }
type EnableInstanceCCRequest ¶
type EnableInstanceCCRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 实例id */ InstanceId string `json:"instanceId"` }
func NewEnableInstanceCCRequest ¶
func NewEnableInstanceCCRequest( regionId string, instanceId string, ) *EnableInstanceCCRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewEnableInstanceCCRequestWithAllParams ¶ added in v1.0.3
func NewEnableInstanceCCRequestWithAllParams( regionId string, instanceId string, ) *EnableInstanceCCRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required)
func NewEnableInstanceCCRequestWithoutParam ¶ added in v1.0.3
func NewEnableInstanceCCRequestWithoutParam() *EnableInstanceCCRequest
This constructor has better compatible ability when API parameters changed
func (EnableInstanceCCRequest) GetRegionId ¶
func (r EnableInstanceCCRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*EnableInstanceCCRequest) SetInstanceId ¶
func (r *EnableInstanceCCRequest) SetInstanceId(instanceId string)
param instanceId: 实例id(Required)
func (*EnableInstanceCCRequest) SetRegionId ¶
func (r *EnableInstanceCCRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type EnableInstanceCCResponse ¶
type EnableInstanceCCResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result EnableInstanceCCResult `json:"result"` }
type EnableInstanceCCResult ¶
type EnableInstanceCCResult struct { }
type EnableInstanceIpBlackListRequest ¶
type EnableInstanceIpBlackListRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 实例id */ InstanceId string `json:"instanceId"` }
func NewEnableInstanceIpBlackListRequest ¶
func NewEnableInstanceIpBlackListRequest( regionId string, instanceId string, ) *EnableInstanceIpBlackListRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewEnableInstanceIpBlackListRequestWithAllParams ¶ added in v1.0.3
func NewEnableInstanceIpBlackListRequestWithAllParams( regionId string, instanceId string, ) *EnableInstanceIpBlackListRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required)
func NewEnableInstanceIpBlackListRequestWithoutParam ¶ added in v1.0.3
func NewEnableInstanceIpBlackListRequestWithoutParam() *EnableInstanceIpBlackListRequest
This constructor has better compatible ability when API parameters changed
func (EnableInstanceIpBlackListRequest) GetRegionId ¶
func (r EnableInstanceIpBlackListRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*EnableInstanceIpBlackListRequest) SetInstanceId ¶
func (r *EnableInstanceIpBlackListRequest) SetInstanceId(instanceId string)
param instanceId: 实例id(Required)
func (*EnableInstanceIpBlackListRequest) SetRegionId ¶
func (r *EnableInstanceIpBlackListRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type EnableInstanceIpBlackListResponse ¶
type EnableInstanceIpBlackListResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result EnableInstanceIpBlackListResult `json:"result"` }
type EnableInstanceIpBlackListResult ¶
type EnableInstanceIpBlackListResult struct { }
type EnableInstanceIpWhiteListRequest ¶
type EnableInstanceIpWhiteListRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 实例id */ InstanceId string `json:"instanceId"` }
func NewEnableInstanceIpWhiteListRequest ¶
func NewEnableInstanceIpWhiteListRequest( regionId string, instanceId string, ) *EnableInstanceIpWhiteListRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewEnableInstanceIpWhiteListRequestWithAllParams ¶ added in v1.0.3
func NewEnableInstanceIpWhiteListRequestWithAllParams( regionId string, instanceId string, ) *EnableInstanceIpWhiteListRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required)
func NewEnableInstanceIpWhiteListRequestWithoutParam ¶ added in v1.0.3
func NewEnableInstanceIpWhiteListRequestWithoutParam() *EnableInstanceIpWhiteListRequest
This constructor has better compatible ability when API parameters changed
func (EnableInstanceIpWhiteListRequest) GetRegionId ¶
func (r EnableInstanceIpWhiteListRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*EnableInstanceIpWhiteListRequest) SetInstanceId ¶
func (r *EnableInstanceIpWhiteListRequest) SetInstanceId(instanceId string)
param instanceId: 实例id(Required)
func (*EnableInstanceIpWhiteListRequest) SetRegionId ¶
func (r *EnableInstanceIpWhiteListRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type EnableInstanceIpWhiteListResponse ¶
type EnableInstanceIpWhiteListResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result EnableInstanceIpWhiteListResult `json:"result"` }
type EnableInstanceIpWhiteListResult ¶
type EnableInstanceIpWhiteListResult struct { }
type EnableInstanceUrlWhiteListRequest ¶
type EnableInstanceUrlWhiteListRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 实例id */ InstanceId string `json:"instanceId"` }
func NewEnableInstanceUrlWhiteListRequest ¶
func NewEnableInstanceUrlWhiteListRequest( regionId string, instanceId string, ) *EnableInstanceUrlWhiteListRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewEnableInstanceUrlWhiteListRequestWithAllParams ¶ added in v1.0.3
func NewEnableInstanceUrlWhiteListRequestWithAllParams( regionId string, instanceId string, ) *EnableInstanceUrlWhiteListRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required)
func NewEnableInstanceUrlWhiteListRequestWithoutParam ¶ added in v1.0.3
func NewEnableInstanceUrlWhiteListRequestWithoutParam() *EnableInstanceUrlWhiteListRequest
This constructor has better compatible ability when API parameters changed
func (EnableInstanceUrlWhiteListRequest) GetRegionId ¶
func (r EnableInstanceUrlWhiteListRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*EnableInstanceUrlWhiteListRequest) SetInstanceId ¶
func (r *EnableInstanceUrlWhiteListRequest) SetInstanceId(instanceId string)
param instanceId: 实例id(Required)
func (*EnableInstanceUrlWhiteListRequest) SetRegionId ¶
func (r *EnableInstanceUrlWhiteListRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type EnableInstanceUrlWhiteListResponse ¶
type EnableInstanceUrlWhiteListResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result EnableInstanceUrlWhiteListResult `json:"result"` }
type EnableInstanceUrlWhiteListResult ¶
type EnableInstanceUrlWhiteListResult struct { }
type EnableWebRuleCCRequest ¶ added in v1.0.3
type EnableWebRuleCCRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 实例id */ InstanceId string `json:"instanceId"` /* 网站规则id */ WebRuleId string `json:"webRuleId"` }
func NewEnableWebRuleCCRequest ¶ added in v1.0.3
func NewEnableWebRuleCCRequest( regionId string, instanceId string, webRuleId string, ) *EnableWebRuleCCRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * param webRuleId: 网站规则id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewEnableWebRuleCCRequestWithAllParams ¶ added in v1.0.3
func NewEnableWebRuleCCRequestWithAllParams( regionId string, instanceId string, webRuleId string, ) *EnableWebRuleCCRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * param webRuleId: 网站规则id (Required)
func NewEnableWebRuleCCRequestWithoutParam ¶ added in v1.0.3
func NewEnableWebRuleCCRequestWithoutParam() *EnableWebRuleCCRequest
This constructor has better compatible ability when API parameters changed
func (EnableWebRuleCCRequest) GetRegionId ¶ added in v1.0.3
func (r EnableWebRuleCCRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*EnableWebRuleCCRequest) SetInstanceId ¶ added in v1.0.3
func (r *EnableWebRuleCCRequest) SetInstanceId(instanceId string)
param instanceId: 实例id(Required)
func (*EnableWebRuleCCRequest) SetRegionId ¶ added in v1.0.3
func (r *EnableWebRuleCCRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*EnableWebRuleCCRequest) SetWebRuleId ¶ added in v1.0.3
func (r *EnableWebRuleCCRequest) SetWebRuleId(webRuleId string)
param webRuleId: 网站规则id(Required)
type EnableWebRuleCCResponse ¶ added in v1.0.3
type EnableWebRuleCCResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result EnableWebRuleCCResult `json:"result"` }
type EnableWebRuleCCResult ¶ added in v1.0.3
type EnableWebRuleCCResult struct { }
type FwdGraphRequest ¶ added in v1.0.3
type FwdGraphRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 开始时间,最多查最近30天,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ssZ */ StartTime string `json:"startTime"` /* 查询的结束时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ssZ */ EndTime string `json:"endTime"` /* 高防实例id,可以传0个或多个 (Optional) */ InstanceId []string `json:"instanceId"` }
func NewFwdGraphRequest ¶ added in v1.0.3
func NewFwdGraphRequest( regionId string, startTime string, endTime string, ) *FwdGraphRequest
* param regionId: Region ID (Required) * param startTime: 开始时间,最多查最近30天,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ssZ (Required) * param endTime: 查询的结束时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ssZ (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewFwdGraphRequestWithAllParams ¶ added in v1.0.3
func NewFwdGraphRequestWithAllParams( regionId string, startTime string, endTime string, instanceId []string, ) *FwdGraphRequest
* param regionId: Region ID (Required) * param startTime: 开始时间,最多查最近30天,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ssZ (Required) * param endTime: 查询的结束时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ssZ (Required) * param instanceId: 高防实例id,可以传0个或多个 (Optional)
func NewFwdGraphRequestWithoutParam ¶ added in v1.0.3
func NewFwdGraphRequestWithoutParam() *FwdGraphRequest
This constructor has better compatible ability when API parameters changed
func (FwdGraphRequest) GetRegionId ¶ added in v1.0.3
func (r FwdGraphRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*FwdGraphRequest) SetEndTime ¶ added in v1.0.3
func (r *FwdGraphRequest) SetEndTime(endTime string)
param endTime: 查询的结束时间,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ssZ(Required)
func (*FwdGraphRequest) SetInstanceId ¶ added in v1.0.3
func (r *FwdGraphRequest) SetInstanceId(instanceId []string)
param instanceId: 高防实例id,可以传0个或多个(Optional)
func (*FwdGraphRequest) SetRegionId ¶ added in v1.0.3
func (r *FwdGraphRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*FwdGraphRequest) SetStartTime ¶ added in v1.0.3
func (r *FwdGraphRequest) SetStartTime(startTime string)
param startTime: 开始时间,最多查最近30天,UTC时间,格式:yyyy-MM-dd'T'HH:mm:ssZ(Required)
type FwdGraphResponse ¶ added in v1.0.3
type FwdGraphResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result FwdGraphResult `json:"result"` }
type FwdGraphResult ¶ added in v1.0.3
type ModifyForwardRuleRequest ¶
type ModifyForwardRuleRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 实例id */ InstanceId string `json:"instanceId"` /* 转发规则id */ ForwardRuleId string `json:"forwardRuleId"` /* 非网站类规则参数 */ ForwardRuleSpec *ipanti.ForwardRuleSpec `json:"forwardRuleSpec"` }
func NewModifyForwardRuleRequest ¶
func NewModifyForwardRuleRequest( regionId string, instanceId string, forwardRuleId string, forwardRuleSpec *ipanti.ForwardRuleSpec, ) *ModifyForwardRuleRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * param forwardRuleId: 转发规则id (Required) * param forwardRuleSpec: 非网站类规则参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewModifyForwardRuleRequestWithAllParams ¶ added in v1.0.3
func NewModifyForwardRuleRequestWithAllParams( regionId string, instanceId string, forwardRuleId string, forwardRuleSpec *ipanti.ForwardRuleSpec, ) *ModifyForwardRuleRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * param forwardRuleId: 转发规则id (Required) * param forwardRuleSpec: 非网站类规则参数 (Required)
func NewModifyForwardRuleRequestWithoutParam ¶ added in v1.0.3
func NewModifyForwardRuleRequestWithoutParam() *ModifyForwardRuleRequest
This constructor has better compatible ability when API parameters changed
func (ModifyForwardRuleRequest) GetRegionId ¶
func (r ModifyForwardRuleRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyForwardRuleRequest) SetForwardRuleId ¶
func (r *ModifyForwardRuleRequest) SetForwardRuleId(forwardRuleId string)
param forwardRuleId: 转发规则id(Required)
func (*ModifyForwardRuleRequest) SetForwardRuleSpec ¶
func (r *ModifyForwardRuleRequest) SetForwardRuleSpec(forwardRuleSpec *ipanti.ForwardRuleSpec)
param forwardRuleSpec: 非网站类规则参数(Required)
func (*ModifyForwardRuleRequest) SetInstanceId ¶
func (r *ModifyForwardRuleRequest) SetInstanceId(instanceId string)
param instanceId: 实例id(Required)
func (*ModifyForwardRuleRequest) SetRegionId ¶
func (r *ModifyForwardRuleRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type ModifyForwardRuleResponse ¶
type ModifyForwardRuleResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyForwardRuleResult `json:"result"` }
type ModifyForwardRuleResult ¶
type ModifyForwardRuleResult struct { }
type ModifyInstanceCCRequest ¶
type ModifyInstanceCCRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 实例id */ InstanceId string `json:"instanceId"` /* cc参数 */ CCSpec *ipanti.CCSpec `json:"cCSpec"` }
func NewModifyInstanceCCRequest ¶
func NewModifyInstanceCCRequest( regionId string, instanceId string, cCSpec *ipanti.CCSpec, ) *ModifyInstanceCCRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * param cCSpec: cc参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewModifyInstanceCCRequestWithAllParams ¶ added in v1.0.3
func NewModifyInstanceCCRequestWithAllParams( regionId string, instanceId string, cCSpec *ipanti.CCSpec, ) *ModifyInstanceCCRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * param cCSpec: cc参数 (Required)
func NewModifyInstanceCCRequestWithoutParam ¶ added in v1.0.3
func NewModifyInstanceCCRequestWithoutParam() *ModifyInstanceCCRequest
This constructor has better compatible ability when API parameters changed
func (ModifyInstanceCCRequest) GetRegionId ¶
func (r ModifyInstanceCCRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyInstanceCCRequest) SetCCSpec ¶
func (r *ModifyInstanceCCRequest) SetCCSpec(cCSpec *ipanti.CCSpec)
param cCSpec: cc参数(Required)
func (*ModifyInstanceCCRequest) SetInstanceId ¶
func (r *ModifyInstanceCCRequest) SetInstanceId(instanceId string)
param instanceId: 实例id(Required)
func (*ModifyInstanceCCRequest) SetRegionId ¶
func (r *ModifyInstanceCCRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type ModifyInstanceCCResponse ¶
type ModifyInstanceCCResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyInstanceCCResult `json:"result"` }
type ModifyInstanceCCResult ¶
type ModifyInstanceCCResult struct { }
type ModifyInstanceIpBlackListRequest ¶
type ModifyInstanceIpBlackListRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 实例id */ InstanceId string `json:"instanceId"` /* ip黑名单列表 */ IpBlackList []string `json:"ipBlackList"` }
func NewModifyInstanceIpBlackListRequest ¶
func NewModifyInstanceIpBlackListRequest( regionId string, instanceId string, ipBlackList []string, ) *ModifyInstanceIpBlackListRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * param ipBlackList: ip黑名单列表 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewModifyInstanceIpBlackListRequestWithAllParams ¶ added in v1.0.3
func NewModifyInstanceIpBlackListRequestWithAllParams( regionId string, instanceId string, ipBlackList []string, ) *ModifyInstanceIpBlackListRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * param ipBlackList: ip黑名单列表 (Required)
func NewModifyInstanceIpBlackListRequestWithoutParam ¶ added in v1.0.3
func NewModifyInstanceIpBlackListRequestWithoutParam() *ModifyInstanceIpBlackListRequest
This constructor has better compatible ability when API parameters changed
func (ModifyInstanceIpBlackListRequest) GetRegionId ¶
func (r ModifyInstanceIpBlackListRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyInstanceIpBlackListRequest) SetInstanceId ¶
func (r *ModifyInstanceIpBlackListRequest) SetInstanceId(instanceId string)
param instanceId: 实例id(Required)
func (*ModifyInstanceIpBlackListRequest) SetIpBlackList ¶
func (r *ModifyInstanceIpBlackListRequest) SetIpBlackList(ipBlackList []string)
param ipBlackList: ip黑名单列表(Required)
func (*ModifyInstanceIpBlackListRequest) SetRegionId ¶
func (r *ModifyInstanceIpBlackListRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type ModifyInstanceIpBlackListResponse ¶
type ModifyInstanceIpBlackListResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyInstanceIpBlackListResult `json:"result"` }
type ModifyInstanceIpBlackListResult ¶
type ModifyInstanceIpBlackListResult struct { }
type ModifyInstanceIpWhiteListRequest ¶
type ModifyInstanceIpWhiteListRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 实例id */ InstanceId string `json:"instanceId"` /* ip白名单列表 */ IpWhiteList []string `json:"ipWhiteList"` }
func NewModifyInstanceIpWhiteListRequest ¶
func NewModifyInstanceIpWhiteListRequest( regionId string, instanceId string, ipWhiteList []string, ) *ModifyInstanceIpWhiteListRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * param ipWhiteList: ip白名单列表 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewModifyInstanceIpWhiteListRequestWithAllParams ¶ added in v1.0.3
func NewModifyInstanceIpWhiteListRequestWithAllParams( regionId string, instanceId string, ipWhiteList []string, ) *ModifyInstanceIpWhiteListRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * param ipWhiteList: ip白名单列表 (Required)
func NewModifyInstanceIpWhiteListRequestWithoutParam ¶ added in v1.0.3
func NewModifyInstanceIpWhiteListRequestWithoutParam() *ModifyInstanceIpWhiteListRequest
This constructor has better compatible ability when API parameters changed
func (ModifyInstanceIpWhiteListRequest) GetRegionId ¶
func (r ModifyInstanceIpWhiteListRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyInstanceIpWhiteListRequest) SetInstanceId ¶
func (r *ModifyInstanceIpWhiteListRequest) SetInstanceId(instanceId string)
param instanceId: 实例id(Required)
func (*ModifyInstanceIpWhiteListRequest) SetIpWhiteList ¶
func (r *ModifyInstanceIpWhiteListRequest) SetIpWhiteList(ipWhiteList []string)
param ipWhiteList: ip白名单列表(Required)
func (*ModifyInstanceIpWhiteListRequest) SetRegionId ¶
func (r *ModifyInstanceIpWhiteListRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type ModifyInstanceIpWhiteListResponse ¶
type ModifyInstanceIpWhiteListResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyInstanceIpWhiteListResult `json:"result"` }
type ModifyInstanceIpWhiteListResult ¶
type ModifyInstanceIpWhiteListResult struct { }
type ModifyInstanceNameRequest ¶
type ModifyInstanceNameRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 实例id */ InstanceId string `json:"instanceId"` /* 新的实例名称 */ Name string `json:"name"` }
func NewModifyInstanceNameRequest ¶
func NewModifyInstanceNameRequest( regionId string, instanceId string, name string, ) *ModifyInstanceNameRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * param name: 新的实例名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewModifyInstanceNameRequestWithAllParams ¶ added in v1.0.3
func NewModifyInstanceNameRequestWithAllParams( regionId string, instanceId string, name string, ) *ModifyInstanceNameRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * param name: 新的实例名称 (Required)
func NewModifyInstanceNameRequestWithoutParam ¶ added in v1.0.3
func NewModifyInstanceNameRequestWithoutParam() *ModifyInstanceNameRequest
This constructor has better compatible ability when API parameters changed
func (ModifyInstanceNameRequest) GetRegionId ¶
func (r ModifyInstanceNameRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyInstanceNameRequest) SetInstanceId ¶
func (r *ModifyInstanceNameRequest) SetInstanceId(instanceId string)
param instanceId: 实例id(Required)
func (*ModifyInstanceNameRequest) SetName ¶
func (r *ModifyInstanceNameRequest) SetName(name string)
param name: 新的实例名称(Required)
func (*ModifyInstanceNameRequest) SetRegionId ¶
func (r *ModifyInstanceNameRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type ModifyInstanceNameResponse ¶
type ModifyInstanceNameResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyInstanceNameResult `json:"result"` }
type ModifyInstanceNameResult ¶
type ModifyInstanceNameResult struct { }
type ModifyInstanceUrlWhiteListRequest ¶
type ModifyInstanceUrlWhiteListRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 实例id */ InstanceId string `json:"instanceId"` /* 网站类规则参数 */ UrlWhiteList []string `json:"urlWhiteList"` }
func NewModifyInstanceUrlWhiteListRequest ¶
func NewModifyInstanceUrlWhiteListRequest( regionId string, instanceId string, urlWhiteList []string, ) *ModifyInstanceUrlWhiteListRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * param urlWhiteList: 网站类规则参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewModifyInstanceUrlWhiteListRequestWithAllParams ¶ added in v1.0.3
func NewModifyInstanceUrlWhiteListRequestWithAllParams( regionId string, instanceId string, urlWhiteList []string, ) *ModifyInstanceUrlWhiteListRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * param urlWhiteList: 网站类规则参数 (Required)
func NewModifyInstanceUrlWhiteListRequestWithoutParam ¶ added in v1.0.3
func NewModifyInstanceUrlWhiteListRequestWithoutParam() *ModifyInstanceUrlWhiteListRequest
This constructor has better compatible ability when API parameters changed
func (ModifyInstanceUrlWhiteListRequest) GetRegionId ¶
func (r ModifyInstanceUrlWhiteListRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyInstanceUrlWhiteListRequest) SetInstanceId ¶
func (r *ModifyInstanceUrlWhiteListRequest) SetInstanceId(instanceId string)
param instanceId: 实例id(Required)
func (*ModifyInstanceUrlWhiteListRequest) SetRegionId ¶
func (r *ModifyInstanceUrlWhiteListRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*ModifyInstanceUrlWhiteListRequest) SetUrlWhiteList ¶
func (r *ModifyInstanceUrlWhiteListRequest) SetUrlWhiteList(urlWhiteList []string)
param urlWhiteList: 网站类规则参数(Required)
type ModifyInstanceUrlWhiteListResponse ¶
type ModifyInstanceUrlWhiteListResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyInstanceUrlWhiteListResult `json:"result"` }
type ModifyInstanceUrlWhiteListResult ¶
type ModifyInstanceUrlWhiteListResult struct { }
type ModifyWebRuleRequest ¶
type ModifyWebRuleRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 实例id */ InstanceId string `json:"instanceId"` /* 网站规则id */ WebRuleId string `json:"webRuleId"` /* 网站类规则参数 */ WebRuleSpec *ipanti.WebRuleSpec `json:"webRuleSpec"` }
func NewModifyWebRuleRequest ¶
func NewModifyWebRuleRequest( regionId string, instanceId string, webRuleId string, webRuleSpec *ipanti.WebRuleSpec, ) *ModifyWebRuleRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * param webRuleId: 网站规则id (Required) * param webRuleSpec: 网站类规则参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewModifyWebRuleRequestWithAllParams ¶ added in v1.0.3
func NewModifyWebRuleRequestWithAllParams( regionId string, instanceId string, webRuleId string, webRuleSpec *ipanti.WebRuleSpec, ) *ModifyWebRuleRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * param webRuleId: 网站规则id (Required) * param webRuleSpec: 网站类规则参数 (Required)
func NewModifyWebRuleRequestWithoutParam ¶ added in v1.0.3
func NewModifyWebRuleRequestWithoutParam() *ModifyWebRuleRequest
This constructor has better compatible ability when API parameters changed
func (ModifyWebRuleRequest) GetRegionId ¶
func (r ModifyWebRuleRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyWebRuleRequest) SetInstanceId ¶
func (r *ModifyWebRuleRequest) SetInstanceId(instanceId string)
param instanceId: 实例id(Required)
func (*ModifyWebRuleRequest) SetRegionId ¶
func (r *ModifyWebRuleRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*ModifyWebRuleRequest) SetWebRuleId ¶
func (r *ModifyWebRuleRequest) SetWebRuleId(webRuleId string)
param webRuleId: 网站规则id(Required)
func (*ModifyWebRuleRequest) SetWebRuleSpec ¶
func (r *ModifyWebRuleRequest) SetWebRuleSpec(webRuleSpec *ipanti.WebRuleSpec)
param webRuleSpec: 网站类规则参数(Required)
type ModifyWebRuleResponse ¶
type ModifyWebRuleResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyWebRuleResult `json:"result"` }
type ModifyWebRuleResult ¶
type ModifyWebRuleResult struct { }
type SetCcIpLimitRequest ¶ added in v1.0.3
type SetCcIpLimitRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 实例id */ InstanceId string `json:"instanceId"` /* cc参数 */ CCSpec *ipanti.CcIpLimitSpec `json:"cCSpec"` }
func NewSetCcIpLimitRequest ¶ added in v1.0.3
func NewSetCcIpLimitRequest( regionId string, instanceId string, cCSpec *ipanti.CcIpLimitSpec, ) *SetCcIpLimitRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * param cCSpec: cc参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetCcIpLimitRequestWithAllParams ¶ added in v1.0.3
func NewSetCcIpLimitRequestWithAllParams( regionId string, instanceId string, cCSpec *ipanti.CcIpLimitSpec, ) *SetCcIpLimitRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * param cCSpec: cc参数 (Required)
func NewSetCcIpLimitRequestWithoutParam ¶ added in v1.0.3
func NewSetCcIpLimitRequestWithoutParam() *SetCcIpLimitRequest
This constructor has better compatible ability when API parameters changed
func (SetCcIpLimitRequest) GetRegionId ¶ added in v1.0.3
func (r SetCcIpLimitRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetCcIpLimitRequest) SetCCSpec ¶ added in v1.0.3
func (r *SetCcIpLimitRequest) SetCCSpec(cCSpec *ipanti.CcIpLimitSpec)
param cCSpec: cc参数(Required)
func (*SetCcIpLimitRequest) SetInstanceId ¶ added in v1.0.3
func (r *SetCcIpLimitRequest) SetInstanceId(instanceId string)
param instanceId: 实例id(Required)
func (*SetCcIpLimitRequest) SetRegionId ¶ added in v1.0.3
func (r *SetCcIpLimitRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type SetCcIpLimitResponse ¶ added in v1.0.3
type SetCcIpLimitResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result SetCcIpLimitResult `json:"result"` }
type SetCcIpLimitResult ¶ added in v1.0.3
type SetCcIpLimitResult struct { }
type SwitchForwardRuleOriginRequest ¶ added in v1.0.3
type SwitchForwardRuleOriginRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 实例id */ InstanceId string `json:"instanceId"` /* 转发规则id */ ForwardRuleId string `json:"forwardRuleId"` }
func NewSwitchForwardRuleOriginRequest ¶ added in v1.0.3
func NewSwitchForwardRuleOriginRequest( regionId string, instanceId string, forwardRuleId string, ) *SwitchForwardRuleOriginRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * param forwardRuleId: 转发规则id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSwitchForwardRuleOriginRequestWithAllParams ¶ added in v1.0.3
func NewSwitchForwardRuleOriginRequestWithAllParams( regionId string, instanceId string, forwardRuleId string, ) *SwitchForwardRuleOriginRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * param forwardRuleId: 转发规则id (Required)
func NewSwitchForwardRuleOriginRequestWithoutParam ¶ added in v1.0.3
func NewSwitchForwardRuleOriginRequestWithoutParam() *SwitchForwardRuleOriginRequest
This constructor has better compatible ability when API parameters changed
func (SwitchForwardRuleOriginRequest) GetRegionId ¶ added in v1.0.3
func (r SwitchForwardRuleOriginRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SwitchForwardRuleOriginRequest) SetForwardRuleId ¶ added in v1.0.3
func (r *SwitchForwardRuleOriginRequest) SetForwardRuleId(forwardRuleId string)
param forwardRuleId: 转发规则id(Required)
func (*SwitchForwardRuleOriginRequest) SetInstanceId ¶ added in v1.0.3
func (r *SwitchForwardRuleOriginRequest) SetInstanceId(instanceId string)
param instanceId: 实例id(Required)
func (*SwitchForwardRuleOriginRequest) SetRegionId ¶ added in v1.0.3
func (r *SwitchForwardRuleOriginRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type SwitchForwardRuleOriginResponse ¶ added in v1.0.3
type SwitchForwardRuleOriginResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result SwitchForwardRuleOriginResult `json:"result"` }
type SwitchForwardRuleOriginResult ¶ added in v1.0.3
type SwitchForwardRuleOriginResult struct { }
type SwitchForwardRuleProtectRequest ¶ added in v1.0.3
type SwitchForwardRuleProtectRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 实例id */ InstanceId string `json:"instanceId"` /* 转发规则id */ ForwardRuleId string `json:"forwardRuleId"` }
func NewSwitchForwardRuleProtectRequest ¶ added in v1.0.3
func NewSwitchForwardRuleProtectRequest( regionId string, instanceId string, forwardRuleId string, ) *SwitchForwardRuleProtectRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * param forwardRuleId: 转发规则id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSwitchForwardRuleProtectRequestWithAllParams ¶ added in v1.0.3
func NewSwitchForwardRuleProtectRequestWithAllParams( regionId string, instanceId string, forwardRuleId string, ) *SwitchForwardRuleProtectRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * param forwardRuleId: 转发规则id (Required)
func NewSwitchForwardRuleProtectRequestWithoutParam ¶ added in v1.0.3
func NewSwitchForwardRuleProtectRequestWithoutParam() *SwitchForwardRuleProtectRequest
This constructor has better compatible ability when API parameters changed
func (SwitchForwardRuleProtectRequest) GetRegionId ¶ added in v1.0.3
func (r SwitchForwardRuleProtectRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SwitchForwardRuleProtectRequest) SetForwardRuleId ¶ added in v1.0.3
func (r *SwitchForwardRuleProtectRequest) SetForwardRuleId(forwardRuleId string)
param forwardRuleId: 转发规则id(Required)
func (*SwitchForwardRuleProtectRequest) SetInstanceId ¶ added in v1.0.3
func (r *SwitchForwardRuleProtectRequest) SetInstanceId(instanceId string)
param instanceId: 实例id(Required)
func (*SwitchForwardRuleProtectRequest) SetRegionId ¶ added in v1.0.3
func (r *SwitchForwardRuleProtectRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type SwitchForwardRuleProtectResponse ¶ added in v1.0.3
type SwitchForwardRuleProtectResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result SwitchForwardRuleProtectResult `json:"result"` }
type SwitchForwardRuleProtectResult ¶ added in v1.0.3
type SwitchForwardRuleProtectResult struct { }
type SwitchWebRuleOriginRequest ¶ added in v1.0.3
type SwitchWebRuleOriginRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 实例id */ InstanceId string `json:"instanceId"` /* 网站规则id */ WebRuleId string `json:"webRuleId"` }
func NewSwitchWebRuleOriginRequest ¶ added in v1.0.3
func NewSwitchWebRuleOriginRequest( regionId string, instanceId string, webRuleId string, ) *SwitchWebRuleOriginRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * param webRuleId: 网站规则id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSwitchWebRuleOriginRequestWithAllParams ¶ added in v1.0.3
func NewSwitchWebRuleOriginRequestWithAllParams( regionId string, instanceId string, webRuleId string, ) *SwitchWebRuleOriginRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * param webRuleId: 网站规则id (Required)
func NewSwitchWebRuleOriginRequestWithoutParam ¶ added in v1.0.3
func NewSwitchWebRuleOriginRequestWithoutParam() *SwitchWebRuleOriginRequest
This constructor has better compatible ability when API parameters changed
func (SwitchWebRuleOriginRequest) GetRegionId ¶ added in v1.0.3
func (r SwitchWebRuleOriginRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SwitchWebRuleOriginRequest) SetInstanceId ¶ added in v1.0.3
func (r *SwitchWebRuleOriginRequest) SetInstanceId(instanceId string)
param instanceId: 实例id(Required)
func (*SwitchWebRuleOriginRequest) SetRegionId ¶ added in v1.0.3
func (r *SwitchWebRuleOriginRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*SwitchWebRuleOriginRequest) SetWebRuleId ¶ added in v1.0.3
func (r *SwitchWebRuleOriginRequest) SetWebRuleId(webRuleId string)
param webRuleId: 网站规则id(Required)
type SwitchWebRuleOriginResponse ¶ added in v1.0.3
type SwitchWebRuleOriginResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result SwitchWebRuleOriginResult `json:"result"` }
type SwitchWebRuleOriginResult ¶ added in v1.0.3
type SwitchWebRuleOriginResult struct { }
type SwitchWebRuleProtectRequest ¶ added in v1.0.3
type SwitchWebRuleProtectRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 实例id */ InstanceId string `json:"instanceId"` /* 网站规则id */ WebRuleId string `json:"webRuleId"` }
func NewSwitchWebRuleProtectRequest ¶ added in v1.0.3
func NewSwitchWebRuleProtectRequest( regionId string, instanceId string, webRuleId string, ) *SwitchWebRuleProtectRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * param webRuleId: 网站规则id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSwitchWebRuleProtectRequestWithAllParams ¶ added in v1.0.3
func NewSwitchWebRuleProtectRequestWithAllParams( regionId string, instanceId string, webRuleId string, ) *SwitchWebRuleProtectRequest
* param regionId: Region ID (Required) * param instanceId: 实例id (Required) * param webRuleId: 网站规则id (Required)
func NewSwitchWebRuleProtectRequestWithoutParam ¶ added in v1.0.3
func NewSwitchWebRuleProtectRequestWithoutParam() *SwitchWebRuleProtectRequest
This constructor has better compatible ability when API parameters changed
func (SwitchWebRuleProtectRequest) GetRegionId ¶ added in v1.0.3
func (r SwitchWebRuleProtectRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SwitchWebRuleProtectRequest) SetInstanceId ¶ added in v1.0.3
func (r *SwitchWebRuleProtectRequest) SetInstanceId(instanceId string)
param instanceId: 实例id(Required)
func (*SwitchWebRuleProtectRequest) SetRegionId ¶ added in v1.0.3
func (r *SwitchWebRuleProtectRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*SwitchWebRuleProtectRequest) SetWebRuleId ¶ added in v1.0.3
func (r *SwitchWebRuleProtectRequest) SetWebRuleId(webRuleId string)
param webRuleId: 网站规则id(Required)
type SwitchWebRuleProtectResponse ¶ added in v1.0.3
type SwitchWebRuleProtectResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result SwitchWebRuleProtectResult `json:"result"` }
type SwitchWebRuleProtectResult ¶ added in v1.0.3
type SwitchWebRuleProtectResult struct { }
Source Files ¶
- CcGraph.go
- CreateForwardRule.go
- CreateInstance.go
- CreateWebRule.go
- DdosGraph.go
- DeleteForwardRule.go
- DeleteWebRule.go
- DescribeCcAttackLogDetails.go
- DescribeCcAttackLogs.go
- DescribeDDosAttackLogs.go
- DescribeForwardRule.go
- DescribeForwardRules.go
- DescribeInstance.go
- DescribeInstances.go
- DescribeWebRule.go
- DescribeWebRules.go
- DisableCcIpLimit.go
- DisableCcObserverMode.go
- DisableInstanceCC.go
- DisableInstanceIpBlackList.go
- DisableInstanceIpWhiteList.go
- DisableInstanceUrlWhiteList.go
- DisableWebRuleCC.go
- EnableCcIpLimit.go
- EnableCcObserverMode.go
- EnableInstanceCC.go
- EnableInstanceIpBlackList.go
- EnableInstanceIpWhiteList.go
- EnableInstanceUrlWhiteList.go
- EnableWebRuleCC.go
- FwdGraph.go
- ModifyForwardRule.go
- ModifyInstanceCC.go
- ModifyInstanceIpBlackList.go
- ModifyInstanceIpWhiteList.go
- ModifyInstanceName.go
- ModifyInstanceUrlWhiteList.go
- ModifyWebRule.go
- SetCcIpLimit.go
- SwitchForwardRuleOrigin.go
- SwitchForwardRuleProtect.go
- SwitchWebRuleOrigin.go
- SwitchWebRuleProtect.go