v20180625

package
v3.0.124+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const APIVersion = "2018-06-25"

Variables

This section is empty.

Functions

This section is empty.

Types

type BindEipAclsRequest

type BindEipAclsRequest struct {
	*tchttp.BaseRequest

	// 待关联的 EIP 与 ACL关系列表
	EipIdAclIdList []*EipAclMap `json:"EipIdAclIdList,omitempty" name:"EipIdAclIdList" list`
}

func NewBindEipAclsRequest

func NewBindEipAclsRequest() (request *BindEipAclsRequest)

func (*BindEipAclsRequest) FromJsonString

func (r *BindEipAclsRequest) FromJsonString(s string) error

func (*BindEipAclsRequest) ToJsonString

func (r *BindEipAclsRequest) ToJsonString() string

type BindEipAclsResponse

type BindEipAclsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewBindEipAclsResponse

func NewBindEipAclsResponse() (response *BindEipAclsResponse)

func (*BindEipAclsResponse) FromJsonString

func (r *BindEipAclsResponse) FromJsonString(s string) error

func (*BindEipAclsResponse) ToJsonString

func (r *BindEipAclsResponse) ToJsonString() string

type BindHostedRequest

type BindHostedRequest struct {
	*tchttp.BaseRequest

	// Eip实例ID,可通过DescribeBmEip 接口返回字段中的 eipId获取。Eip和EipId参数必须要填写一个。
	EipId *string `json:"EipId,omitempty" name:"EipId"`

	// 托管机器实例ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
}

func NewBindHostedRequest

func NewBindHostedRequest() (request *BindHostedRequest)

func (*BindHostedRequest) FromJsonString

func (r *BindHostedRequest) FromJsonString(s string) error

func (*BindHostedRequest) ToJsonString

func (r *BindHostedRequest) ToJsonString() string

type BindHostedResponse

type BindHostedResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 异步任务ID,可以通过EipBmQueryTask查询任务状态
		TaskId *int64 `json:"TaskId,omitempty" name:"TaskId"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewBindHostedResponse

func NewBindHostedResponse() (response *BindHostedResponse)

func (*BindHostedResponse) FromJsonString

func (r *BindHostedResponse) FromJsonString(s string) error

func (*BindHostedResponse) ToJsonString

func (r *BindHostedResponse) ToJsonString() string

type BindRsRequest

type BindRsRequest struct {
	*tchttp.BaseRequest

	// Eip实例ID
	EipId *string `json:"EipId,omitempty" name:"EipId"`

	// 物理服务器实例ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
}

func NewBindRsRequest

func NewBindRsRequest() (request *BindRsRequest)

func (*BindRsRequest) FromJsonString

func (r *BindRsRequest) FromJsonString(s string) error

func (*BindRsRequest) ToJsonString

func (r *BindRsRequest) ToJsonString() string

type BindRsResponse

type BindRsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 绑定黑石物理机异步任务ID,可以通过DescribeEipTask查询任务状态
		TaskId *int64 `json:"TaskId,omitempty" name:"TaskId"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewBindRsResponse

func NewBindRsResponse() (response *BindRsResponse)

func (*BindRsResponse) FromJsonString

func (r *BindRsResponse) FromJsonString(s string) error

func (*BindRsResponse) ToJsonString

func (r *BindRsResponse) ToJsonString() string

type BindVpcIpRequest

type BindVpcIpRequest struct {
	*tchttp.BaseRequest

	// Eip实例ID
	EipId *string `json:"EipId,omitempty" name:"EipId"`

	// EIP归属VpcId,例如vpc-k7j1t2x1
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// 绑定的VPC内IP地址
	VpcIp *string `json:"VpcIp,omitempty" name:"VpcIp"`
}

func NewBindVpcIpRequest

func NewBindVpcIpRequest() (request *BindVpcIpRequest)

func (*BindVpcIpRequest) FromJsonString

func (r *BindVpcIpRequest) FromJsonString(s string) error

func (*BindVpcIpRequest) ToJsonString

func (r *BindVpcIpRequest) ToJsonString() string

type BindVpcIpResponse

type BindVpcIpResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// EIP绑定VPC网络IP异步任务ID,可以通过查询EIP任务状态查询任务状态
		TaskId *int64 `json:"TaskId,omitempty" name:"TaskId"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewBindVpcIpResponse

func NewBindVpcIpResponse() (response *BindVpcIpResponse)

func (*BindVpcIpResponse) FromJsonString

func (r *BindVpcIpResponse) FromJsonString(s string) error

func (*BindVpcIpResponse) ToJsonString

func (r *BindVpcIpResponse) ToJsonString() string

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential *common.Credential, region string, clientProfile *profile.ClientProfile) (client *Client, err error)

func NewClientWithSecretId

func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error)

Deprecated

func (*Client) BindEipAcls

func (c *Client) BindEipAcls(request *BindEipAclsRequest) (response *BindEipAclsResponse, err error)

此接口用于为某个 EIP 关联 ACL。

func (*Client) BindHosted

func (c *Client) BindHosted(request *BindHostedRequest) (response *BindHostedResponse, err error)

BindHosted接口用于绑定黑石弹性公网IP到黑石托管机器上

func (*Client) BindRs

func (c *Client) BindRs(request *BindRsRequest) (response *BindRsResponse, err error)

绑定黑石EIP

func (*Client) BindVpcIp

func (c *Client) BindVpcIp(request *BindVpcIpRequest) (response *BindVpcIpResponse, err error)

黑石EIP绑定VPCIP

func (*Client) CreateEip

func (c *Client) CreateEip(request *CreateEipRequest) (response *CreateEipResponse, err error)

创建黑石弹性公网IP

func (*Client) CreateEipAcl

func (c *Client) CreateEipAcl(request *CreateEipAclRequest) (response *CreateEipAclResponse, err error)

创建黑石弹性公网 EIPACL

func (*Client) DeleteEip

func (c *Client) DeleteEip(request *DeleteEipRequest) (response *DeleteEipResponse, err error)

释放黑石弹性公网IP

func (*Client) DeleteEipAcl

func (c *Client) DeleteEipAcl(request *DeleteEipAclRequest) (response *DeleteEipAclResponse, err error)

删除弹性公网IP ACL

func (*Client) DescribeEipAcls

func (c *Client) DescribeEipAcls(request *DescribeEipAclsRequest) (response *DescribeEipAclsResponse, err error)

查询弹性公网IP ACL

func (*Client) DescribeEipQuota

func (c *Client) DescribeEipQuota(request *DescribeEipQuotaRequest) (response *DescribeEipQuotaResponse, err error)

查询黑石EIP 限额

func (*Client) DescribeEipTask

func (c *Client) DescribeEipTask(request *DescribeEipTaskRequest) (response *DescribeEipTaskResponse, err error)

黑石EIP查询任务状态

func (*Client) DescribeEips

func (c *Client) DescribeEips(request *DescribeEipsRequest) (response *DescribeEipsResponse, err error)

黑石EIP查询接口

func (*Client) ModifyEipAcl

func (c *Client) ModifyEipAcl(request *ModifyEipAclRequest) (response *ModifyEipAclResponse, err error)

修改弹性公网IP ACL

func (*Client) ModifyEipCharge

func (c *Client) ModifyEipCharge(request *ModifyEipChargeRequest) (response *ModifyEipChargeResponse, err error)

黑石EIP修改计费方式

func (*Client) ModifyEipName

func (c *Client) ModifyEipName(request *ModifyEipNameRequest) (response *ModifyEipNameResponse, err error)

更新黑石EIP名称

func (*Client) UnbindEipAcls

func (c *Client) UnbindEipAcls(request *UnbindEipAclsRequest) (response *UnbindEipAclsResponse, err error)

解绑弹性公网IP ACL

func (*Client) UnbindHosted

func (c *Client) UnbindHosted(request *UnbindHostedRequest) (response *UnbindHostedResponse, err error)

UnbindHosted接口用于解绑托管机器上的EIP

func (*Client) UnbindRs

func (c *Client) UnbindRs(request *UnbindRsRequest) (response *UnbindRsResponse, err error)

解绑黑石EIP

func (*Client) UnbindVpcIp

func (c *Client) UnbindVpcIp(request *UnbindVpcIpRequest) (response *UnbindVpcIpResponse, err error)

黑石EIP解绑VPCIP

type CreateEipAclRequest

type CreateEipAclRequest struct {
	*tchttp.BaseRequest

	// ACL 名称
	AclName *string `json:"AclName,omitempty" name:"AclName"`

	// ACL 状态 0:无状态,1:有状态
	Status *uint64 `json:"Status,omitempty" name:"Status"`
}

func NewCreateEipAclRequest

func NewCreateEipAclRequest() (request *CreateEipAclRequest)

func (*CreateEipAclRequest) FromJsonString

func (r *CreateEipAclRequest) FromJsonString(s string) error

func (*CreateEipAclRequest) ToJsonString

func (r *CreateEipAclRequest) ToJsonString() string

type CreateEipAclResponse

type CreateEipAclResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// ACL 实例 ID
		AclId *string `json:"AclId,omitempty" name:"AclId"`

		// ACL 实例状态
		Status *uint64 `json:"Status,omitempty" name:"Status"`

		// ACL 实例名称
		AclName *string `json:"AclName,omitempty" name:"AclName"`

		// ACL 实例创建时间
		CreatedAt *string `json:"CreatedAt,omitempty" name:"CreatedAt"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateEipAclResponse

