apis

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 28, 2018 License: Apache-2.0 Imports: 2 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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 * param instanceId: 实例id * param forwardRuleSpec: 非网站类规则参数

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)

func (*CreateForwardRuleRequest) SetInstanceId

func (r *CreateForwardRuleRequest) SetInstanceId(instanceId string)

func (*CreateForwardRuleRequest) SetRegionId

func (r *CreateForwardRuleRequest) SetRegionId(regionId string)

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 * param instanceSpec: 实例规格参数

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)

func (*CreateInstanceRequest) SetRegionId

func (r *CreateInstanceRequest) SetRegionId(regionId string)

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 * param instanceId: 实例id * param webRuleSpec: 网站类规则参数

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)

func (*CreateWebRuleRequest) SetRegionId

func (r *CreateWebRuleRequest) SetRegionId(regionId string)

func (*CreateWebRuleRequest) SetWebRuleSpec

func (r *CreateWebRuleRequest) SetWebRuleSpec(webRuleSpec *ipanti.WebRuleSpec)

type CreateWebRuleResponse

type CreateWebRuleResponse struct {
	RequestID string              `json:"requestId"`
	Error     core.ErrorResponse  `json:"error"`
	Result    CreateWebRuleResult `json:"result"`
}

type CreateWebRuleResult

type CreateWebRuleResult struct {
}

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 * param instanceId: 实例id * param forwardRuleId: 转发规则id

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)

func (*DeleteForwardRuleRequest) SetInstanceId

func (r *DeleteForwardRuleRequest) SetInstanceId(instanceId string)

func (*DeleteForwardRuleRequest) SetRegionId

func (r *DeleteForwardRuleRequest) SetRegionId(regionId string)

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 * param instanceId: 实例id * param webRuleId: 网站规则id

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)

func (*DeleteWebRuleRequest) SetRegionId

func (r *DeleteWebRuleRequest) SetRegionId(regionId string)

func (*DeleteWebRuleRequest) SetWebRuleId

func (r *DeleteWebRuleRequest) SetWebRuleId(webRuleId string)

type DeleteWebRuleResponse

type DeleteWebRuleResponse struct {
	RequestID string              `json:"requestId"`
	Error     core.ErrorResponse  `json:"error"`
	Result    DeleteWebRuleResult `json:"result"`
}

type DeleteWebRuleResult

type DeleteWebRuleResult struct {
}

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 * param instanceId: 实例id * param forwardRuleId: 转发规则id

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)

func (*DescribeForwardRuleRequest) SetInstanceId

func (r *DescribeForwardRuleRequest) SetInstanceId(instanceId string)

func (*DescribeForwardRuleRequest) SetRegionId

func (r *DescribeForwardRuleRequest) SetRegionId(regionId string)

type DescribeForwardRuleResponse

type DescribeForwardRuleResponse struct {
	RequestID string                    `json:"requestId"`
	Error     core.ErrorResponse        `json:"error"`
	Result    DescribeForwardRuleResult `json:"result"`
}

type DescribeForwardRuleResult

type DescribeForwardRuleResult struct {
	ForwardRule ipanti.ForwardRule `json:"forwardRule"`
}

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 * param instanceId: 实例id * param pageNumber: 页码;默认为1 (Optional) * param pageSize: 分页大小;默认为20;取值范围[10, 100] (Optional)

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)

func (*DescribeForwardRulesRequest) SetPageNumber

func (r *DescribeForwardRulesRequest) SetPageNumber(pageNumber int)

func (*DescribeForwardRulesRequest) SetPageSize

func (r *DescribeForwardRulesRequest) SetPageSize(pageSize int)

func (*DescribeForwardRulesRequest) SetRegionId

func (r *DescribeForwardRulesRequest) SetRegionId(regionId string)

type DescribeForwardRulesResponse

type DescribeForwardRulesResponse struct {
	RequestID string                     `json:"requestId"`
	Error     core.ErrorResponse         `json:"error"`
	Result    DescribeForwardRulesResult `json:"result"`
}

type DescribeForwardRulesResult

type DescribeForwardRulesResult struct {
	ForwardRules []ipanti.ForwardRule `json:"forwardRules"`
	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 * param instanceId: 实例id

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)

func (*DescribeInstanceRequest) SetRegionId

func (r *DescribeInstanceRequest) SetRegionId(regionId string)

type DescribeInstanceResponse

type DescribeInstanceResponse struct {
	RequestID string                 `json:"requestId"`
	Error     core.ErrorResponse     `json:"error"`
	Result    DescribeInstanceResult `json:"result"`
}