func NewCreateEipAclResponse() (response *CreateEipAclResponse)

func (*CreateEipAclResponse) FromJsonString

func (r *CreateEipAclResponse) FromJsonString(s string) error

func (*CreateEipAclResponse) ToJsonString

func (r *CreateEipAclResponse) ToJsonString() string

type CreateEipRequest

type CreateEipRequest struct {
	*tchttp.BaseRequest

	// 申请数量,默认为1, 最大 20
	GoodsNum *uint64 `json:"GoodsNum,omitempty" name:"GoodsNum"`

	// EIP计费方式,flow-流量计费;bandwidth-带宽计费
	PayMode *string `json:"PayMode,omitempty" name:"PayMode"`

	// 带宽设定值(只在带宽计费时生效)
	Bandwidth *uint64 `json:"Bandwidth,omitempty" name:"Bandwidth"`

	// EIP模式,目前支持tunnel和fullnat
	SetType *string `json:"SetType,omitempty" name:"SetType"`

	// 是否使用独占集群,0:不使用,1:使用。默认为0
	Exclusive *uint64 `json:"Exclusive,omitempty" name:"Exclusive"`

	// EIP归属私有网络ID,例如vpc-k7j1t2x1
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// 指定申请的IP列表
	IpList []*string `json:"IpList,omitempty" name:"IpList" list`
}

func NewCreateEipRequest

func NewCreateEipRequest() (request *CreateEipRequest)

func (*CreateEipRequest) FromJsonString

func (r *CreateEipRequest) FromJsonString(s string) error

func (*CreateEipRequest) ToJsonString

func (r *CreateEipRequest) ToJsonString() string

type CreateEipResponse

type CreateEipResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// EIP列表
		EipIds []*string `json:"EipIds,omitempty" name:"EipIds" list`

		// 任务ID
		TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateEipResponse

func NewCreateEipResponse() (response *CreateEipResponse)

func (*CreateEipResponse) FromJsonString

func (r *CreateEipResponse) FromJsonString(s string) error

func (*CreateEipResponse) ToJsonString

func (r *CreateEipResponse) ToJsonString() string

type DeleteEipAclRequest

type DeleteEipAclRequest struct {
	*tchttp.BaseRequest

	// 待删除的 ACL 实例 ID
	AclId *string `json:"AclId,omitempty" name:"AclId"`
}

func NewDeleteEipAclRequest

func NewDeleteEipAclRequest() (request *DeleteEipAclRequest)

func (*DeleteEipAclRequest) FromJsonString

func (r *DeleteEipAclRequest) FromJsonString(s string) error

func (*DeleteEipAclRequest) ToJsonString

func (r *DeleteEipAclRequest) ToJsonString() string

type DeleteEipAclResponse

type DeleteEipAclResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteEipAclResponse

func NewDeleteEipAclResponse() (response *DeleteEipAclResponse)

func (*DeleteEipAclResponse) FromJsonString

func (r *DeleteEipAclResponse) FromJsonString(s string) error

func (*DeleteEipAclResponse) ToJsonString

func (r *DeleteEipAclResponse) ToJsonString() string

type DeleteEipRequest

type DeleteEipRequest struct {
	*tchttp.BaseRequest

	// Eip实例ID列表
	EipIds []*string `json:"EipIds,omitempty" name:"EipIds" list`
}

func NewDeleteEipRequest

func NewDeleteEipRequest() (request *DeleteEipRequest)

func (*DeleteEipRequest) FromJsonString

func (r *DeleteEipRequest) FromJsonString(s string) error

func (*DeleteEipRequest) ToJsonString

func (r *DeleteEipRequest) ToJsonString() string

type DeleteEipResponse

type DeleteEipResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 任务Id
		TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteEipResponse

func NewDeleteEipResponse() (response *DeleteEipResponse)

func (*DeleteEipResponse) FromJsonString

func (r *DeleteEipResponse) FromJsonString(s string) error

func (*DeleteEipResponse) ToJsonString

func (r *DeleteEipResponse) ToJsonString() string

type DescribeEipAclsRequest

type DescribeEipAclsRequest struct {
	*tchttp.BaseRequest

	// ACL 名称,支持模糊查找
	AclName *string `json:"AclName,omitempty" name:"AclName"`

	// ACL 实例 ID 列表,数组下标从 0 开始
	AclIds []*string `json:"AclIds,omitempty" name:"AclIds" list`

	// 分页参数。偏移量,默认为 0
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// 分页参数。每一页的 EIPACL 列表数目
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
}

func NewDescribeEipAclsRequest

func NewDescribeEipAclsRequest() (request *DescribeEipAclsRequest)

func (*DescribeEipAclsRequest) FromJsonString

func (r *DescribeEipAclsRequest) FromJsonString(s string) error

func (*DescribeEipAclsRequest) ToJsonString

func (r *DescribeEipAclsRequest) ToJsonString() string

type DescribeEipAclsResponse

type DescribeEipAclsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 返回 EIPACL 列表总数
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// EIPACL列表
		EipAclList []*EipAcl `json:"EipAclList,omitempty" name:"EipAclList" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeEipAclsResponse

func NewDescribeEipAclsResponse() (response *DescribeEipAclsResponse)

func (*DescribeEipAclsResponse) FromJsonString

func (r *DescribeEipAclsResponse) FromJsonString(s string) error

func (*DescribeEipAclsResponse) ToJsonString

func (r *DescribeEipAclsResponse) ToJsonString() string

type DescribeEipQuotaRequest

type DescribeEipQuotaRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeEipQuotaRequest

func NewDescribeEipQuotaRequest() (request *DescribeEipQuotaRequest)

func (*DescribeEipQuotaRequest) FromJsonString

func (r *DescribeEipQuotaRequest) FromJsonString(s string) error

func (*DescribeEipQuotaRequest) ToJsonString

func (r *DescribeEipQuotaRequest) ToJsonString() string

type DescribeEipQuotaResponse

type DescribeEipQuotaResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 能拥有的EIP个数的总配额,默认是100个
		EipNumQuota *int64 `json:"EipNumQuota,omitempty" name:"EipNumQuota"`

		// 当前已使用的EIP个数,包括创建中、绑定中、已绑定、解绑中、未绑定几种状态的EIP个数总和
		CurrentEipNum *int64 `json:"CurrentEipNum,omitempty" name:"CurrentEipNum"`

		// 当天申请EIP次数
		DailyApplyCount *int64 `json:"DailyApplyCount,omitempty" name:"DailyApplyCount"`

		// 每日申请EIP的次数限制
		DailyApplyQuota *int64 `json:"DailyApplyQuota,omitempty" name:"DailyApplyQuota"`

		// BatchApplyMax
		BatchApplyMax *int64 `json:"BatchApplyMax,omitempty" name:"BatchApplyMax"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeEipQuotaResponse

func NewDescribeEipQuotaResponse() (response *DescribeEipQuotaResponse)

func (*DescribeEipQuotaResponse) FromJsonString

func (r *DescribeEipQuotaResponse) FromJsonString(s string) error

func (*DescribeEipQuotaResponse) ToJsonString

func (r *DescribeEipQuotaResponse) ToJsonString() string

type DescribeEipTaskRequest

type DescribeEipTaskRequest struct {
	*tchttp.BaseRequest

	// EIP查询任务ID
	TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"`
}

func NewDescribeEipTaskRequest

func NewDescribeEipTaskRequest() (request *DescribeEipTaskRequest)

func (*DescribeEipTaskRequest) FromJsonString

func (r *DescribeEipTaskRequest) FromJsonString(s string) error

func (*DescribeEipTaskRequest) ToJsonString

func (r *DescribeEipTaskRequest) ToJsonString() string

type DescribeEipTaskResponse

type DescribeEipTaskResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 当前任务状态码:0-成功,1-失败,2-进行中
		Status *int64 `json:"Status,omitempty" name:"Status"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeEipTaskResponse

func NewDescribeEipTaskResponse() (response *DescribeEipTaskResponse)

func (*DescribeEipTaskResponse) FromJsonString

func (r *DescribeEipTaskResponse) FromJsonString(s string) error

func (*DescribeEipTaskResponse) ToJsonString

func (r *DescribeEipTaskResponse) ToJsonString() string

type DescribeEipsRequest

type DescribeEipsRequest struct {
	*tchttp.BaseRequest

	// EIP实例ID列表
	EipIds []*string `json:"EipIds,omitempty" name:"EipIds" list`

	// EIP IP 列表
	Eips []*string `json:"Eips,omitempty" name:"Eips" list`

	// 主机实例ID 列表
	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds" list`

	// EIP名称,模糊匹配
	SearchKey *string `json:"SearchKey,omitempty" name:"SearchKey"`

	// 状态列表, 默认所有
	Status []*int64 `json:"Status,omitempty" name:"Status" list`

	// 偏移量,默认为0
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// 返回EIP数量,默认 20, 最大值 100
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// 排序字段,支持: EipId,Eip,Status, InstanceId,CreatedAt
	OrderField *string `json:"OrderField,omitempty" name:"OrderField"`

	// 排序方式 0:递增 1:递减(默认)
	Order *int64 `json:"Order,omitempty" name:"Order"`

	// 计费模式,流量:flow,带宽:bandwidth
	PayMode *string `json:"PayMode,omitempty" name:"PayMode"`

	// EIP归属VpcId,例如vpc-k7j1t2x1
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// 绑定类型,-1:未绑定,0:物理机,1:nat网关,2:虚拟IP, 3:托管机器
	BindTypes []*int64 `json:"BindTypes,omitempty" name:"BindTypes" list`

	// 独占标志,0:共享,1:独占
	ExclusiveTag *int64 `json:"ExclusiveTag,omitempty" name:"ExclusiveTag"`

	// EIP ACL实例ID
	AclId *string `json:"AclId,omitempty" name:"AclId"`

	// 搜索条件,是否绑定了EIP ACL, 0:未绑定,1:绑定
	BindAcl *int64 `json:"BindAcl,omitempty" name:"BindAcl"`
}

func NewDescribeEipsRequest

func NewDescribeEipsRequest() (request *DescribeEipsRequest)

func (*DescribeEipsRequest) FromJsonString

func (r *DescribeEipsRequest) FromJsonString(s string) error

func (*DescribeEipsRequest) ToJsonString

func (r *DescribeEipsRequest) ToJsonString() string

type DescribeEipsResponse

type DescribeEipsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 返回EIP信息数组
		EipSet []*EipInfo `json:"EipSet,omitempty" name:"EipSet" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeEipsResponse

func NewDescribeEipsResponse() (response *DescribeEipsResponse)

func (*DescribeEipsResponse) FromJsonString

func (r *DescribeEipsResponse) FromJsonString(s string) error

func (*DescribeEipsResponse) ToJsonString

func (r *DescribeEipsResponse) ToJsonString() string

type EipAcl

type EipAcl struct {

	// ACL 实例 ID。
	AclId *string `json:"AclId,omitempty" name:"AclId"`

	// ACL 实例名称
	AclName *string `json:"AclName,omitempty" name:"AclName"`

	// ACL 状态。0:无状态,1:有状态
	Status *string `json:"Status,omitempty" name:"Status"`

	// EIPACL 创建时间
	CreatedAt *string `json:"CreatedAt,omitempty" name:"CreatedAt"`

	// EIPACL 已关联的 eip 数目
	EipNum *int64 `json:"EipNum,omitempty" name:"EipNum"`

	// 出站规则
	OutRules []*EipAclRule `json:"OutRules,omitempty" name:"OutRules" list`

	// 入站规则
	InRules []*EipAclRule `json:"InRules,omitempty" name:"InRules" list`
}

type EipAclMap

type EipAclMap struct {

	// EIP 实例 ID
	EipId *string `json:"EipId,omitempty" name:"EipId"`

	// ACL 实例 ID
	AclId *string `json:"AclId,omitempty" name:"AclId"`
}

type EipAclRule

type EipAclRule struct {

	// 源 IP
	Ip *string `json:"Ip,omitempty" name:"Ip"`

	// 目标端口
	Port *string `json:"Port,omitempty" name:"Port"`

	// 协议(TCP/UDP/ICMP/ANY)
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// 策略(accept/drop)
	Action *string `json:"Action,omitempty" name:"Action"`

	// 备注
	Description *string `json:"Description,omitempty" name:"Description"`
}

type EipInfo

type EipInfo struct {

	// EIP实例ID
	EipId *string `json:"EipId,omitempty" name:"EipId"`

	// EIP名称
	EipName *string `json:"EipName,omitempty" name:"EipName"`

	// EIP地址
	Eip *string `json:"Eip,omitempty" name:"Eip"`

	// 运营商ID 0:电信; 1:联通; 2:移动; 3:教育网; 4:盈科; 5:BGP; 6:中国香港
	IspId *int64 `json:"IspId,omitempty" name:"IspId"`

	// 状态 0:创建中; 1:绑定中; 2:已绑定; 3:解绑中; 4:未绑定; 6:下线中; 9:创建失败
	Status *int64 `json:"Status,omitempty" name:"Status"`

	// 是否欠费隔离 1: 欠费隔离; 0: 正常。处在欠费隔离情况下的EIP不能进行任何管理操作。
	Arrears *int64 `json:"Arrears,omitempty" name:"Arrears"`

	// EIP所绑定的服务器实例ID,未绑定则为空
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 服务器别名
	InstanceAlias *string `json:"InstanceAlias,omitempty" name:"InstanceAlias"`

	// EIP解绑时间
	FreeAt *string `json:"FreeAt,omitempty" name:"FreeAt"`

	// EIP创建时间
	CreatedAt *string `json:"CreatedAt,omitempty" name:"CreatedAt"`

	// EIP更新时间
	UpdatedAt *string `json:"UpdatedAt,omitempty" name:"UpdatedAt"`

	// EIP未绑定服务器时长(单位:秒)
	FreeSecond *int64 `json:"FreeSecond,omitempty" name:"FreeSecond"`

	// EIP所绑定的资源类型,-1:未绑定资源;0:黑石物理机,字段对应unInstanceId;1:Nat网关,字段对应natUid;2:云服务器字段对应vpcIp; 3: 托管机器,字段对应HInstanceId, HInstanceAlias
	Type *int64 `json:"Type,omitempty" name:"Type"`

	// EIP计费模式,"flow":流量计费; "bandwidth":带宽计费
	PayMode *string `json:"PayMode,omitempty" name:"PayMode"`

	// EIP带宽计费模式下的带宽上限(单位:MB)
	Bandwidth *int64 `json:"Bandwidth,omitempty" name:"Bandwidth"`

	// 最近一次操作变更的EIP计费模式,"flow":流量计费; "bandwidth":带宽计费
	LatestPayMode *string `json:"LatestPayMode,omitempty" name:"LatestPayMode"`

	// 最近一次操作变更的EIP计费模式对应的带宽上限值,仅在带宽计费模式下有效(单位:MB)
	LatestBandwidth *int64 `json:"LatestBandwidth,omitempty" name:"LatestBandwidth"`

	// 私有网络名称
	VpcName *string `json:"VpcName,omitempty" name:"VpcName"`

	// EIP所绑定的NAT网关的数字ID,形如:1001,,未绑定则为空
	NatId *int64 `json:"NatId,omitempty" name:"NatId"`

	// EIP所绑定的NAT网关实例ID,形如:"nat-n47xxxxx",未绑定则为空
	NatUid *string `json:"NatUid,omitempty" name:"NatUid"`

	// EIP所绑定的云服务器IP(托管或者云服务器的IP),形如:"10.1.1.3"。 注意:IP资源需要通过bmvpc模块注册或者申请后才可以绑定eip,接口使用申请子网IP和注册子网IP:,未绑定则为空
	VpcIp *string `json:"VpcIp,omitempty" name:"VpcIp"`

	// 私有网络实例ID
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// 是否为独占类型EIP
	Exclusive *int64 `json:"Exclusive,omitempty" name:"Exclusive"`

	// 私有网络的cidr
	VpcCidr *string `json:"VpcCidr,omitempty" name:"VpcCidr"`

	// EIP ACL实例ID
	AclId *string `json:"AclId,omitempty" name:"AclId"`

	// EIP ACL名称
	AclName *string `json:"AclName,omitempty" name:"AclName"`

	// 托管机器实例ID
	HInstanceId *string `json:"HInstanceId,omitempty" name:"HInstanceId"`

	// 托管机器别名
	HInstanceAlias *string `json:"HInstanceAlias,omitempty" name:"HInstanceAlias"`
}

type ModifyEipAclRequest

type ModifyEipAclRequest struct {
	*tchttp.BaseRequest

	// ACL 实例 ID
	AclId *string `json:"AclId,omitempty" name:"AclId"`

	// ACL 名称
	AclName *string `json:"AclName,omitempty" name:"AclName"`

	// ACL 状态。0:无状态 1:有状态
	Status *int64 `json:"Status,omitempty" name:"Status"`

	// 规则类型(in/out)。in:入站规则 out:出站规则
	Type *string `json:"Type,omitempty" name:"Type"`

	// ACL规则列表
	Rules []*EipAclRule `json:"Rules,omitempty" name:"Rules" list`
}

func NewModifyEipAclRequest

func NewModifyEipAclRequest() (request *ModifyEipAclRequest)

func (*ModifyEipAclRequest) FromJsonString

func (r *ModifyEipAclRequest) FromJsonString(s string) error

func (*ModifyEipAclRequest) ToJsonString

func (r *ModifyEipAclRequest) ToJsonString() string

type ModifyEipAclResponse

type ModifyEipAclResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyEipAclResponse

func NewModifyEipAclResponse() (response *ModifyEipAclResponse)

func (*ModifyEipAclResponse) FromJsonString

func (r *ModifyEipAclResponse) FromJsonString(s string) error

func (*ModifyEipAclResponse) ToJsonString

func (r *ModifyEipAclResponse) ToJsonString() string

type ModifyEipChargeRequest

type ModifyEipChargeRequest struct {
	*tchttp.BaseRequest

	// EIP计费方式,flow-流量计费;bandwidth-带宽计费
	PayMode *string `json:"PayMode,omitempty" name:"PayMode"`

	// Eip实例ID列表
	EipIds []*string `json:"EipIds,omitempty" name:"EipIds" list`

	// 带宽设定值(只在带宽计费时生效)
	Bandwidth *uint64 `json:"Bandwidth,omitempty" name:"Bandwidth"`
}

func NewModifyEipChargeRequest

func NewModifyEipChargeRequest() (request *ModifyEipChargeRequest)

func (*ModifyEipChargeRequest) FromJsonString

func (r *ModifyEipChargeRequest) FromJsonString(s string) error

func (*ModifyEipChargeRequest) ToJsonString

func (r *ModifyEipChargeRequest) ToJsonString() string

type ModifyEipChargeResponse

type ModifyEipChargeResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 修改计费模式的异步任务ID,可以通过查询EIP任务状态查询任务状态
		TaskId *int64 `json:"TaskId,omitempty" name:"TaskId"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyEipChargeResponse

func NewModifyEipChargeResponse() (response *ModifyEipChargeResponse)

func (*ModifyEipChargeResponse) FromJsonString

func (r *ModifyEipChargeResponse) FromJsonString(s string) error

func (*ModifyEipChargeResponse) ToJsonString

func (r *ModifyEipChargeResponse) ToJsonString() string

type ModifyEipNameRequest

type ModifyEipNameRequest struct {
	*tchttp.BaseRequest

	// Eip实例ID,可通过/v2/DescribeEip 接口返回字段中的 eipId获取
	EipId *string `json:"EipId,omitempty" name:"EipId"`

	// EIP 实例别名
	EipName *string `json:"EipName,omitempty" name:"EipName"`
}

func NewModifyEipNameRequest

func NewModifyEipNameRequest() (request *ModifyEipNameRequest)

func (*ModifyEipNameRequest) FromJsonString

func (r *ModifyEipNameRequest) FromJsonString(s string) error

func (*ModifyEipNameRequest) ToJsonString

func (r *ModifyEipNameRequest) ToJsonString() string

type ModifyEipNameResponse

type ModifyEipNameResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyEipNameResponse

func NewModifyEipNameResponse() (response *ModifyEipNameResponse)

func (*ModifyEipNameResponse) FromJsonString

func (r *ModifyEipNameResponse) FromJsonString(s string) error

func (*ModifyEipNameResponse) ToJsonString

func (r *ModifyEipNameResponse) ToJsonString() string

type UnbindEipAclsRequest

type UnbindEipAclsRequest struct {
	*tchttp.BaseRequest

	// 待解关联的 EIP 与 ACL列表
	EipIdAclIdList []*EipAclMap `json:"EipIdAclIdList,omitempty" name:"EipIdAclIdList" list`
}

func NewUnbindEipAclsRequest

func NewUnbindEipAclsRequest() (request *UnbindEipAclsRequest)

func (*UnbindEipAclsRequest) FromJsonString