type DescribeInstanceResult

type DescribeInstanceResult struct {
	Instance ipanti.Instance `json:"instance"`
}

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 * param pageNumber: 页码;默认为1 (Optional) * param pageSize: 分页大小;默认为20;取值范围[10, 100] (Optional) * param name: 实例名称,可模糊匹配 (Optional)

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)

func (*DescribeInstancesRequest) SetPageNumber

func (r *DescribeInstancesRequest) SetPageNumber(pageNumber int)

func (*DescribeInstancesRequest) SetPageSize

func (r *DescribeInstancesRequest) SetPageSize(pageSize int)

func (*DescribeInstancesRequest) SetRegionId

func (r *DescribeInstancesRequest) SetRegionId(regionId string)

type DescribeInstancesResponse

type DescribeInstancesResponse struct {
	RequestID string                  `json:"requestId"`
	Error     core.ErrorResponse      `json:"error"`
	Result    DescribeInstancesResult `json:"result"`
}

type DescribeInstancesResult

type DescribeInstancesResult struct {
	Instances  []ipanti.Instance `json:"instances"`
	TotalCount int               `json:"totalCount"`
}

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 * param instanceId: 实例id * param webRuleId: 网站规则id

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)

func (*DescribeWebRuleRequest) SetRegionId

func (r *DescribeWebRuleRequest) SetRegionId(regionId string)

func (*DescribeWebRuleRequest) SetWebRuleId

func (r *DescribeWebRuleRequest) SetWebRuleId(webRuleId string)

type DescribeWebRuleResponse

type DescribeWebRuleResponse struct {
	RequestID string                `json:"requestId"`
	Error     core.ErrorResponse    `json:"error"`
	Result    DescribeWebRuleResult `json:"result"`
}

type DescribeWebRuleResult

type DescribeWebRuleResult struct {
	WebRule ipanti.WebRule `json:"webRule"`
}

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 * param instanceId: 实例id * param pageNumber: 页码;默认为1 (Optional) * param pageSize: 分页大小;默认为20;取值范围[10, 100] (Optional)

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)

func (*DescribeWebRulesRequest) SetPageNumber

func (r *DescribeWebRulesRequest) SetPageNumber(pageNumber int)

func (*DescribeWebRulesRequest) SetPageSize

func (r *DescribeWebRulesRequest) SetPageSize(pageSize int)

func (*DescribeWebRulesRequest) SetRegionId

func (r *DescribeWebRulesRequest) SetRegionId(regionId string)

type DescribeWebRulesResponse

type DescribeWebRulesResponse struct {
	RequestID string                 `json:"requestId"`
	Error     core.ErrorResponse     `json:"error"`
	Result    DescribeWebRulesResult `json:"result"`
}

type DescribeWebRulesResult

type DescribeWebRulesResult struct {
	WebRules   []ipanti.WebRule `json:"webRules"`
	TotalCount int              `json:"totalCount"`
}

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 * param instanceId: 实例id

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)

func (*DisableInstanceCCRequest) SetRegionId

func (r *DisableInstanceCCRequest) SetRegionId(regionId string)

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 * param instanceId: 实例id

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)

func (*DisableInstanceIpBlackListRequest) SetRegionId

func (r *DisableInstanceIpBlackListRequest) SetRegionId(regionId string)

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 * param instanceId: 实例id

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)

func (*DisableInstanceIpWhiteListRequest) SetRegionId

func (r *DisableInstanceIpWhiteListRequest) SetRegionId(regionId string)

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 * param instanceId: 实例id

func (DisableInstanceUrlWhiteListRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DisableInstanceUrlWhiteListRequest) SetInstanceId

func (r *DisableInstanceUrlWhiteListRequest) SetInstanceId(instanceId string)

func (*DisableInstanceUrlWhiteListRequest) SetRegionId

func (r *DisableInstanceUrlWhiteListRequest) SetRegionId(regionId string)

type DisableInstanceUrlWhiteListResponse

type DisableInstanceUrlWhiteListResponse struct {
	RequestID string                            `json:"requestId"`
	Error     core.ErrorResponse                `json:"error"`
	Result    DisableInstanceUrlWhiteListResult `json:"result"`
}

type DisableInstanceUrlWhiteListResult

type DisableInstanceUrlWhiteListResult 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 * param instanceId: 实例id

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)

func (*EnableInstanceCCRequest) SetRegionId

func (r *EnableInstanceCCRequest) SetRegionId(regionId string)

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 * param instanceId: 实例id

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)

func (*EnableInstanceIpBlackListRequest) SetRegionId

func (r *EnableInstanceIpBlackListRequest) SetRegionId(regionId string)

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 * param instanceId: 实例id

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)

func (*EnableInstanceIpWhiteListRequest) SetRegionId

func (r *EnableInstanceIpWhiteListRequest) SetRegionId(regionId string)

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 * param instanceId: 实例id

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)

func (*EnableInstanceUrlWhiteListRequest) SetRegionId

func (r *EnableInstanceUrlWhiteListRequest) SetRegionId(regionId string)

type EnableInstanceUrlWhiteListResponse

type EnableInstanceUrlWhiteListResponse struct {
	RequestID string                           `json:"requestId"`
	Error     core.ErrorResponse               `json:"error"`
	Result    EnableInstanceUrlWhiteListResult `json:"result"`
}

type EnableInstanceUrlWhiteListResult

type EnableInstanceUrlWhiteListResult struct {
}

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 * param instanceId: 实例id * param forwardRuleId: 转发规则id * param forwardRuleSpec: 非网站类规则参数

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)

func (*ModifyForwardRuleRequest) SetForwardRuleSpec

func (r *ModifyForwardRuleRequest) SetForwardRuleSpec(forwardRuleSpec *ipanti.ForwardRuleSpec)

func (*ModifyForwardRuleRequest) SetInstanceId

func (r *ModifyForwardRuleRequest) SetInstanceId(instanceId string)

func (*ModifyForwardRuleRequest) SetRegionId

func (r *ModifyForwardRuleRequest) SetRegionId(regionId string)

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 * param instanceId: 实例id * param cCSpec: cc参数

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)

func (*ModifyInstanceCCRequest) SetInstanceId

func (r *ModifyInstanceCCRequest) SetInstanceId(instanceId string)

func (*ModifyInstanceCCRequest) SetRegionId

func (r *ModifyInstanceCCRequest) SetRegionId(regionId string)

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 * param instanceId: 实例id * param ipBlackList: ip黑名单列表

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)

func (*ModifyInstanceIpBlackListRequest) SetIpBlackList

func (r *ModifyInstanceIpBlackListRequest) SetIpBlackList(ipBlackList []string)

func (*ModifyInstanceIpBlackListRequest) SetRegionId

func (r *ModifyInstanceIpBlackListRequest) SetRegionId(regionId string)

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 * param instanceId: 实例id * param ipWhiteList: ip白名单列表

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)

func (*ModifyInstanceIpWhiteListRequest) SetIpWhiteList

func (r *ModifyInstanceIpWhiteListRequest) SetIpWhiteList(ipWhiteList []string)

func (*ModifyInstanceIpWhiteListRequest) SetRegionId

func (r *ModifyInstanceIpWhiteListRequest) SetRegionId(regionId string)

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 * param instanceId: 实例id * param name: 新的实例名称

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)

func (*ModifyInstanceNameRequest) SetName

func (r *ModifyInstanceNameRequest) SetName(name string)

func (*ModifyInstanceNameRequest) SetRegionId

func (r *ModifyInstanceNameRequest) SetRegionId(regionId string)

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 * param instanceId: 实例id * param urlWhiteList: 网站类规则参数

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)

func (*ModifyInstanceUrlWhiteListRequest) SetRegionId

func (r *ModifyInstanceUrlWhiteListRequest) SetRegionId(regionId string)

func (*ModifyInstanceUrlWhiteListRequest) SetUrlWhiteList

func (r *ModifyInstanceUrlWhiteListRequest) SetUrlWhiteList(urlWhiteList []string)

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 * param instanceId: 实例id * param webRuleId: 网站规则id * param webRuleSpec: 网站类规则参数

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)

func (*ModifyWebRuleRequest) SetRegionId

func (r *ModifyWebRuleRequest) SetRegionId(regionId string)

func (*ModifyWebRuleRequest) SetWebRuleId

func (r *ModifyWebRuleRequest) SetWebRuleId(webRuleId string)

func (*ModifyWebRuleRequest) SetWebRuleSpec

func (r *ModifyWebRuleRequest) SetWebRuleSpec(webRuleSpec *ipanti.WebRuleSpec)

type ModifyWebRuleResponse

type ModifyWebRuleResponse struct {
	RequestID string              `json:"requestId"`
	Error     core.ErrorResponse  `json:"error"`
	Result    ModifyWebRuleResult `json:"result"`
}

type ModifyWebRuleResult

type ModifyWebRuleResult struct {
}

Jump to

Keyboard shortcuts

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