func (r *UnbindEipAclsRequest) FromJsonString(s string) error

func (*UnbindEipAclsRequest) ToJsonString

func (r *UnbindEipAclsRequest) ToJsonString() string

type UnbindEipAclsResponse

type UnbindEipAclsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewUnbindEipAclsResponse

func NewUnbindEipAclsResponse() (response *UnbindEipAclsResponse)

func (*UnbindEipAclsResponse) FromJsonString

func (r *UnbindEipAclsResponse) FromJsonString(s string) error

func (*UnbindEipAclsResponse) ToJsonString

func (r *UnbindEipAclsResponse) ToJsonString() string

type UnbindHostedRequest

type UnbindHostedRequest struct {
	*tchttp.BaseRequest

	// 托管机器实例ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Eip实例ID,可通过DescribeBmEip 接口返回字段中的 eipId获取。Eip和EipId参数必须要填写一个。
	EipId *string `json:"EipId,omitempty" name:"EipId"`

	// 弹性IP。Eip和EipId参数必须要填写一个。
	Eip *string `json:"Eip,omitempty" name:"Eip"`
}

func NewUnbindHostedRequest

func NewUnbindHostedRequest() (request *UnbindHostedRequest)

func (*UnbindHostedRequest) FromJsonString

func (r *UnbindHostedRequest) FromJsonString(s string) error

func (*UnbindHostedRequest) ToJsonString

func (r *UnbindHostedRequest) ToJsonString() string

type UnbindHostedResponse

type UnbindHostedResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 异步任务ID,可以通过EipBmQueryTask查询任务状态
		TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewUnbindHostedResponse

func NewUnbindHostedResponse() (response *UnbindHostedResponse)

func (*UnbindHostedResponse) FromJsonString

func (r *UnbindHostedResponse) FromJsonString(s string) error

func (*UnbindHostedResponse) ToJsonString

func (r *UnbindHostedResponse) ToJsonString() string

type UnbindRsRequest

type UnbindRsRequest struct {
	*tchttp.BaseRequest

	// Eip实例ID
	EipId *string `json:"EipId,omitempty" name:"EipId"`

	// 物理服务器实例ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
}

func NewUnbindRsRequest

func NewUnbindRsRequest() (request *UnbindRsRequest)

func (*UnbindRsRequest) FromJsonString

func (r *UnbindRsRequest) FromJsonString(s string) error

func (*UnbindRsRequest) ToJsonString

func (r *UnbindRsRequest) ToJsonString() string

type UnbindRsResponse

type UnbindRsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 解绑操作的异步任务ID,可以通过查询EIP任务状态查询任务状态
		TaskId *int64 `json:"TaskId,omitempty" name:"TaskId"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewUnbindRsResponse

func NewUnbindRsResponse() (response *UnbindRsResponse)

func (*UnbindRsResponse) FromJsonString

func (r *UnbindRsResponse) FromJsonString(s string) error

func (*UnbindRsResponse) ToJsonString

func (r *UnbindRsResponse) ToJsonString() string

type UnbindVpcIpRequest

type UnbindVpcIpRequest struct {
	*tchttp.BaseRequest

	// Eip实例ID
	EipId *string `json:"EipId,omitempty" name:"EipId"`

	// EIP归属VpcId,例如vpc-k7j1t2x1
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// 绑定的VPC内IP地址
	VpcIp *string `json:"VpcIp,omitempty" name:"VpcIp"`
}

func NewUnbindVpcIpRequest

func NewUnbindVpcIpRequest() (request *UnbindVpcIpRequest)

func (*UnbindVpcIpRequest) FromJsonString

func (r *UnbindVpcIpRequest) FromJsonString(s string) error

func (*UnbindVpcIpRequest) ToJsonString

func (r *UnbindVpcIpRequest) ToJsonString() string

type UnbindVpcIpResponse

type UnbindVpcIpResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 绑定黑石物理机异步任务ID,可以通过查询EIP任务状态查询任务状态
		TaskId *int64 `json:"TaskId,omitempty" name:"TaskId"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewUnbindVpcIpResponse

func NewUnbindVpcIpResponse() (response *UnbindVpcIpResponse)

func (*UnbindVpcIpResponse) FromJsonString

func (r *UnbindVpcIpResponse) FromJsonString(s string) error

func (*UnbindVpcIpResponse) ToJsonString

func (r *UnbindVpcIpResponse) ToJsonString() string

Jump to

Keyboard shortcuts

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