v20180625

package
v3.0.167+incompatible Latest Latest
Warning

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

Go to latest
Published: May 8, 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 AcceptVpcPeerConnectionRequest

type AcceptVpcPeerConnectionRequest struct {
	*tchttp.BaseRequest

	// 黑石对等连接实例ID
	VpcPeerConnectionId *string `json:"VpcPeerConnectionId,omitempty" name:"VpcPeerConnectionId"`
}

func NewAcceptVpcPeerConnectionRequest

func NewAcceptVpcPeerConnectionRequest() (request *AcceptVpcPeerConnectionRequest)

func (*AcceptVpcPeerConnectionRequest) FromJsonString

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

func (*AcceptVpcPeerConnectionRequest) ToJsonString

func (r *AcceptVpcPeerConnectionRequest) ToJsonString() string

type AcceptVpcPeerConnectionResponse

type AcceptVpcPeerConnectionResponse 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 NewAcceptVpcPeerConnectionResponse

func NewAcceptVpcPeerConnectionResponse() (response *AcceptVpcPeerConnectionResponse)

func (*AcceptVpcPeerConnectionResponse) FromJsonString

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

func (*AcceptVpcPeerConnectionResponse) ToJsonString

func (r *AcceptVpcPeerConnectionResponse) ToJsonString() string

type AsyncRegisterIpsRequest

type AsyncRegisterIpsRequest struct {
	*tchttp.BaseRequest

	// 私有网络的唯一ID。
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// 子网唯一ID。
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// 需要注册的IP列表。
	Ips []*string `json:"Ips,omitempty" name:"Ips" list`
}

func NewAsyncRegisterIpsRequest

func NewAsyncRegisterIpsRequest() (request *AsyncRegisterIpsRequest)

func (*AsyncRegisterIpsRequest) FromJsonString

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

func (*AsyncRegisterIpsRequest) ToJsonString

func (r *AsyncRegisterIpsRequest) ToJsonString() string

type AsyncRegisterIpsResponse

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

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

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

func NewAsyncRegisterIpsResponse

func NewAsyncRegisterIpsResponse() (response *AsyncRegisterIpsResponse)

func (*AsyncRegisterIpsResponse) FromJsonString

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

func (*AsyncRegisterIpsResponse) ToJsonString

func (r *AsyncRegisterIpsResponse) ToJsonString() string

type BindEipsToNatGatewayRequest

type BindEipsToNatGatewayRequest struct {
	*tchttp.BaseRequest

	// NAT网关ID,例如:nat-kdm476mp
	NatId *string `json:"NatId,omitempty" name:"NatId"`

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

	// 已分配的EIP列表;AssignedEips和AutoAllocEipNum至少输入一个
	AssignedEips []*string `json:"AssignedEips,omitempty" name:"AssignedEips" list`

	// 新建EIP数目,系统将会按您的要求生产该数目个数EIP;AssignedEips和AutoAllocEipNum至少输入一个
	AutoAllocEipNum *uint64 `json:"AutoAllocEipNum,omitempty" name:"AutoAllocEipNum"`
}

func NewBindEipsToNatGatewayRequest

func NewBindEipsToNatGatewayRequest() (request *BindEipsToNatGatewayRequest)

func (*BindEipsToNatGatewayRequest) FromJsonString

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

func (*BindEipsToNatGatewayRequest) ToJsonString

func (r *BindEipsToNatGatewayRequest) ToJsonString() string

type BindEipsToNatGatewayResponse

type BindEipsToNatGatewayResponse 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 NewBindEipsToNatGatewayResponse

func NewBindEipsToNatGatewayResponse() (response *BindEipsToNatGatewayResponse)

func (*BindEipsToNatGatewayResponse) FromJsonString

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

func (*BindEipsToNatGatewayResponse) ToJsonString

func (r *BindEipsToNatGatewayResponse) ToJsonString() string

type BindIpsToNatGatewayRequest

type BindIpsToNatGatewayRequest struct {
	*tchttp.BaseRequest

	// NAT网关ID,例如:nat-kdm476mp
	NatId *string `json:"NatId,omitempty" name:"NatId"`

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

	// 部分IP信息,子网下只有该部分IP将加入NAT,仅当网关转发模式为IP方式有效
	IpInfoSet []*IpInfo `json:"IpInfoSet,omitempty" name:"IpInfoSet" list`
}

func NewBindIpsToNatGatewayRequest

func NewBindIpsToNatGatewayRequest() (request *BindIpsToNatGatewayRequest)

func (*BindIpsToNatGatewayRequest) FromJsonString

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

func (*BindIpsToNatGatewayRequest) ToJsonString

func (r *BindIpsToNatGatewayRequest) ToJsonString() string

type BindIpsToNatGatewayResponse

type BindIpsToNatGatewayResponse 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 NewBindIpsToNatGatewayResponse

func NewBindIpsToNatGatewayResponse() (response *BindIpsToNatGatewayResponse)

func (*BindIpsToNatGatewayResponse) FromJsonString

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

func (*BindIpsToNatGatewayResponse) ToJsonString

func (r *BindIpsToNatGatewayResponse) ToJsonString() string

type BindSubnetsToNatGatewayRequest

type BindSubnetsToNatGatewayRequest struct {
	*tchttp.BaseRequest

	// NAT网关ID,例如:nat-kdm476mp
	NatId *string `json:"NatId,omitempty" name:"NatId"`

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

	// 子网ID列表,子网下全部IP将加入NAT,不区分网关转发方式
	SubnetIds []*string `json:"SubnetIds,omitempty" name:"SubnetIds" list`
}

func NewBindSubnetsToNatGatewayRequest

func NewBindSubnetsToNatGatewayRequest() (request *BindSubnetsToNatGatewayRequest)

func (*BindSubnetsToNatGatewayRequest) FromJsonString

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

func (*BindSubnetsToNatGatewayRequest) ToJsonString

func (r *BindSubnetsToNatGatewayRequest) ToJsonString() string

type BindSubnetsToNatGatewayResponse

type BindSubnetsToNatGatewayResponse 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 NewBindSubnetsToNatGatewayResponse

func NewBindSubnetsToNatGatewayResponse() (response *BindSubnetsToNatGatewayResponse)

func (*BindSubnetsToNatGatewayResponse) FromJsonString

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

func (*BindSubnetsToNatGatewayResponse) ToJsonString

func (r *BindSubnetsToNatGatewayResponse) 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) AcceptVpcPeerConnection

func (c *Client) AcceptVpcPeerConnection(request *AcceptVpcPeerConnectionRequest) (response *AcceptVpcPeerConnectionResponse, err error)

接受黑石对等连接

func (*Client) AsyncRegisterIps

func (c *Client) AsyncRegisterIps(request *AsyncRegisterIpsRequest) (response *AsyncRegisterIpsResponse, err error)

批量注册虚拟IP,异步接口。通过接口来查询任务进度。每次请求最多注册256个IP

func (*Client) BindEipsToNatGateway

func (c *Client) BindEipsToNatGateway(request *BindEipsToNatGatewayRequest) (response *BindEipsToNatGatewayResponse, err error)

NAT网关绑定EIP接口,可将EIP绑定到NAT网关,该EIP作为访问外网的源IP地址,将流量发送到Internet

func (*Client) BindIpsToNatGateway

func (c *Client) BindIpsToNatGateway(request *BindIpsToNatGatewayRequest) (response *BindIpsToNatGatewayResponse, err error)

可用于将子网的部分IP绑定到NAT网关

func (*Client) BindSubnetsToNatGateway

func (c *Client) BindSubnetsToNatGateway(request *BindSubnetsToNatGatewayRequest) (response *BindSubnetsToNatGatewayResponse, err error)

NAT网关绑定子网后,该子网内全部IP可出公网

func (*Client) CreateCustomerGateway

func (c *Client) CreateCustomerGateway(request *CreateCustomerGatewayRequest) (response *CreateCustomerGatewayResponse, err error)

本接口(CreateCustomerGateway)用于创建对端网关。

func (*Client) CreateDockerSubnetWithVlan

func (c *Client) CreateDockerSubnetWithVlan(request *CreateDockerSubnetWithVlanRequest) (response *CreateDockerSubnetWithVlanResponse, err error)

创建黑石Docker子网, 如果不指定VlanId,将会分配2000--2999范围的VlanId; 子网会关闭分布式网关

func (*Client) CreateHostedInterface

func (c *Client) CreateHostedInterface(request *CreateHostedInterfaceRequest) (response *CreateHostedInterfaceResponse, err error)

本接口(CreateHostedInterface)用于黑石托管机器加入带VLANID不为5的子网。

1) 不能加入vlanId 为5的子网,只能加入VLANID范围为2000-2999的子网。 2) 每台托管机器最多可以加入20个子网。 3) 每次调用最多能支持传入10台托管机器。

func (*Client) CreateInterfaces

func (c *Client) CreateInterfaces(request *CreateInterfacesRequest) (response *CreateInterfacesResponse, err error)

物理机加入子网

func (*Client) CreateNatGateway

func (c *Client) CreateNatGateway(request *CreateNatGatewayRequest) (response *CreateNatGatewayResponse, err error)

创建NAT网关接口,可针对网段方式、子网全部IP、子网部分IP这三种方式创建NAT网关

func (*Client) CreateRoutePolicies

func (c *Client) CreateRoutePolicies(request *CreateRoutePoliciesRequest) (response *CreateRoutePoliciesResponse, err error)

创建黑石路由表的路由规则

func (*Client) CreateSubnet

func (c *Client) CreateSubnet(request *CreateSubnetRequest) (response *CreateSubnetResponse, err error)

创建黑石私有网络的子网 访问管理: 用户可以对VpcId进行授权操作。例如设置资源为["qcs::bmvpc:::unVpc/vpc-xxxxx"]

func (*Client) CreateVirtualSubnetWithVlan

func (c *Client) CreateVirtualSubnetWithVlan(request *CreateVirtualSubnetWithVlanRequest) (response *CreateVirtualSubnetWithVlanResponse, err error)

创建黑石虚拟子网, 虚拟子网用于在黑石上创建虚拟网络,与黑石子网要做好规划。虚拟子网会分配2000-2999的VlanId。

func (*Client) CreateVpc

func (c *Client) CreateVpc(request *CreateVpcRequest) (response *CreateVpcResponse, err error)

创建黑石私有网络

func (*Client) CreateVpcPeerConnection

func (c *Client) CreateVpcPeerConnection(request *CreateVpcPeerConnectionRequest) (response *CreateVpcPeerConnectionResponse, err error)

创建对等连接

func (*Client) DeleteCustomerGateway

func (c *Client) DeleteCustomerGateway(request *DeleteCustomerGatewayRequest) (response *DeleteCustomerGatewayResponse, err error)

本接口(DeleteCustomerGateway)用于删除对端网关。

func (*Client) DeleteHostedInterface

func (c *Client) DeleteHostedInterface(request *DeleteHostedInterfaceRequest) (response *DeleteHostedInterfaceResponse, err error)

本接口用于托管机器从VLANID不为5的子网中移除。 1) 不能从vlanId 为5的子网中移除。 2) 每次调用最多能支持传入10台物理机。

func (*Client) DeleteHostedInterfaces

func (c *Client) DeleteHostedInterfaces(request *DeleteHostedInterfacesRequest) (response *DeleteHostedInterfacesResponse, err error)

托管机器移除子网批量接口,传入一台托管机器和多个子网,批量移除这些子网。异步接口,接口返回TaskId。

func (*Client) DeleteInterfaces

func (c *Client) DeleteInterfaces(request *DeleteInterfacesRequest) (response *DeleteInterfacesResponse, err error)

物理机移除子网批量接口,传入一台物理机和多个子网,批量移除这些子网。异步接口,接口返回TaskId。

func (*Client) DeleteNatGateway

func (c *Client) DeleteNatGateway(request *DeleteNatGatewayRequest) (response *DeleteNatGatewayResponse, err error)

删除NAT网关

func (*Client) DeleteRoutePolicy

func (c *Client) DeleteRoutePolicy(request *DeleteRoutePolicyRequest) (response *DeleteRoutePolicyResponse, err error)

删除黑石路由表路由规则

func (*Client) DeleteSubnet

func (c *Client) DeleteSubnet(request *DeleteSubnetRequest) (response *DeleteSubnetResponse, err error)

本接口(DeleteSubnet)用于删除黑石私有网络子网。 删除子网前,请清理该子网下所有资源,包括物理机、负载均衡、黑石数据库、弹性IP、NAT网关等资源

func (*Client) DeleteVirtualIp

func (c *Client) DeleteVirtualIp(request *DeleteVirtualIpRequest) (response *DeleteVirtualIpResponse, err error)

退还虚拟IP。此接口只能退还虚拟IP,物理机IP不能退还。

func (*Client) DeleteVpc

func (c *Client) DeleteVpc(request *DeleteVpcRequest) (response *DeleteVpcResponse, err error)

本接口(DeleteVpc)用于删除黑石私有网络(VPC)。

删除私有网络前,请清理该私有网络下所有资源,包括子网、负载均衡、弹性 IP、对等连接、NAT 网关、专线通道、SSLVPN 等资源。

func (*Client) DeleteVpcPeerConnection

func (c *Client) DeleteVpcPeerConnection(request *DeleteVpcPeerConnectionRequest) (response *DeleteVpcPeerConnectionResponse, err error)

删除黑石对等连接

func (*Client) DeleteVpnConnection

func (c *Client) DeleteVpnConnection(request *DeleteVpnConnectionRequest) (response *DeleteVpnConnectionResponse, err error)

本接口(DeleteVpnConnection)用于删除VPN通道。

func (*Client) DeleteVpnGateway

func (c *Client) DeleteVpnGateway(request *DeleteVpnGatewayRequest) (response *DeleteVpnGatewayResponse, err error)

本接口(DeleteVpnGateway)用于删除VPN网关。

func (*Client) DeregisterIps

func (c *Client) DeregisterIps(request *DeregisterIpsRequest) (response *DeregisterIpsResponse, err error)

注销私有网络IP为空闲

func (*Client) DescribeCustomerGateways

func (c *Client) DescribeCustomerGateways(request *DescribeCustomerGatewaysRequest) (response *DescribeCustomerGatewaysResponse, err error)

本接口(DescribeCustomerGateways)用于查询对端网关列表。

func (*Client) DescribeNatGateways

func (c *Client) DescribeNatGateways(request *DescribeNatGatewaysRequest) (response *DescribeNatGatewaysResponse, err error)

获取NAT网关信息,包括NAT网关 ID、网关名称、私有网络、网关并发连接上限、绑定EIP列表等

func (*Client) DescribeNatSubnets

func (c *Client) DescribeNatSubnets(request *DescribeNatSubnetsRequest) (response *DescribeNatSubnetsResponse, err error)

可获取NAT网关绑定的子网信息

func (*Client) DescribeRoutePolicies

func (c *Client) DescribeRoutePolicies(request *DescribeRoutePoliciesRequest) (response *DescribeRoutePoliciesResponse, err error)

本接口(DescribeRoutePolicies)用于查询路由表条目。

func (*Client) DescribeRouteTables

func (c *Client) DescribeRouteTables(request *DescribeRouteTablesRequest) (response *DescribeRouteTablesResponse, err error)

本接口(DescribeRouteTables)用于查询路由表。

func (*Client) DescribeSubnetAvailableIps

func (c *Client) DescribeSubnetAvailableIps(request *DescribeSubnetAvailableIpsRequest) (response *DescribeSubnetAvailableIpsResponse, err error)

获取子网内可用IP列表

func (*Client) DescribeSubnetByDevice

func (c *Client) DescribeSubnetByDevice(request *DescribeSubnetByDeviceRequest) (response *DescribeSubnetByDeviceResponse, err error)

物理机可以加入物理机子网,虚拟子网,DOCKER子网,通过此接口可以查询物理机加入的子网。

func (*Client) DescribeSubnetByHostedDevice

func (c *Client) DescribeSubnetByHostedDevice(request *DescribeSubnetByHostedDeviceRequest) (response *DescribeSubnetByHostedDeviceResponse, err error)

托管可以加入物理机子网,虚拟子网,DOCKER子网,通过此接口可以查询托管加入的子网。

func (*Client) DescribeSubnets

func (c *Client) DescribeSubnets(request *DescribeSubnetsRequest) (response *DescribeSubnetsResponse, err error)

本接口(DescribeSubnets)用于查询黑石子网列表。

func (*Client) DescribeTaskStatus

func (c *Client) DescribeTaskStatus(request *DescribeTaskStatusRequest) (response *DescribeTaskStatusResponse, err error)

根据任务ID,获取任务的执行状态

func (*Client) DescribeVpcPeerConnections

func (c *Client) DescribeVpcPeerConnections(request *DescribeVpcPeerConnectionsRequest) (response *DescribeVpcPeerConnectionsResponse, err error)

获取对等连接列表

func (*Client) DescribeVpcQuota

func (c *Client) DescribeVpcQuota(request *DescribeVpcQuotaRequest) (response *DescribeVpcQuotaResponse, err error)

本接口(DescribeVpcQuota)用于查询用户VPC相关配额限制。

func (*Client) DescribeVpcResource

func (c *Client) DescribeVpcResource(request *DescribeVpcResourceRequest) (response *DescribeVpcResourceResponse, err error)

查询黑石私有网络关联资源

func (*Client) DescribeVpcView

func (c *Client) DescribeVpcView(request *DescribeVpcViewRequest) (response *DescribeVpcViewResponse, err error)

本接口(DescribeVpcView)用于查询VPC网络拓扑视图。

func (*Client) DescribeVpcs

func (c *Client) DescribeVpcs(request *DescribeVpcsRequest) (response *DescribeVpcsResponse, err error)

本接口(DescribeVpcs)用于查询私有网络列表。 本接口不传参数时,返回默认排序下的前20条VPC信息。

func (*Client) DescribeVpnConnections

func (c *Client) DescribeVpnConnections(request *DescribeVpnConnectionsRequest) (response *DescribeVpnConnectionsResponse, err error)

本接口(DescribeVpnConnections)查询VPN通道列表。

func (*Client) DescribeVpnGateways

func (c *Client) DescribeVpnGateways(request *DescribeVpnGatewaysRequest) (response *DescribeVpnGatewaysResponse, err error)

本接口(DescribeVpnGateways)用于查询VPN网关列表。

func (*Client) DownloadCustomerGatewayConfiguration

func (c *Client) DownloadCustomerGatewayConfiguration(request *DownloadCustomerGatewayConfigurationRequest) (response *DownloadCustomerGatewayConfigurationResponse, err error)

本接口(DownloadCustomerGatewayConfiguration)用于下载VPN通道配置。

func (*Client) ModifyCustomerGatewayAttribute

func (c *Client) ModifyCustomerGatewayAttribute(request *ModifyCustomerGatewayAttributeRequest) (response *ModifyCustomerGatewayAttributeResponse, err error)

本接口(ModifyCustomerGatewayAttribute)用于修改对端网关信息。

func (*Client) ModifyRoutePolicy

func (c *Client) ModifyRoutePolicy(request *ModifyRoutePolicyRequest) (response *ModifyRoutePolicyResponse, err error)

修改自定义路由

func (*Client) ModifyRouteTable

func (c *Client) ModifyRouteTable(request *ModifyRouteTableRequest) (response *ModifyRouteTableResponse, err error)

修改路由表

func (*Client) ModifySubnetAttribute

func (c *Client) ModifySubnetAttribute(request *ModifySubnetAttributeRequest) (response *ModifySubnetAttributeResponse, err error)

修改子网属性

func (*Client) ModifySubnetDHCPRelay

func (c *Client) ModifySubnetDHCPRelay(request *ModifySubnetDHCPRelayRequest) (response *ModifySubnetDHCPRelayResponse, err error)

修改子网DHCP Relay属性

func (*Client) ModifyVpcAttribute

func (c *Client) ModifyVpcAttribute(request *ModifyVpcAttributeRequest) (response *ModifyVpcAttributeResponse, err error)

本接口(ModifyVpcAttribute)用于修改VPC的标识名称和控制VPC的监控起停。

func (*Client) ModifyVpcPeerConnection

func (c *Client) ModifyVpcPeerConnection(request *ModifyVpcPeerConnectionRequest) (response *ModifyVpcPeerConnectionResponse, err error)

修改黑石对等连接

func (*Client) ModifyVpnConnectionAttribute

func (c *Client) ModifyVpnConnectionAttribute(request *ModifyVpnConnectionAttributeRequest) (response *ModifyVpnConnectionAttributeResponse, err error)

本接口(ModifyVpnConnectionAttribute)用于修改VPN通道。

func (*Client) ModifyVpnGatewayAttribute

func (c *Client) ModifyVpnGatewayAttribute(request *ModifyVpnGatewayAttributeRequest) (response *ModifyVpnGatewayAttributeResponse, err error)

本接口(ModifyVpnGatewayAttribute)用于修改VPN网关属性。

func (*Client) RejectVpcPeerConnection

func (c *Client) RejectVpcPeerConnection(request *RejectVpcPeerConnectionRequest) (response *RejectVpcPeerConnectionResponse, err error)

拒绝黑石对等连接申请

func (*Client) ResetVpnConnection

func (c *Client) ResetVpnConnection(request *ResetVpnConnectionRequest) (response *ResetVpnConnectionResponse, err error)

本接口(ResetVpnConnection)用于重置VPN通道。

func (*Client) UnbindEipsFromNatGateway

func (c *Client) UnbindEipsFromNatGateway(request *UnbindEipsFromNatGatewayRequest) (response *UnbindEipsFromNatGatewayResponse, err error)

NAT网关解绑该EIP后,NAT网关将不会使用该EIP作为访问外网的源IP地址

func (*Client) UnbindIpsFromNatGateway

func (c *Client) UnbindIpsFromNatGateway(request *UnbindIpsFromNatGatewayRequest) (response *UnbindIpsFromNatGatewayResponse, err error)

NAT网关解绑IP接口,可将子网的部分IP从NAT网关中解绑

func (*Client) UnbindSubnetsFromNatGateway

func (c *Client) UnbindSubnetsFromNatGateway(request *UnbindSubnetsFromNatGatewayRequest) (response *UnbindSubnetsFromNatGatewayResponse, err error)

NAT网关解绑子网接口,可将子网解绑NAT网关

func (*Client) UpgradeNatGateway

func (c *Client) UpgradeNatGateway(request *UpgradeNatGatewayRequest) (response *UpgradeNatGatewayResponse, err error)

升级NAT网关接口,可NAT网关修改为小型NAT网关、中型NAT网关、以及大型NAT网关

type CreateCustomerGatewayRequest

type CreateCustomerGatewayRequest struct {
	*tchttp.BaseRequest

	// 对端网关名称,可任意命名,但不得超过60个字符。
	CustomerGatewayName *string `json:"CustomerGatewayName,omitempty" name:"CustomerGatewayName"`

	// 对端网关公网IP。
	IpAddress *string `json:"IpAddress,omitempty" name:"IpAddress"`

	// 可用区ID
	Zone *string `json:"Zone,omitempty" name:"Zone"`
}

func NewCreateCustomerGatewayRequest

func NewCreateCustomerGatewayRequest() (request *CreateCustomerGatewayRequest)

func (*CreateCustomerGatewayRequest) FromJsonString

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

func (*CreateCustomerGatewayRequest) ToJsonString

func (r *CreateCustomerGatewayRequest) ToJsonString() string

type CreateCustomerGatewayResponse

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

		// 对端网关对象
		CustomerGateway *CustomerGateway `json:"CustomerGateway,omitempty" name:"CustomerGateway"`

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

func NewCreateCustomerGatewayResponse

func NewCreateCustomerGatewayResponse() (response *CreateCustomerGatewayResponse)

func (*CreateCustomerGatewayResponse) FromJsonString

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

func (*CreateCustomerGatewayResponse) ToJsonString

func (r *CreateCustomerGatewayResponse) ToJsonString() string

type CreateDockerSubnetWithVlanRequest

type CreateDockerSubnetWithVlanRequest struct {
	*tchttp.BaseRequest

	// 系统分配的私有网络ID,例如:vpc-kd7d06of
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// 子网信息
	SubnetSet []*SubnetCreateInputInfo `json:"SubnetSet,omitempty" name:"SubnetSet" list`
}

func NewCreateDockerSubnetWithVlanRequest

func NewCreateDockerSubnetWithVlanRequest() (request *CreateDockerSubnetWithVlanRequest)

func (*CreateDockerSubnetWithVlanRequest) FromJsonString

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

func (*CreateDockerSubnetWithVlanRequest) ToJsonString

func (r *CreateDockerSubnetWithVlanRequest) ToJsonString() string

type CreateDockerSubnetWithVlanResponse

type CreateDockerSubnetWithVlanResponse 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 NewCreateDockerSubnetWithVlanResponse

func NewCreateDockerSubnetWithVlanResponse() (response *CreateDockerSubnetWithVlanResponse)

func (*CreateDockerSubnetWithVlanResponse) FromJsonString

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

func (*CreateDockerSubnetWithVlanResponse) ToJsonString

func (r *CreateDockerSubnetWithVlanResponse) ToJsonString() string

type CreateHostedInterfaceRequest

type CreateHostedInterfaceRequest struct {
	*tchttp.BaseRequest

	// 托管机器唯一ID 数组
	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds" list`

	// 私有网络ID或者私有网络统一ID,建议使用统一ID
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// 子网ID或者子网统一ID,建议使用统一ID
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`
}

func NewCreateHostedInterfaceRequest

func NewCreateHostedInterfaceRequest() (request *CreateHostedInterfaceRequest)

func (*CreateHostedInterfaceRequest) FromJsonString

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

func (*CreateHostedInterfaceRequest) ToJsonString

func (r *CreateHostedInterfaceRequest) ToJsonString() string

type CreateHostedInterfaceResponse

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

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

		// 黑石托管机器ID
		ResourceIds []*string `json:"ResourceIds,omitempty" name:"ResourceIds" list`

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

func NewCreateHostedInterfaceResponse

func NewCreateHostedInterfaceResponse() (response *CreateHostedInterfaceResponse)

func (*CreateHostedInterfaceResponse) FromJsonString

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

func (*CreateHostedInterfaceResponse) ToJsonString

func (r *CreateHostedInterfaceResponse) ToJsonString() string

type CreateInterfacesRequest

type CreateInterfacesRequest struct {
	*tchttp.BaseRequest

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

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

	// 子网ID
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`
}

func NewCreateInterfacesRequest

func NewCreateInterfacesRequest() (request *CreateInterfacesRequest)

func (*CreateInterfacesRequest) FromJsonString

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

func (*CreateInterfacesRequest) ToJsonString

func (r *CreateInterfacesRequest) ToJsonString() string

type CreateInterfacesResponse

type CreateInterfacesResponse 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 NewCreateInterfacesResponse

func NewCreateInterfacesResponse() (response *CreateInterfacesResponse)

func (*CreateInterfacesResponse) FromJsonString

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

func (*CreateInterfacesResponse) ToJsonString

func (r *CreateInterfacesResponse) ToJsonString() string

type CreateNatGatewayRequest

type CreateNatGatewayRequest struct {
	*tchttp.BaseRequest

	// 转发模式,其中0表示IP方式,1表示网段方式;通过cidr方式可支持更多的IP接入到NAT网关
	ForwardMode *string `json:"ForwardMode,omitempty" name:"ForwardMode"`

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

	// NAT名称
	NatName *string `json:"NatName,omitempty" name:"NatName"`

	// 并发连接数规格;取值为1000000、3000000、10000000,分别对应小型、中型、大型NAT网关
	MaxConcurrent *uint64 `json:"MaxConcurrent,omitempty" name:"MaxConcurrent"`

	// 子网ID列表,子网下全部IP将加入NAT,不区分网关转发方式
	SubnetIds []*string `json:"SubnetIds,omitempty" name:"SubnetIds" list`

	// 部分IP信息,子网下只有该部分IP将加入NAT,仅当网关转发模式为IP方式有效;IpInfoSet和SubnetIds中的子网ID不能同时存在
	IpInfoSet []*IpInfo `json:"IpInfoSet,omitempty" name:"IpInfoSet" list`

	// 已分配的EIP列表, AssignedEips和AutoAllocEipNum至少输入一个
	AssignedEips []*string `json:"AssignedEips,omitempty" name:"AssignedEips" list`

	// 新建EIP数目,系统将会按您的要求生产该数目个数EIP, AssignedEips和AutoAllocEipNum至少输入一个
	AutoAllocEipNum *uint64 `json:"AutoAllocEipNum,omitempty" name:"AutoAllocEipNum"`

	// 独占标识,取值为0和1,默认值为0;0和1分别表示创建共享型NAT网关和独占NAT型网关;由于同一个VPC网络内,指向NAT集群的默认路由只有一条,因此VPC内只能创建一种类型NAT网关;创建独占型NAT网关时,需联系对应架构师进行独占NAT集群搭建,否则无法创建独占型NAT网关。
	Exclusive *uint64 `json:"Exclusive,omitempty" name:"Exclusive"`
}

func NewCreateNatGatewayRequest

func NewCreateNatGatewayRequest() (request *CreateNatGatewayRequest)

func (*CreateNatGatewayRequest) FromJsonString

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

func (*CreateNatGatewayRequest) ToJsonString

func (r *CreateNatGatewayRequest) ToJsonString() string

type CreateNatGatewayResponse

type CreateNatGatewayResponse 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 NewCreateNatGatewayResponse

func NewCreateNatGatewayResponse() (response *CreateNatGatewayResponse)

func (*CreateNatGatewayResponse) FromJsonString

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

func (*CreateNatGatewayResponse) ToJsonString

func (r *CreateNatGatewayResponse) ToJsonString() string

type CreateRoutePoliciesRequest

type CreateRoutePoliciesRequest struct {
	*tchttp.BaseRequest

	// 路由表ID
	RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"`

	// 新增的路由
	RoutePolicySet []*RoutePolicy `json:"RoutePolicySet,omitempty" name:"RoutePolicySet" list`
}

func NewCreateRoutePoliciesRequest

func NewCreateRoutePoliciesRequest() (request *CreateRoutePoliciesRequest)

func (*CreateRoutePoliciesRequest) FromJsonString

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

func (*CreateRoutePoliciesRequest) ToJsonString

func (r *CreateRoutePoliciesRequest) ToJsonString() string

type CreateRoutePoliciesResponse

type CreateRoutePoliciesResponse 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 NewCreateRoutePoliciesResponse

func NewCreateRoutePoliciesResponse() (response *CreateRoutePoliciesResponse)

func (*CreateRoutePoliciesResponse) FromJsonString

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

func (*CreateRoutePoliciesResponse) ToJsonString

func (r *CreateRoutePoliciesResponse) ToJsonString() string

type CreateSubnetRequest

type CreateSubnetRequest struct {
	*tchttp.BaseRequest

	// 系统分配的私有网络ID,例如:vpc-kd7d06of
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// 子网信息
	SubnetSet []*SubnetCreateInputInfo `json:"SubnetSet,omitempty" name:"SubnetSet" list`
}

func NewCreateSubnetRequest

func NewCreateSubnetRequest() (request *CreateSubnetRequest)

func (*CreateSubnetRequest) FromJsonString

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

func (*CreateSubnetRequest) ToJsonString

func (r *CreateSubnetRequest) ToJsonString() string

type CreateSubnetResponse

type CreateSubnetResponse 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 NewCreateSubnetResponse

func NewCreateSubnetResponse() (response *CreateSubnetResponse)

func (*CreateSubnetResponse) FromJsonString

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

func (*CreateSubnetResponse) ToJsonString

func (r *CreateSubnetResponse) ToJsonString() string

type CreateVirtualSubnetWithVlanRequest

type CreateVirtualSubnetWithVlanRequest struct {
	*tchttp.BaseRequest

	// 系统分配的私有网络ID,例如:vpc-kd7d06of
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// 子网信息
	SubnetSet []*SubnetCreateInputInfo `json:"SubnetSet,omitempty" name:"SubnetSet" list`
}

func NewCreateVirtualSubnetWithVlanRequest

func NewCreateVirtualSubnetWithVlanRequest() (request *CreateVirtualSubnetWithVlanRequest)

func (*CreateVirtualSubnetWithVlanRequest) FromJsonString

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

func (*CreateVirtualSubnetWithVlanRequest) ToJsonString

func (r *CreateVirtualSubnetWithVlanRequest) ToJsonString() string

type CreateVirtualSubnetWithVlanResponse

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

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

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

func NewCreateVirtualSubnetWithVlanResponse

func NewCreateVirtualSubnetWithVlanResponse() (response *CreateVirtualSubnetWithVlanResponse)

func (*CreateVirtualSubnetWithVlanResponse) FromJsonString

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

func (*CreateVirtualSubnetWithVlanResponse) ToJsonString

func (r *CreateVirtualSubnetWithVlanResponse) ToJsonString() string

type CreateVpcPeerConnectionRequest

type CreateVpcPeerConnectionRequest struct {
	*tchttp.BaseRequest

	// 本端VPC唯一ID
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// 对端VPC唯一ID
	PeerVpcId *string `json:"PeerVpcId,omitempty" name:"PeerVpcId"`

	// 对端地域,取值范围为gz,sh,bj,hk,cd,de,sh_bm,gz_bm,bj_bm,cq_bm等
	PeerRegion *string `json:"PeerRegion,omitempty" name:"PeerRegion"`

	// 对等连接名称
	VpcPeerConnectionName *string `json:"VpcPeerConnectionName,omitempty" name:"VpcPeerConnectionName"`

	// 对端账户OwnerUin(默认值为本端账户)
	PeerUin *string `json:"PeerUin,omitempty" name:"PeerUin"`

	// 跨地域必传,带宽上限值
	Bandwidth *uint64 `json:"Bandwidth,omitempty" name:"Bandwidth"`
}

func NewCreateVpcPeerConnectionRequest

func NewCreateVpcPeerConnectionRequest() (request *CreateVpcPeerConnectionRequest)

func (*CreateVpcPeerConnectionRequest) FromJsonString

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

func (*CreateVpcPeerConnectionRequest) ToJsonString

func (r *CreateVpcPeerConnectionRequest) ToJsonString() string

type CreateVpcPeerConnectionResponse

type CreateVpcPeerConnectionResponse 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 NewCreateVpcPeerConnectionResponse

func NewCreateVpcPeerConnectionResponse() (response *CreateVpcPeerConnectionResponse)

func (*CreateVpcPeerConnectionResponse) FromJsonString

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

func (*CreateVpcPeerConnectionResponse) ToJsonString

func (r *CreateVpcPeerConnectionResponse) ToJsonString() string

type CreateVpcRequest

type CreateVpcRequest struct {
	*tchttp.BaseRequest

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

	// 私有网络的CIDR
	CidrBlock *string `json:"CidrBlock,omitempty" name:"CidrBlock"`

	// 私有网络的可用区
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// 子网信息
	SubnetSet []*VpcSubnetCreateInfo `json:"SubnetSet,omitempty" name:"SubnetSet" list`

	// 是否启用内网监控
	EnableMonitoring *bool `json:"EnableMonitoring,omitempty" name:"EnableMonitoring"`
}

func NewCreateVpcRequest

func NewCreateVpcRequest() (request *CreateVpcRequest)

func (*CreateVpcRequest) FromJsonString

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

func (*CreateVpcRequest) ToJsonString

func (r *CreateVpcRequest) ToJsonString() string

type CreateVpcResponse

type CreateVpcResponse 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 NewCreateVpcResponse

func NewCreateVpcResponse() (response *CreateVpcResponse)

func (*CreateVpcResponse) FromJsonString

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

func (*CreateVpcResponse) ToJsonString

func (r *CreateVpcResponse) ToJsonString() string

type CustomerGateway

type CustomerGateway struct {

	// 用户网关唯一ID
	CustomerGatewayId *string `json:"CustomerGatewayId,omitempty" name:"CustomerGatewayId"`

	// 网关名称
	CustomerGatewayName *string `json:"CustomerGatewayName,omitempty" name:"CustomerGatewayName"`

	// 公网地址
	IpAddress *string `json:"IpAddress,omitempty" name:"IpAddress"`

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

	// VPN通道引用个数
	// 注意:此字段可能返回 null,表示取不到有效值。
	VpnConnNum *uint64 `json:"VpnConnNum,omitempty" name:"VpnConnNum"`
}

type DeleteCustomerGatewayRequest

type DeleteCustomerGatewayRequest struct {
	*tchttp.BaseRequest

	// 对端网关ID,例如:bmcgw-2wqq41m9,可通过DescribeCustomerGateways接口查询对端网关。
	CustomerGatewayId *string `json:"CustomerGatewayId,omitempty" name:"CustomerGatewayId"`
}

func NewDeleteCustomerGatewayRequest

func NewDeleteCustomerGatewayRequest() (request *DeleteCustomerGatewayRequest)

func (*DeleteCustomerGatewayRequest) FromJsonString

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

func (*DeleteCustomerGatewayRequest) ToJsonString

func (r *DeleteCustomerGatewayRequest) ToJsonString() string

type DeleteCustomerGatewayResponse

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

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

func NewDeleteCustomerGatewayResponse

func NewDeleteCustomerGatewayResponse() (response *DeleteCustomerGatewayResponse)

func (*DeleteCustomerGatewayResponse) FromJsonString

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

func (*DeleteCustomerGatewayResponse) ToJsonString

func (r *DeleteCustomerGatewayResponse) ToJsonString() string

type DeleteHostedInterfaceRequest

type DeleteHostedInterfaceRequest struct {
	*tchttp.BaseRequest

	// 托管机器唯一ID 数组
	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds" list`

	// 私有网络ID或者私有网络统一ID,建议使用统一ID
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// 子网ID或者子网统一ID,建议使用统一ID
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`
}

func NewDeleteHostedInterfaceRequest

func NewDeleteHostedInterfaceRequest() (request *DeleteHostedInterfaceRequest)

func (*DeleteHostedInterfaceRequest) FromJsonString

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

func (*DeleteHostedInterfaceRequest) ToJsonString

func (r *DeleteHostedInterfaceRequest) ToJsonString() string

type DeleteHostedInterfaceResponse

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

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

		// 黑石托管机器ID
		ResourceIds []*string `json:"ResourceIds,omitempty" name:"ResourceIds" list`

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

func NewDeleteHostedInterfaceResponse

func NewDeleteHostedInterfaceResponse() (response *DeleteHostedInterfaceResponse)

func (*DeleteHostedInterfaceResponse) FromJsonString

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

func (*DeleteHostedInterfaceResponse) ToJsonString

func (r *DeleteHostedInterfaceResponse) ToJsonString() string

type DeleteHostedInterfacesRequest

type DeleteHostedInterfacesRequest struct {
	*tchttp.BaseRequest

	// 物理机ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 物理机ID
	SubnetIds []*string `json:"SubnetIds,omitempty" name:"SubnetIds" list`
}

func NewDeleteHostedInterfacesRequest

func NewDeleteHostedInterfacesRequest() (request *DeleteHostedInterfacesRequest)

func (*DeleteHostedInterfacesRequest) FromJsonString

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

func (*DeleteHostedInterfacesRequest) ToJsonString

func (r *DeleteHostedInterfacesRequest) ToJsonString() string

type DeleteHostedInterfacesResponse

type DeleteHostedInterfacesResponse 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 NewDeleteHostedInterfacesResponse

func NewDeleteHostedInterfacesResponse() (response *DeleteHostedInterfacesResponse)

func (*DeleteHostedInterfacesResponse) FromJsonString

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

func (*DeleteHostedInterfacesResponse) ToJsonString

func (r *DeleteHostedInterfacesResponse) ToJsonString() string

type DeleteInterfacesRequest

type DeleteInterfacesRequest struct {
	*tchttp.BaseRequest

	// 物理机ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 子网的唯一ID列表
	SubnetIds []*string `json:"SubnetIds,omitempty" name:"SubnetIds" list`
}

func NewDeleteInterfacesRequest

func NewDeleteInterfacesRequest() (request *DeleteInterfacesRequest)

func (*DeleteInterfacesRequest) FromJsonString

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

func (*DeleteInterfacesRequest) ToJsonString

func (r *DeleteInterfacesRequest) ToJsonString() string

type DeleteInterfacesResponse

type DeleteInterfacesResponse 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 NewDeleteInterfacesResponse

func NewDeleteInterfacesResponse() (response *DeleteInterfacesResponse)

func (*DeleteInterfacesResponse) FromJsonString

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

func (*DeleteInterfacesResponse) ToJsonString

func (r *DeleteInterfacesResponse) ToJsonString() string

type DeleteNatGatewayRequest

type DeleteNatGatewayRequest struct {
	*tchttp.BaseRequest

	// NAT网关ID,例如:nat-kdm476mp
	NatId *string `json:"NatId,omitempty" name:"NatId"`

	// 私有网络ID,例如:vpc-kd7d06of
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`
}

func NewDeleteNatGatewayRequest

func NewDeleteNatGatewayRequest() (request *DeleteNatGatewayRequest)

func (*DeleteNatGatewayRequest) FromJsonString

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

func (*DeleteNatGatewayRequest) ToJsonString

func (r *DeleteNatGatewayRequest) ToJsonString() string

type DeleteNatGatewayResponse

type DeleteNatGatewayResponse 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 NewDeleteNatGatewayResponse

func NewDeleteNatGatewayResponse() (response *DeleteNatGatewayResponse)

func (*DeleteNatGatewayResponse) FromJsonString

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

func (*DeleteNatGatewayResponse) ToJsonString

func (r *DeleteNatGatewayResponse) ToJsonString() string

type DeleteRoutePolicyRequest

type DeleteRoutePolicyRequest struct {
	*tchttp.BaseRequest

	// 路由表ID
	RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"`

	// 路由表策略ID
	RoutePolicyId *string `json:"RoutePolicyId,omitempty" name:"RoutePolicyId"`
}

func NewDeleteRoutePolicyRequest

func NewDeleteRoutePolicyRequest() (request *DeleteRoutePolicyRequest)

func (*DeleteRoutePolicyRequest) FromJsonString

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

func (*DeleteRoutePolicyRequest) ToJsonString

func (r *DeleteRoutePolicyRequest) ToJsonString() string

type DeleteRoutePolicyResponse

type DeleteRoutePolicyResponse 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 NewDeleteRoutePolicyResponse

func NewDeleteRoutePolicyResponse() (response *DeleteRoutePolicyResponse)

func (*DeleteRoutePolicyResponse) FromJsonString

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

func (*DeleteRoutePolicyResponse) ToJsonString

func (r *DeleteRoutePolicyResponse) ToJsonString() string

type DeleteSubnetRequest

type DeleteSubnetRequest struct {
	*tchttp.BaseRequest

	// 私有网络ID。可通过DescribeVpcs接口返回值中的VpcId获取。
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// 子网实例ID。可通过DescribeSubnets接口返回值中的SubnetId获取。
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`
}

func NewDeleteSubnetRequest

func NewDeleteSubnetRequest() (request *DeleteSubnetRequest)

func (*DeleteSubnetRequest) FromJsonString

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

func (*DeleteSubnetRequest) ToJsonString

func (r *DeleteSubnetRequest) ToJsonString() string

type DeleteSubnetResponse

type DeleteSubnetResponse 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 NewDeleteSubnetResponse

func NewDeleteSubnetResponse() (response *DeleteSubnetResponse)

func (*DeleteSubnetResponse) FromJsonString

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

func (*DeleteSubnetResponse) ToJsonString

func (r *DeleteSubnetResponse) ToJsonString() string

type DeleteVirtualIpRequest

type DeleteVirtualIpRequest struct {
	*tchttp.BaseRequest

	// 私有网络唯一ID。
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// 退还的IP列表。
	Ips []*string `json:"Ips,omitempty" name:"Ips" list`
}

func NewDeleteVirtualIpRequest

func NewDeleteVirtualIpRequest() (request *DeleteVirtualIpRequest)

func (*DeleteVirtualIpRequest) FromJsonString

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

func (*DeleteVirtualIpRequest) ToJsonString

func (r *DeleteVirtualIpRequest) ToJsonString() string

type DeleteVirtualIpResponse

type DeleteVirtualIpResponse 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 NewDeleteVirtualIpResponse

func NewDeleteVirtualIpResponse() (response *DeleteVirtualIpResponse)

func (*DeleteVirtualIpResponse) FromJsonString

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

func (*DeleteVirtualIpResponse) ToJsonString

func (r *DeleteVirtualIpResponse) ToJsonString() string

type DeleteVpcPeerConnectionRequest

type DeleteVpcPeerConnectionRequest struct {
	*tchttp.BaseRequest

	// 黑石对等连接实例ID
	VpcPeerConnectionId *string `json:"VpcPeerConnectionId,omitempty" name:"VpcPeerConnectionId"`
}

func NewDeleteVpcPeerConnectionRequest

func NewDeleteVpcPeerConnectionRequest() (request *DeleteVpcPeerConnectionRequest)

func (*DeleteVpcPeerConnectionRequest) FromJsonString

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

func (*DeleteVpcPeerConnectionRequest) ToJsonString

func (r *DeleteVpcPeerConnectionRequest) ToJsonString() string

type DeleteVpcPeerConnectionResponse

type DeleteVpcPeerConnectionResponse 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 NewDeleteVpcPeerConnectionResponse

func NewDeleteVpcPeerConnectionResponse() (response *DeleteVpcPeerConnectionResponse)

func (*DeleteVpcPeerConnectionResponse) FromJsonString

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

func (*DeleteVpcPeerConnectionResponse) ToJsonString

func (r *DeleteVpcPeerConnectionResponse) ToJsonString() string

type DeleteVpcRequest

type DeleteVpcRequest struct {
	*tchttp.BaseRequest

	// VPC实例ID。可通过DescribeVpcs接口返回值中的VpcId获取。
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`
}

func NewDeleteVpcRequest

func NewDeleteVpcRequest() (request *DeleteVpcRequest)

func (*DeleteVpcRequest) FromJsonString

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

func (*DeleteVpcRequest) ToJsonString

func (r *DeleteVpcRequest) ToJsonString() string

type DeleteVpcResponse

type DeleteVpcResponse 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 NewDeleteVpcResponse

func NewDeleteVpcResponse() (response *DeleteVpcResponse)

func (*DeleteVpcResponse) FromJsonString

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

func (*DeleteVpcResponse) ToJsonString

func (r *DeleteVpcResponse) ToJsonString() string

type DeleteVpnConnectionRequest

type DeleteVpnConnectionRequest struct {
	*tchttp.BaseRequest

	// VPN通道实例ID。形如:bmvpnx-f49l6u0z。
	VpnConnectionId *string `json:"VpnConnectionId,omitempty" name:"VpnConnectionId"`
}

func NewDeleteVpnConnectionRequest

func NewDeleteVpnConnectionRequest() (request *DeleteVpnConnectionRequest)

func (*DeleteVpnConnectionRequest) FromJsonString

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

func (*DeleteVpnConnectionRequest) ToJsonString

func (r *DeleteVpnConnectionRequest) ToJsonString() string

type DeleteVpnConnectionResponse

type DeleteVpnConnectionResponse 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 NewDeleteVpnConnectionResponse

func NewDeleteVpnConnectionResponse() (response *DeleteVpnConnectionResponse)

func (*DeleteVpnConnectionResponse) FromJsonString

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

func (*DeleteVpnConnectionResponse) ToJsonString

func (r *DeleteVpnConnectionResponse) ToJsonString() string

type DeleteVpnGatewayRequest

type DeleteVpnGatewayRequest struct {
	*tchttp.BaseRequest

	// VPN网关实例ID。
	VpnGatewayId *string `json:"VpnGatewayId,omitempty" name:"VpnGatewayId"`
}

func NewDeleteVpnGatewayRequest

func NewDeleteVpnGatewayRequest() (request *DeleteVpnGatewayRequest)

func (*DeleteVpnGatewayRequest) FromJsonString

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

func (*DeleteVpnGatewayRequest) ToJsonString

func (r *DeleteVpnGatewayRequest) ToJsonString() string

type DeleteVpnGatewayResponse

type DeleteVpnGatewayResponse 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 NewDeleteVpnGatewayResponse

func NewDeleteVpnGatewayResponse() (response *DeleteVpnGatewayResponse)

func (*DeleteVpnGatewayResponse) FromJsonString

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

func (*DeleteVpnGatewayResponse) ToJsonString

func (r *DeleteVpnGatewayResponse) ToJsonString() string

type DeregisterIpsRequest

type DeregisterIpsRequest struct {
	*tchttp.BaseRequest

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

	// 注销指定IP的列表
	IpSet []*string `json:"IpSet,omitempty" name:"IpSet" list`

	// 私有网络子网ID
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`
}

func NewDeregisterIpsRequest

func NewDeregisterIpsRequest() (request *DeregisterIpsRequest)

func (*DeregisterIpsRequest) FromJsonString

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

func (*DeregisterIpsRequest) ToJsonString

func (r *DeregisterIpsRequest) ToJsonString() string

type DeregisterIpsResponse

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

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

func NewDeregisterIpsResponse

func NewDeregisterIpsResponse() (response *DeregisterIpsResponse)

func (*DeregisterIpsResponse) FromJsonString

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

func (*DeregisterIpsResponse) ToJsonString

func (r *DeregisterIpsResponse) ToJsonString() string

type DescribeCustomerGatewaysRequest

type DescribeCustomerGatewaysRequest struct {
	*tchttp.BaseRequest

	// 对端网关ID,例如:bmcgw-2wqq41m9。每次请求的实例的上限为100。参数不支持同时指定CustomerGatewayIds和Filters。
	CustomerGatewayIds []*string `json:"CustomerGatewayIds,omitempty" name:"CustomerGatewayIds" list`

	// 过滤条件,详见下表:实例过滤条件表。每次请求的Filters的上限为10,Filter.Values的上限为5。参数不支持同时指定CustomerGatewayIds和Filters。
	// <li>customergateway-name - String - (过滤条件)对端网关名称。</li>
	// <li>ip-address - String - (过滤条件)对端网关地址。</li>
	// <li>customergateway-id - String - (过滤条件)对端网关唯一ID。</li>
	// <li>zone - String - (过滤条件)对端所在可用区,形如:ap-guangzhou-2。</li>
	Filters []*Filter `json:"Filters,omitempty" name:"Filters" list`

	// 偏移量,默认为0。关于Offset的更进一步介绍请参考 API 简介中的相关小节。
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

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

	// 排序字段, 支持"CreateTime"排序
	OrderField *string `json:"OrderField,omitempty" name:"OrderField"`

	// 排序方向, “asc”、“desc”
	OrderDirection *string `json:"OrderDirection,omitempty" name:"OrderDirection"`
}

func NewDescribeCustomerGatewaysRequest

func NewDescribeCustomerGatewaysRequest() (request *DescribeCustomerGatewaysRequest)

func (*DescribeCustomerGatewaysRequest) FromJsonString

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

func (*DescribeCustomerGatewaysRequest) ToJsonString

func (r *DescribeCustomerGatewaysRequest) ToJsonString() string

type DescribeCustomerGatewaysResponse

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

		// 对端网关对象列表
		CustomerGatewaySet []*CustomerGateway `json:"CustomerGatewaySet,omitempty" name:"CustomerGatewaySet" list`

		// 符合条件的实例数量。
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

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

func NewDescribeCustomerGatewaysResponse

func NewDescribeCustomerGatewaysResponse() (response *DescribeCustomerGatewaysResponse)

func (*DescribeCustomerGatewaysResponse) FromJsonString

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

func (*DescribeCustomerGatewaysResponse) ToJsonString

func (r *DescribeCustomerGatewaysResponse) ToJsonString() string

type DescribeNatGatewaysRequest

type DescribeNatGatewaysRequest struct {
	*tchttp.BaseRequest

	// NAT网关ID,例如:nat-kdm476mp
	NatId *string `json:"NatId,omitempty" name:"NatId"`

	// NAT名称
	NatName *string `json:"NatName,omitempty" name:"NatName"`

	// 搜索字段
	SearchKey *string `json:"SearchKey,omitempty" name:"SearchKey"`

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

	// 起始值
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// 偏移值,默认值为 20
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// NAT所在可用区,形如:ap-guangzhou-2。
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// 排序字段, 支持"CreateTime"排序
	OrderField *string `json:"OrderField,omitempty" name:"OrderField"`

	// 排序方向, “asc”、“desc”
	OrderDirection *string `json:"OrderDirection,omitempty" name:"OrderDirection"`
}

func NewDescribeNatGatewaysRequest

func NewDescribeNatGatewaysRequest() (request *DescribeNatGatewaysRequest)

func (*DescribeNatGatewaysRequest) FromJsonString

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

func (*DescribeNatGatewaysRequest) ToJsonString

func (r *DescribeNatGatewaysRequest) ToJsonString() string

type DescribeNatGatewaysResponse

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

		// NAT网关信息列表
		NatGatewayInfoSet []*NatGatewayInfo `json:"NatGatewayInfoSet,omitempty" name:"NatGatewayInfoSet" list`

		// 总数目
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

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

func NewDescribeNatGatewaysResponse

func NewDescribeNatGatewaysResponse() (response *DescribeNatGatewaysResponse)

func (*DescribeNatGatewaysResponse) FromJsonString

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

func (*DescribeNatGatewaysResponse) ToJsonString

func (r *DescribeNatGatewaysResponse) ToJsonString() string

type DescribeNatSubnetsRequest

type DescribeNatSubnetsRequest struct {
	*tchttp.BaseRequest

	// NAT网关ID,例如:nat-kdm476mp
	NatId *string `json:"NatId,omitempty" name:"NatId"`

	// 私有网络ID,例如:vpc-kd7d06of
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`
}

func NewDescribeNatSubnetsRequest

func NewDescribeNatSubnetsRequest() (request *DescribeNatSubnetsRequest)

func (*DescribeNatSubnetsRequest) FromJsonString

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

func (*DescribeNatSubnetsRequest) ToJsonString

func (r *DescribeNatSubnetsRequest) ToJsonString() string

type DescribeNatSubnetsResponse

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

		// NAT子网信息
		NatSubnetInfoSet []*NatSubnetInfo `json:"NatSubnetInfoSet,omitempty" name:"NatSubnetInfoSet" list`

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

func NewDescribeNatSubnetsResponse

func NewDescribeNatSubnetsResponse() (response *DescribeNatSubnetsResponse)

func (*DescribeNatSubnetsResponse) FromJsonString

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

func (*DescribeNatSubnetsResponse) ToJsonString

func (r *DescribeNatSubnetsResponse) ToJsonString() string

type DescribeRoutePoliciesRequest

type DescribeRoutePoliciesRequest struct {
	*tchttp.BaseRequest

	// 路由表实例ID,例如:rtb-afg8md3c。
	RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"`

	// 路由策略实例ID,例如:rti-azd4dt1c。
	RoutePolicyIds []*string `json:"RoutePolicyIds,omitempty" name:"RoutePolicyIds" list`

	// 过滤条件,参数不支持同时指定RoutePolicyIds和Filters。
	// route-table-id - String - (过滤条件)路由表实例ID。
	// vpc-id - String - (过滤条件)VPC实例ID,形如:vpc-f49l6u0z。
	// route-policy-id - String - (过滤条件)路由策略ID。
	// route-policy-description-like - String -(过滤条件)路由项备注。
	// route-policy-type - String - (过滤条件)路由项策略类型。
	// destination-cidr-like - String - (过滤条件)路由项目的地址。
	// gateway-id-like - String - (过滤条件)路由项下一跳网关。
	// gateway-type - String - (过滤条件)路由项下一条网关类型。
	// enable - Bool - (过滤条件)路由策略是否启用。
	Filters []*Filter `json:"Filters,omitempty" name:"Filters" list`

	// 初始行的偏移量,默认为0。
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// 每页行数,默认为20。
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}

func NewDescribeRoutePoliciesRequest

func NewDescribeRoutePoliciesRequest() (request *DescribeRoutePoliciesRequest)

func (*DescribeRoutePoliciesRequest) FromJsonString

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

func (*DescribeRoutePoliciesRequest) ToJsonString

func (r *DescribeRoutePoliciesRequest) ToJsonString() string

type DescribeRoutePoliciesResponse

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

		// 路由策略数
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 路由策略列表
		RoutePolicySet []*RoutePolicy `json:"RoutePolicySet,omitempty" name:"RoutePolicySet" list`

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

func NewDescribeRoutePoliciesResponse

func NewDescribeRoutePoliciesResponse() (response *DescribeRoutePoliciesResponse)

func (*DescribeRoutePoliciesResponse) FromJsonString

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

func (*DescribeRoutePoliciesResponse) ToJsonString

func (r *DescribeRoutePoliciesResponse) ToJsonString() string

type DescribeRouteTablesRequest

type DescribeRouteTablesRequest struct {
	*tchttp.BaseRequest

	// 路由表实例ID,例如:rtb-azd4dt1c。
	RouteTableIds []*string `json:"RouteTableIds,omitempty" name:"RouteTableIds" list`

	// 过滤条件,参数不支持同时指定RouteTableIds和Filters。
	// route-table-id - String - (过滤条件)路由表实例ID。
	// route-table-name - String - (过滤条件)路由表名称。
	// route-table-id-like - String - (模糊过滤条件)路由表实例ID。
	// route-table-name-like - String - (模糊过滤条件)路由表名称。
	// vpc-id - String - (过滤条件)VPC实例ID,形如:vpc-f49l6u0z。
	// zone - String - (过滤条件)可用区。
	Filters []*Filter `json:"Filters,omitempty" name:"Filters" list`

	// 初始行的偏移量,默认为0。
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// 每页行数,默认为20。
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// 排序字段, 支持按“RouteTableId”,“VpcId”, "RouteTableName", "CreateTime"
	OrderField *string `json:"OrderField,omitempty" name:"OrderField"`

	// 排序方向, “asc”、“desc”
	OrderDirection *string `json:"OrderDirection,omitempty" name:"OrderDirection"`
}

func NewDescribeRouteTablesRequest

func NewDescribeRouteTablesRequest() (request *DescribeRouteTablesRequest)

func (*DescribeRouteTablesRequest) FromJsonString

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

func (*DescribeRouteTablesRequest) ToJsonString

func (r *DescribeRouteTablesRequest) ToJsonString() string

type DescribeRouteTablesResponse

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

		// 路由表个数
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 路由表列表
		RouteTableSet []*RouteTable `json:"RouteTableSet,omitempty" name:"RouteTableSet" list`

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

func NewDescribeRouteTablesResponse

func NewDescribeRouteTablesResponse() (response *DescribeRouteTablesResponse)

func (*DescribeRouteTablesResponse) FromJsonString

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

func (*DescribeRouteTablesResponse) ToJsonString

func (r *DescribeRouteTablesResponse) ToJsonString() string

type DescribeSubnetAvailableIpsRequest

type DescribeSubnetAvailableIpsRequest struct {
	*tchttp.BaseRequest

	// 私有网络子网ID
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// CIDR前缀,例如10.0.1
	Cidr *string `json:"Cidr,omitempty" name:"Cidr"`
}

func NewDescribeSubnetAvailableIpsRequest

func NewDescribeSubnetAvailableIpsRequest() (request *DescribeSubnetAvailableIpsRequest)

func (*DescribeSubnetAvailableIpsRequest) FromJsonString

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

func (*DescribeSubnetAvailableIpsRequest) ToJsonString

func (r *DescribeSubnetAvailableIpsRequest) ToJsonString() string

type DescribeSubnetAvailableIpsResponse

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

		// 可用IP的范围列表
		IpSet []*string `json:"IpSet,omitempty" name:"IpSet" list`

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

func NewDescribeSubnetAvailableIpsResponse

func NewDescribeSubnetAvailableIpsResponse() (response *DescribeSubnetAvailableIpsResponse)

func (*DescribeSubnetAvailableIpsResponse) FromJsonString

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

func (*DescribeSubnetAvailableIpsResponse) ToJsonString

func (r *DescribeSubnetAvailableIpsResponse) ToJsonString() string

type DescribeSubnetByDeviceRequest

type DescribeSubnetByDeviceRequest struct {
	*tchttp.BaseRequest

	// 物理机ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 子网类型。0: 物理机子网; 7: DOCKER子网 8: 虚拟子网
	Types []*uint64 `json:"Types,omitempty" name:"Types" list`

	// 查询的起始位置。
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// 查询的个数。
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}

func NewDescribeSubnetByDeviceRequest

func NewDescribeSubnetByDeviceRequest() (request *DescribeSubnetByDeviceRequest)

func (*DescribeSubnetByDeviceRequest) FromJsonString

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

func (*DescribeSubnetByDeviceRequest) ToJsonString

func (r *DescribeSubnetByDeviceRequest) ToJsonString() string

type DescribeSubnetByDeviceResponse

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

		// 子网个数
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 子网列表
		Data []*SubnetInfo `json:"Data,omitempty" name:"Data" list`

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

func NewDescribeSubnetByDeviceResponse

func NewDescribeSubnetByDeviceResponse() (response *DescribeSubnetByDeviceResponse)

func (*DescribeSubnetByDeviceResponse) FromJsonString

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

func (*DescribeSubnetByDeviceResponse) ToJsonString

func (r *DescribeSubnetByDeviceResponse) ToJsonString() string

type DescribeSubnetByHostedDeviceRequest

type DescribeSubnetByHostedDeviceRequest struct {
	*tchttp.BaseRequest

	// 托管机器ID, 如chm-xasdfx2j
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 子网类型。0: 物理机子网; 7: DOCKER子网 8: 虚拟子网
	Types []*uint64 `json:"Types,omitempty" name:"Types" list`

	// 查询的起始位置。
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// 查询的个数。
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}

func NewDescribeSubnetByHostedDeviceRequest

func NewDescribeSubnetByHostedDeviceRequest() (request *DescribeSubnetByHostedDeviceRequest)

func (*DescribeSubnetByHostedDeviceRequest) FromJsonString

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

func (*DescribeSubnetByHostedDeviceRequest) ToJsonString

func (r *DescribeSubnetByHostedDeviceRequest) ToJsonString() string

type DescribeSubnetByHostedDeviceResponse

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

		// 子网个数
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 子网列表
		Data []*SubnetInfo `json:"Data,omitempty" name:"Data" list`

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

func NewDescribeSubnetByHostedDeviceResponse

func NewDescribeSubnetByHostedDeviceResponse() (response *DescribeSubnetByHostedDeviceResponse)

func (*DescribeSubnetByHostedDeviceResponse) FromJsonString

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

func (*DescribeSubnetByHostedDeviceResponse) ToJsonString

func (r *DescribeSubnetByHostedDeviceResponse) ToJsonString() string

type DescribeSubnetsRequest

type DescribeSubnetsRequest struct {
	*tchttp.BaseRequest

	// 子网实例ID查询。形如:subnet-pxir56ns。参数不支持同时指定SubnetIds和Filters。
	SubnetIds []*string `json:"SubnetIds,omitempty" name:"SubnetIds" list`

	// 过滤条件,参数不支持同时指定SubnetIds和Filters。
	// subnet-id - String - (过滤条件)Subnet实例名称。
	// vpc-id - String - (过滤条件)VPC实例ID,形如:vpc-f49l6u0z。
	// cidr-block - String - (过滤条件)vpc的cidr。
	// subnet-name - String - (过滤条件)子网名称。
	// zone - String - (过滤条件)可用区。
	Filters []*Filter `json:"Filters,omitempty" name:"Filters" list`

	// 偏移量
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// 返回数量
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// 排序字段, 支持按“CreateTime”,“VlanId”
	OrderField *string `json:"OrderField,omitempty" name:"OrderField"`

	// 排序方向, “asc”、“desc”
	OrderDirection *string `json:"OrderDirection,omitempty" name:"OrderDirection"`
}

func NewDescribeSubnetsRequest

func NewDescribeSubnetsRequest() (request *DescribeSubnetsRequest)

func (*DescribeSubnetsRequest) FromJsonString

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

func (*DescribeSubnetsRequest) ToJsonString

func (r *DescribeSubnetsRequest) ToJsonString() string

type DescribeSubnetsResponse

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

		// 子网列表信息
		SubnetSet []*SubnetInfo `json:"SubnetSet,omitempty" name:"SubnetSet" list`

		// 返回的子网总数
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

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

func NewDescribeSubnetsResponse

func NewDescribeSubnetsResponse() (response *DescribeSubnetsResponse)

func (*DescribeSubnetsResponse) FromJsonString

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

func (*DescribeSubnetsResponse) ToJsonString

func (r *DescribeSubnetsResponse) ToJsonString() string

type DescribeTaskStatusRequest

type DescribeTaskStatusRequest struct {
	*tchttp.BaseRequest

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

func NewDescribeTaskStatusRequest

func NewDescribeTaskStatusRequest() (request *DescribeTaskStatusRequest)

func (*DescribeTaskStatusRequest) FromJsonString

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

func (*DescribeTaskStatusRequest) ToJsonString

func (r *DescribeTaskStatusRequest) ToJsonString() string

type DescribeTaskStatusResponse

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

		// 任务状态,其中0表示任务执行成功,1表示任务执行失败,2表示任务正在执行中
		Status *uint64 `json:"Status,omitempty" name:"Status"`

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

func NewDescribeTaskStatusResponse

func NewDescribeTaskStatusResponse() (response *DescribeTaskStatusResponse)

func (*DescribeTaskStatusResponse) FromJsonString

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

func (*DescribeTaskStatusResponse) ToJsonString

func (r *DescribeTaskStatusResponse) ToJsonString() string

type DescribeVpcPeerConnectionsRequest

type DescribeVpcPeerConnectionsRequest struct {
	*tchttp.BaseRequest

	// 对等连接实例ID
	VpcPeerConnectionIds []*string `json:"VpcPeerConnectionIds,omitempty" name:"VpcPeerConnectionIds" list`

	// 过滤条件,详见下表:实例过滤条件表。每次请求的Filters的上限为10,Filter.Values的上限为5。参数不支持同时指定VpcPeerConnectionIds和Filters。
	// 过滤条件,参数不支持同时指定VpcPeerConnectionIds和Filters。
	// <li>peer-name - String - (过滤条件)对等连接名称。</li>
	Filters []*Filter `json:"Filters,omitempty" name:"Filters" list`

	// 偏移量,默认为0。关于Offset的更进一步介绍请参考 API 简介中的相关小节。
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

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

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

func NewDescribeVpcPeerConnectionsRequest

func NewDescribeVpcPeerConnectionsRequest() (request *DescribeVpcPeerConnectionsRequest)

func (*DescribeVpcPeerConnectionsRequest) FromJsonString

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

func (*DescribeVpcPeerConnectionsRequest) ToJsonString

func (r *DescribeVpcPeerConnectionsRequest) ToJsonString() string

type DescribeVpcPeerConnectionsResponse

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

		// 符合条件的实例数量。
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 对等连接实例。
		VpcPeerConnectionSet []*VpcPeerConnection `json:"VpcPeerConnectionSet,omitempty" name:"VpcPeerConnectionSet" list`

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

func NewDescribeVpcPeerConnectionsResponse

func NewDescribeVpcPeerConnectionsResponse() (response *DescribeVpcPeerConnectionsResponse)

func (*DescribeVpcPeerConnectionsResponse) FromJsonString

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

func (*DescribeVpcPeerConnectionsResponse) ToJsonString

func (r *DescribeVpcPeerConnectionsResponse) ToJsonString() string

type DescribeVpcQuotaRequest

type DescribeVpcQuotaRequest struct {
	*tchttp.BaseRequest

	// 类型
	TypeIds []*uint64 `json:"TypeIds,omitempty" name:"TypeIds" list`
}

func NewDescribeVpcQuotaRequest

func NewDescribeVpcQuotaRequest() (request *DescribeVpcQuotaRequest)

func (*DescribeVpcQuotaRequest) FromJsonString

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

func (*DescribeVpcQuotaRequest) ToJsonString

func (r *DescribeVpcQuotaRequest) ToJsonString() string

type DescribeVpcQuotaResponse

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

		// 配额信息
		VpcQuotaSet []*VpcQuota `json:"VpcQuotaSet,omitempty" name:"VpcQuotaSet" list`

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

func NewDescribeVpcQuotaResponse

func NewDescribeVpcQuotaResponse() (response *DescribeVpcQuotaResponse)

func (*DescribeVpcQuotaResponse) FromJsonString

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

func (*DescribeVpcQuotaResponse) ToJsonString

func (r *DescribeVpcQuotaResponse) ToJsonString() string

type DescribeVpcResourceRequest

type DescribeVpcResourceRequest struct {
	*tchttp.BaseRequest

	// 私有网络实例ID
	VpcIds []*string `json:"VpcIds,omitempty" name:"VpcIds" list`

	// 过滤条件,参数不支持同时指定SubnetIds和Filters。
	// vpc-id - String - (过滤条件)私有网络实例ID,形如:vpc-f49l6u0z。
	// vpc-name - String - (过滤条件)私有网络名称。
	// zone - String - (过滤条件)可用区。
	// state - String - (过滤条件)VPC状态。available: 运营中; pending: 创建中; failed: 创建失败; deleting: 删除中
	Filters []*Filter `json:"Filters,omitempty" name:"Filters" list`

	// 偏移量
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// 返回数量
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// 排序字段
	OrderField *string `json:"OrderField,omitempty" name:"OrderField"`

	// 排序方向, “asc”、“desc”
	OrderDirection *string `json:"OrderDirection,omitempty" name:"OrderDirection"`
}

func NewDescribeVpcResourceRequest

func NewDescribeVpcResourceRequest() (request *DescribeVpcResourceRequest)

func (*DescribeVpcResourceRequest) FromJsonString

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

func (*DescribeVpcResourceRequest) ToJsonString

func (r *DescribeVpcResourceRequest) ToJsonString() string

type DescribeVpcResourceResponse

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

		// VPC数据
		VpcResourceSet []*VpcResource `json:"VpcResourceSet,omitempty" name:"VpcResourceSet" list`

		// VPC个数
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

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

func NewDescribeVpcResourceResponse

func NewDescribeVpcResourceResponse() (response *DescribeVpcResourceResponse)

func (*DescribeVpcResourceResponse) FromJsonString

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

func (*DescribeVpcResourceResponse) ToJsonString

func (r *DescribeVpcResourceResponse) ToJsonString() string

type DescribeVpcViewRequest

type DescribeVpcViewRequest struct {
	*tchttp.BaseRequest

	// 私有网络唯一ID
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`
}

func NewDescribeVpcViewRequest

func NewDescribeVpcViewRequest() (request *DescribeVpcViewRequest)

func (*DescribeVpcViewRequest) FromJsonString

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

func (*DescribeVpcViewRequest) ToJsonString

func (r *DescribeVpcViewRequest) ToJsonString() string

type DescribeVpcViewResponse

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

		// VPC视图信息
		VpcView *VpcViewInfo `json:"VpcView,omitempty" name:"VpcView"`

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

func NewDescribeVpcViewResponse

func NewDescribeVpcViewResponse() (response *DescribeVpcViewResponse)

func (*DescribeVpcViewResponse) FromJsonString

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

func (*DescribeVpcViewResponse) ToJsonString

func (r *DescribeVpcViewResponse) ToJsonString() string

type DescribeVpcsRequest

type DescribeVpcsRequest struct {
	*tchttp.BaseRequest

	// VPC实例ID。形如:vpc-f49l6u0z。每次请求的实例的上限为100。参数不支持同时指定VpcIds和Filters。
	VpcIds []*string `json:"VpcIds,omitempty" name:"VpcIds" list`

	// 过滤条件,参数不支持同时指定VpcIds和Filters。
	// vpc-name - String - (过滤条件)VPC实例名称。
	// vpc-id - String - (过滤条件)VPC实例ID形如:vpc-f49l6u0z。
	// cidr-block - String - (过滤条件)vpc的cidr。
	// state - String - (过滤条件)VPC状态。(pending | available).
	// zone -  String - (过滤条件)VPC的可用区。
	Filters []*Filter `json:"Filters,omitempty" name:"Filters" list`

	// 初始行的偏移量,默认为0。
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// 每页行数,默认为20。
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}

func NewDescribeVpcsRequest

func NewDescribeVpcsRequest() (request *DescribeVpcsRequest)

func (*DescribeVpcsRequest) FromJsonString

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

func (*DescribeVpcsRequest) ToJsonString

func (r *DescribeVpcsRequest) ToJsonString() string

type DescribeVpcsResponse

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

		// VPC列表
		VpcSet []*VpcInfo `json:"VpcSet,omitempty" name:"VpcSet" list`

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

func NewDescribeVpcsResponse

func NewDescribeVpcsResponse() (response *DescribeVpcsResponse)

func (*DescribeVpcsResponse) FromJsonString

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

func (*DescribeVpcsResponse) ToJsonString

func (r *DescribeVpcsResponse) ToJsonString() string

type DescribeVpnConnectionsRequest

type DescribeVpnConnectionsRequest struct {
	*tchttp.BaseRequest

	// VPN通道实例ID。形如:bmvpnx-f49l6u0z。每次请求的实例的上限为100。参数不支持同时指定VpnConnectionIds和Filters。
	VpnConnectionIds []*string `json:"VpnConnectionIds,omitempty" name:"VpnConnectionIds" list`

	// 过滤条件,详见下表:实例过滤条件表。每次请求的Filters的上限为10,Filter.Values的上限为5。参数不支持同时指定VpnConnectionIds和Filters。
	// <li>vpc-id - String - (过滤条件)VPC实例ID形如:vpc-f49l6u0z。</li>
	// <li>state - String - (过滤条件 VPN状态:creating,available,createfailed,changing,changefailed,deleting,deletefailed。</li>
	// <li>zone - String - (过滤条件)VPN所在可用区,形如:ap-guangzhou-2。</li>
	Filters []*Filter `json:"Filters,omitempty" name:"Filters" list`

	// 偏移量,默认为0。关于Offset的更进一步介绍请参考 API 简介中的相关小节。
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

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

	// VPN网关实例ID
	VpnGatewayId *string `json:"VpnGatewayId,omitempty" name:"VpnGatewayId"`

	// VPN通道名称
	VpnConnectionName *string `json:"VpnConnectionName,omitempty" name:"VpnConnectionName"`

	// 排序字段, 支持"CreateTime"排序
	OrderField *string `json:"OrderField,omitempty" name:"OrderField"`

	// 排序方向, “asc”、“desc”
	OrderDirection *string `json:"OrderDirection,omitempty" name:"OrderDirection"`
}

func NewDescribeVpnConnectionsRequest

func NewDescribeVpnConnectionsRequest() (request *DescribeVpnConnectionsRequest)

func (*DescribeVpnConnectionsRequest) FromJsonString

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

func (*DescribeVpnConnectionsRequest) ToJsonString

func (r *DescribeVpnConnectionsRequest) ToJsonString() string

type DescribeVpnConnectionsResponse

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

		// 符合条件的实例数量。
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// VPN通道实例。
		VpnConnectionSet []*VpnConnection `json:"VpnConnectionSet,omitempty" name:"VpnConnectionSet" list`

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

func NewDescribeVpnConnectionsResponse

func NewDescribeVpnConnectionsResponse() (response *DescribeVpnConnectionsResponse)

func (*DescribeVpnConnectionsResponse) FromJsonString

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

func (*DescribeVpnConnectionsResponse) ToJsonString

func (r *DescribeVpnConnectionsResponse) ToJsonString() string

type DescribeVpnGatewaysRequest

type DescribeVpnGatewaysRequest struct {
	*tchttp.BaseRequest

	// VPN网关实例ID。形如:bmvpngw-f49l6u0z。每次请求的实例的上限为100。参数不支持同时指定VpnGatewayIds和Filters。
	VpnGatewayIds []*string `json:"VpnGatewayIds,omitempty" name:"VpnGatewayIds" list`

	// 过滤条件,参数不支持同时指定VpnGatewayIds和Filters。
	// <li>vpc-id - String - (过滤条件)VPC实例ID形如:vpc-f49l6u0z。</li>
	// <li>state - String - (过滤条件 VPN状态:creating,available,createfailed,changing,changefailed,deleting,deletefailed。</li>
	// <li>zone - String - (过滤条件)VPN所在可用区,形如:ap-guangzhou-2。</li>
	// <li>vpngw-name - String - (过滤条件)vpn网关名称。</li>
	Filters []*Filter `json:"Filters,omitempty" name:"Filters" list`

	// 偏移量
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// 请求对象个数
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// 排序字段, 支持"CreateTime"排序
	OrderField *string `json:"OrderField,omitempty" name:"OrderField"`

	// 排序方向, “asc”、“desc”
	OrderDirection *string `json:"OrderDirection,omitempty" name:"OrderDirection"`
}

func NewDescribeVpnGatewaysRequest

func NewDescribeVpnGatewaysRequest() (request *DescribeVpnGatewaysRequest)

func (*DescribeVpnGatewaysRequest) FromJsonString

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

func (*DescribeVpnGatewaysRequest) ToJsonString

func (r *DescribeVpnGatewaysRequest) ToJsonString() string

type DescribeVpnGatewaysResponse

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

		// 符合条件的实例数量。
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// VPN网关实例详细信息列表。
		VpnGatewaySet []*VpnGateway `json:"VpnGatewaySet,omitempty" name:"VpnGatewaySet" list`

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

func NewDescribeVpnGatewaysResponse

func NewDescribeVpnGatewaysResponse() (response *DescribeVpnGatewaysResponse)

func (*DescribeVpnGatewaysResponse) FromJsonString

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

func (*DescribeVpnGatewaysResponse) ToJsonString

func (r *DescribeVpnGatewaysResponse) ToJsonString() string

type DownloadCustomerGatewayConfigurationRequest

type DownloadCustomerGatewayConfigurationRequest struct {
	*tchttp.BaseRequest

	// VPN通道实例ID。形如:bmvpnx-f49l6u0z。
	VpnConnectionId *string `json:"VpnConnectionId,omitempty" name:"VpnConnectionId"`

	// 厂商,取值 h3c,cisco
	VendorName *string `json:"VendorName,omitempty" name:"VendorName"`
}

func NewDownloadCustomerGatewayConfigurationRequest

func NewDownloadCustomerGatewayConfigurationRequest() (request *DownloadCustomerGatewayConfigurationRequest)

func (*DownloadCustomerGatewayConfigurationRequest) FromJsonString

func (*DownloadCustomerGatewayConfigurationRequest) ToJsonString

type DownloadCustomerGatewayConfigurationResponse

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

		// 配置信息。
		CustomerGatewayConfiguration *string `json:"CustomerGatewayConfiguration,omitempty" name:"CustomerGatewayConfiguration"`

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

func NewDownloadCustomerGatewayConfigurationResponse

func NewDownloadCustomerGatewayConfigurationResponse() (response *DownloadCustomerGatewayConfigurationResponse)

func (*DownloadCustomerGatewayConfigurationResponse) FromJsonString

func (*DownloadCustomerGatewayConfigurationResponse) ToJsonString

type Filter

type Filter struct {

	// 属性名称, 若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。
	Name *string `json:"Name,omitempty" name:"Name"`

	// 属性值, 若同一个Filter存在多个Values,同一Filter下Values间的关系为逻辑或(OR)关系。
	Values []*string `json:"Values,omitempty" name:"Values" list`
}

type IKEOptionsSpecification

type IKEOptionsSpecification struct {

	// 加密算法,可选值:'3DES-CBC', 'AES-CBC-128', 'AES-CBC-192', 'AES-CBC-256', 'DES-CBC',默认为3DES-CBC
	PropoEncryAlgorithm *string `json:"PropoEncryAlgorithm,omitempty" name:"PropoEncryAlgorithm"`

	// 认证算法:可选值:'MD5', 'SHA1',默认为MD5
	PropoAuthenAlgorithm *string `json:"PropoAuthenAlgorithm,omitempty" name:"PropoAuthenAlgorithm"`

	// 协商模式:可选值:'AGGRESSIVE', 'MAIN',默认为MAIN
	ExchangeMode *string `json:"ExchangeMode,omitempty" name:"ExchangeMode"`

	// 本端标识类型:可选值:'ADDRESS', 'FQDN',默认为ADDRESS
	LocalIdentity *string `json:"LocalIdentity,omitempty" name:"LocalIdentity"`

	// 对端标识类型:可选值:'ADDRESS', 'FQDN',默认为ADDRESS
	RemoteIdentity *string `json:"RemoteIdentity,omitempty" name:"RemoteIdentity"`

	// 本端标识,当LocalIdentity选为ADDRESS时,LocalAddress必填。localAddress默认为vpn网关公网IP
	LocalAddress *string `json:"LocalAddress,omitempty" name:"LocalAddress"`

	// 对端标识,当RemoteIdentity选为ADDRESS时,RemoteAddress必填
	RemoteAddress *string `json:"RemoteAddress,omitempty" name:"RemoteAddress"`

	// 本端标识,当LocalIdentity选为FQDN时,LocalFqdnName必填
	LocalFqdnName *string `json:"LocalFqdnName,omitempty" name:"LocalFqdnName"`

	// 对端标识,当remoteIdentity选为FQDN时,RemoteFqdnName必填
	RemoteFqdnName *string `json:"RemoteFqdnName,omitempty" name:"RemoteFqdnName"`

	// DH group,指定IKE交换密钥时使用的DH组,可选值:'GROUP1', 'GROUP2', 'GROUP5', 'GROUP14', 'GROUP24',
	DhGroupName *string `json:"DhGroupName,omitempty" name:"DhGroupName"`

	// IKE SA Lifetime,单位:秒,设置IKE SA的生存周期,取值范围:60-604800
	IKESaLifetimeSeconds *uint64 `json:"IKESaLifetimeSeconds,omitempty" name:"IKESaLifetimeSeconds"`

	// IKE版本
	IKEVersion *string `json:"IKEVersion,omitempty" name:"IKEVersion"`
}

type IPSECOptionsSpecification

type IPSECOptionsSpecification struct {

	// PFS:可选值:'NULL', 'DH-GROUP1', 'DH-GROUP2', 'DH-GROUP5', 'DH-GROUP14', 'DH-GROUP24',默认为NULL
	PfsDhGroup *string `json:"PfsDhGroup,omitempty" name:"PfsDhGroup"`

	// IPsec SA lifetime(KB):单位KB,取值范围:2560-604800
	IPSECSaLifetimeTraffic *uint64 `json:"IPSECSaLifetimeTraffic,omitempty" name:"IPSECSaLifetimeTraffic"`

	// 加密算法,可选值:'3DES-CBC', 'AES-CBC-128', 'AES-CBC-192', 'AES-CBC-256', 'DES-CBC', 'NULL', 默认为AES-CBC-128
	EncryptAlgorithm *string `json:"EncryptAlgorithm,omitempty" name:"EncryptAlgorithm"`

	// 认证算法:可选值:'MD5', 'SHA1',默认为
	IntegrityAlgorith *string `json:"IntegrityAlgorith,omitempty" name:"IntegrityAlgorith"`

	// IPsec SA lifetime(s):单位秒,取值范围:180-604800
	IPSECSaLifetimeSeconds *uint64 `json:"IPSECSaLifetimeSeconds,omitempty" name:"IPSECSaLifetimeSeconds"`

	// 安全协议,默认为ESP
	SecurityProto *string `json:"SecurityProto,omitempty" name:"SecurityProto"`

	// 报文封装模式:默认为Tunnel
	EncapMode *string `json:"EncapMode,omitempty" name:"EncapMode"`
}

type IpInfo

type IpInfo struct {

	// 子网ID
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

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

type ModifyCustomerGatewayAttributeRequest

type ModifyCustomerGatewayAttributeRequest struct {
	*tchttp.BaseRequest

	// 对端网关ID,例如:bmcgw-2wqq41m9,可通过DescribeCustomerGateways接口查询对端网关。
	CustomerGatewayId *string `json:"CustomerGatewayId,omitempty" name:"CustomerGatewayId"`

	// 对端网关名称,可任意命名,但不得超过60个字符。
	CustomerGatewayName *string `json:"CustomerGatewayName,omitempty" name:"CustomerGatewayName"`
}

func NewModifyCustomerGatewayAttributeRequest

func NewModifyCustomerGatewayAttributeRequest() (request *ModifyCustomerGatewayAttributeRequest)

func (*ModifyCustomerGatewayAttributeRequest) FromJsonString

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

func (*ModifyCustomerGatewayAttributeRequest) ToJsonString

type ModifyCustomerGatewayAttributeResponse

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

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

func NewModifyCustomerGatewayAttributeResponse

func NewModifyCustomerGatewayAttributeResponse() (response *ModifyCustomerGatewayAttributeResponse)

func (*ModifyCustomerGatewayAttributeResponse) FromJsonString

func (*ModifyCustomerGatewayAttributeResponse) ToJsonString

type ModifyRoutePolicyRequest

type ModifyRoutePolicyRequest struct {
	*tchttp.BaseRequest

	// 路由表ID
	RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"`

	// 修改的路由
	RoutePolicy *RoutePolicy `json:"RoutePolicy,omitempty" name:"RoutePolicy"`
}

func NewModifyRoutePolicyRequest

func NewModifyRoutePolicyRequest() (request *ModifyRoutePolicyRequest)

func (*ModifyRoutePolicyRequest) FromJsonString

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

func (*ModifyRoutePolicyRequest) ToJsonString

func (r *ModifyRoutePolicyRequest) ToJsonString() string

type ModifyRoutePolicyResponse

type ModifyRoutePolicyResponse 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 NewModifyRoutePolicyResponse

func NewModifyRoutePolicyResponse() (response *ModifyRoutePolicyResponse)

func (*ModifyRoutePolicyResponse) FromJsonString

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

func (*ModifyRoutePolicyResponse) ToJsonString

func (r *ModifyRoutePolicyResponse) ToJsonString() string

type ModifyRouteTableRequest

type ModifyRouteTableRequest struct {
	*tchttp.BaseRequest

	// 路由表ID
	RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"`

	// 路由表名称
	RouteTableName *string `json:"RouteTableName,omitempty" name:"RouteTableName"`
}

func NewModifyRouteTableRequest

func NewModifyRouteTableRequest() (request *ModifyRouteTableRequest)

func (*ModifyRouteTableRequest) FromJsonString

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

func (*ModifyRouteTableRequest) ToJsonString

func (r *ModifyRouteTableRequest) ToJsonString() string

type ModifyRouteTableResponse

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

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

func NewModifyRouteTableResponse

func NewModifyRouteTableResponse() (response *ModifyRouteTableResponse)

func (*ModifyRouteTableResponse) FromJsonString

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

func (*ModifyRouteTableResponse) ToJsonString

func (r *ModifyRouteTableResponse) ToJsonString() string

type ModifySubnetAttributeRequest

type ModifySubnetAttributeRequest struct {
	*tchttp.BaseRequest

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

	// 子网ID
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// 子网名称
	SubnetName *string `json:"SubnetName,omitempty" name:"SubnetName"`
}

func NewModifySubnetAttributeRequest

func NewModifySubnetAttributeRequest() (request *ModifySubnetAttributeRequest)

func (*ModifySubnetAttributeRequest) FromJsonString

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

func (*ModifySubnetAttributeRequest) ToJsonString

func (r *ModifySubnetAttributeRequest) ToJsonString() string

type ModifySubnetAttributeResponse

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

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

func NewModifySubnetAttributeResponse

func NewModifySubnetAttributeResponse() (response *ModifySubnetAttributeResponse)

func (*ModifySubnetAttributeResponse) FromJsonString

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

func (*ModifySubnetAttributeResponse) ToJsonString

func (r *ModifySubnetAttributeResponse) ToJsonString() string

type ModifySubnetDHCPRelayRequest

type ModifySubnetDHCPRelayRequest struct {
	*tchttp.BaseRequest

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

	// 子网ID
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// 是否开启DHCP Relay
	EnableDHCP *bool `json:"EnableDHCP,omitempty" name:"EnableDHCP"`

	// DHCP服务器IP
	ServerIps []*string `json:"ServerIps,omitempty" name:"ServerIps" list`

	// 预留IP个数
	ReservedIpCount *uint64 `json:"ReservedIpCount,omitempty" name:"ReservedIpCount"`
}

func NewModifySubnetDHCPRelayRequest

func NewModifySubnetDHCPRelayRequest() (request *ModifySubnetDHCPRelayRequest)

func (*ModifySubnetDHCPRelayRequest) FromJsonString

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

func (*ModifySubnetDHCPRelayRequest) ToJsonString

func (r *ModifySubnetDHCPRelayRequest) ToJsonString() string

type ModifySubnetDHCPRelayResponse

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

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

func NewModifySubnetDHCPRelayResponse

func NewModifySubnetDHCPRelayResponse() (response *ModifySubnetDHCPRelayResponse)

func (*ModifySubnetDHCPRelayResponse) FromJsonString

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

func (*ModifySubnetDHCPRelayResponse) ToJsonString

func (r *ModifySubnetDHCPRelayResponse) ToJsonString() string

type ModifyVpcAttributeRequest

type ModifyVpcAttributeRequest struct {
	*tchttp.BaseRequest

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

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

	// 是否开启内网监控,0为关闭,1为开启
	EnableMonitor *bool `json:"EnableMonitor,omitempty" name:"EnableMonitor"`
}

func NewModifyVpcAttributeRequest

func NewModifyVpcAttributeRequest() (request *ModifyVpcAttributeRequest)

func (*ModifyVpcAttributeRequest) FromJsonString

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

func (*ModifyVpcAttributeRequest) ToJsonString

func (r *ModifyVpcAttributeRequest) ToJsonString() string

type ModifyVpcAttributeResponse

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

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

func NewModifyVpcAttributeResponse

func NewModifyVpcAttributeResponse() (response *ModifyVpcAttributeResponse)

func (*ModifyVpcAttributeResponse) FromJsonString

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

func (*ModifyVpcAttributeResponse) ToJsonString

func (r *ModifyVpcAttributeResponse) ToJsonString() string

type ModifyVpcPeerConnectionRequest

type ModifyVpcPeerConnectionRequest struct {
	*tchttp.BaseRequest

	// 黑石对等连接唯一ID
	VpcPeerConnectionId *string `json:"VpcPeerConnectionId,omitempty" name:"VpcPeerConnectionId"`

	// 对等连接带宽
	Bandwidth *uint64 `json:"Bandwidth,omitempty" name:"Bandwidth"`

	// 对等连接名称
	VpcPeerConnectionName *string `json:"VpcPeerConnectionName,omitempty" name:"VpcPeerConnectionName"`
}

func NewModifyVpcPeerConnectionRequest

func NewModifyVpcPeerConnectionRequest() (request *ModifyVpcPeerConnectionRequest)

func (*ModifyVpcPeerConnectionRequest) FromJsonString

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

func (*ModifyVpcPeerConnectionRequest) ToJsonString

func (r *ModifyVpcPeerConnectionRequest) ToJsonString() string

type ModifyVpcPeerConnectionResponse

type ModifyVpcPeerConnectionResponse 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 NewModifyVpcPeerConnectionResponse

func NewModifyVpcPeerConnectionResponse() (response *ModifyVpcPeerConnectionResponse)

func (*ModifyVpcPeerConnectionResponse) FromJsonString

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

func (*ModifyVpcPeerConnectionResponse) ToJsonString

func (r *ModifyVpcPeerConnectionResponse) ToJsonString() string

type ModifyVpnConnectionAttributeRequest

type ModifyVpnConnectionAttributeRequest struct {
	*tchttp.BaseRequest

	// VPN通道实例ID。形如:bmvpnx-f49l6u0z。
	VpnConnectionId *string `json:"VpnConnectionId,omitempty" name:"VpnConnectionId"`

	// VPC实例ID
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// VPN通道名称,可任意命名,但不得超过60个字符。
	VpnConnectionName *string `json:"VpnConnectionName,omitempty" name:"VpnConnectionName"`

	// 预共享密钥。
	PreShareKey *string `json:"PreShareKey,omitempty" name:"PreShareKey"`

	// SPD策略组,例如:{"10.0.0.5/24":["172.123.10.5/16"]},10.0.0.5/24是vpc内网段172.123.10.5/16是IDC网段。用户指定VPC内哪些网段可以和您IDC中哪些网段通信。
	SecurityPolicyDatabases []*SecurityPolicyDatabase `json:"SecurityPolicyDatabases,omitempty" name:"SecurityPolicyDatabases" list`

	// IKE配置(Internet Key Exchange,因特网密钥交换),IKE具有一套自我保护机制,用户配置网络安全协议。
	IKEOptionsSpecification *IKEOptionsSpecification `json:"IKEOptionsSpecification,omitempty" name:"IKEOptionsSpecification"`

	// IPSec配置,腾讯云提供IPSec安全会话设置。
	IPSECOptionsSpecification *IPSECOptionsSpecification `json:"IPSECOptionsSpecification,omitempty" name:"IPSECOptionsSpecification"`
}

func NewModifyVpnConnectionAttributeRequest

func NewModifyVpnConnectionAttributeRequest() (request *ModifyVpnConnectionAttributeRequest)

func (*ModifyVpnConnectionAttributeRequest) FromJsonString

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

func (*ModifyVpnConnectionAttributeRequest) ToJsonString

func (r *ModifyVpnConnectionAttributeRequest) ToJsonString() string

type ModifyVpnConnectionAttributeResponse

type ModifyVpnConnectionAttributeResponse 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 NewModifyVpnConnectionAttributeResponse

func NewModifyVpnConnectionAttributeResponse() (response *ModifyVpnConnectionAttributeResponse)

func (*ModifyVpnConnectionAttributeResponse) FromJsonString

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

func (*ModifyVpnConnectionAttributeResponse) ToJsonString

func (r *ModifyVpnConnectionAttributeResponse) ToJsonString() string

type ModifyVpnGatewayAttributeRequest

type ModifyVpnGatewayAttributeRequest struct {
	*tchttp.BaseRequest

	// VPN网关实例ID。
	VpnGatewayId *string `json:"VpnGatewayId,omitempty" name:"VpnGatewayId"`

	// VPN网关名称,最大长度不能超过60个字节。
	VpnGatewayName *string `json:"VpnGatewayName,omitempty" name:"VpnGatewayName"`
}

func NewModifyVpnGatewayAttributeRequest

func NewModifyVpnGatewayAttributeRequest() (request *ModifyVpnGatewayAttributeRequest)

func (*ModifyVpnGatewayAttributeRequest) FromJsonString

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

func (*ModifyVpnGatewayAttributeRequest) ToJsonString

func (r *ModifyVpnGatewayAttributeRequest) ToJsonString() string

type ModifyVpnGatewayAttributeResponse

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

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

func NewModifyVpnGatewayAttributeResponse

func NewModifyVpnGatewayAttributeResponse() (response *ModifyVpnGatewayAttributeResponse)

func (*ModifyVpnGatewayAttributeResponse) FromJsonString

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

func (*ModifyVpnGatewayAttributeResponse) ToJsonString

func (r *ModifyVpnGatewayAttributeResponse) ToJsonString() string

type NatGatewayInfo

type NatGatewayInfo struct {

	// NAT网关ID
	NatId *string `json:"NatId,omitempty" name:"NatId"`

	// 网关名称
	NatName *string `json:"NatName,omitempty" name:"NatName"`

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

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

	// 网关创建状态,其中0表示创建中,1表示运行中,2表示创建失败
	ProductionStatus *uint64 `json:"ProductionStatus,omitempty" name:"ProductionStatus"`

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

	// 并发连接数规格,取值为1000000, 3000000, 10000000
	MaxConcurrent *uint64 `json:"MaxConcurrent,omitempty" name:"MaxConcurrent"`

	// 可用区
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// 独占标识,其中0表示共享,1表示独占,默认值为0
	Exclusive *uint64 `json:"Exclusive,omitempty" name:"Exclusive"`

	// 转发模式,其中0表示IP方式,1表示网段方式
	ForwardMode *uint64 `json:"ForwardMode,omitempty" name:"ForwardMode"`

	// 私有网络网段
	VpcCidrBlock *string `json:"VpcCidrBlock,omitempty" name:"VpcCidrBlock"`

	// 网关类型,取值为 small,middle,big,分别对应小型、中型、大型
	Type *string `json:"Type,omitempty" name:"Type"`

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

	// 网关启用状态,1为禁用,0为启用。
	State *uint64 `json:"State,omitempty" name:"State"`

	// 私有网络整型ID
	IntVpcId *uint64 `json:"IntVpcId,omitempty" name:"IntVpcId"`

	// NAT资源ID
	NatResourceId *uint64 `json:"NatResourceId,omitempty" name:"NatResourceId"`
}

type NatSubnetInfo

type NatSubnetInfo struct {

	// 子网名称
	Name *string `json:"Name,omitempty" name:"Name"`

	// 子网ID
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// NAT子网类型,其中0表示绑定部分IP的NAT子网,1表示绑定全部IP的NAT子网,2表示绑定网关方式的NAT子网
	SubnetNatType *uint64 `json:"SubnetNatType,omitempty" name:"SubnetNatType"`

	// 子网网段
	CidrBlock *string `json:"CidrBlock,omitempty" name:"CidrBlock"`
}

type RejectVpcPeerConnectionRequest

type RejectVpcPeerConnectionRequest struct {
	*tchttp.BaseRequest

	// 黑石对等连接实例ID
	VpcPeerConnectionId *string `json:"VpcPeerConnectionId,omitempty" name:"VpcPeerConnectionId"`
}

func NewRejectVpcPeerConnectionRequest

func NewRejectVpcPeerConnectionRequest() (request *RejectVpcPeerConnectionRequest)

func (*RejectVpcPeerConnectionRequest) FromJsonString

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

func (*RejectVpcPeerConnectionRequest) ToJsonString

func (r *RejectVpcPeerConnectionRequest) ToJsonString() string

type RejectVpcPeerConnectionResponse

type RejectVpcPeerConnectionResponse 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 NewRejectVpcPeerConnectionResponse

func NewRejectVpcPeerConnectionResponse() (response *RejectVpcPeerConnectionResponse)

func (*RejectVpcPeerConnectionResponse) FromJsonString

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

func (*RejectVpcPeerConnectionResponse) ToJsonString

func (r *RejectVpcPeerConnectionResponse) ToJsonString() string

type ResetVpnConnectionRequest

type ResetVpnConnectionRequest struct {
	*tchttp.BaseRequest

	// VPC唯一ID
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// VPN通道实例ID。形如:bmvpnx-f49l6u0z。
	VpnConnectionId *string `json:"VpnConnectionId,omitempty" name:"VpnConnectionId"`
}

func NewResetVpnConnectionRequest

func NewResetVpnConnectionRequest() (request *ResetVpnConnectionRequest)

func (*ResetVpnConnectionRequest) FromJsonString

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

func (*ResetVpnConnectionRequest) ToJsonString

func (r *ResetVpnConnectionRequest) ToJsonString() string

type ResetVpnConnectionResponse

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

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

func NewResetVpnConnectionResponse

func NewResetVpnConnectionResponse() (response *ResetVpnConnectionResponse)

func (*ResetVpnConnectionResponse) FromJsonString

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

func (*ResetVpnConnectionResponse) ToJsonString

func (r *ResetVpnConnectionResponse) ToJsonString() string

type RoutePolicy

type RoutePolicy struct {

	// 目的网段
	DestinationCidrBlock *string `json:"DestinationCidrBlock,omitempty" name:"DestinationCidrBlock"`

	// 下一跳类型,目前我们支持的类型有:
	// LOCAL:物理机默认路由;
	// VPN:VPN网关;
	// PEERCONNECTION:对等连接;
	// CPM:物理机自定义路由;
	// CCN:云联网;
	// TGW:公网默认路由;
	// SSLVPN : SSH SSL VPN网关。
	GatewayType *string `json:"GatewayType,omitempty" name:"GatewayType"`

	// 下一跳地址,这里只需要指定不同下一跳类型的网关ID,系统会自动匹配到下一跳地址。
	GatewayId *string `json:"GatewayId,omitempty" name:"GatewayId"`

	// 路由策略描述。
	RouteDescription *string `json:"RouteDescription,omitempty" name:"RouteDescription"`

	// 路由策略ID
	RoutePolicyId *string `json:"RoutePolicyId,omitempty" name:"RoutePolicyId"`

	// 路由类型,目前我们支持的类型有:
	// USER:用户自定义路由;
	// NETD:网络探测路由,创建网络探测实例时,系统默认下发,不可编辑与删除;
	// CCN:云联网路由,系统默认下发,不可编辑与删除。
	// 用户只能添加和编辑USER 类型的路由。
	RoutePolicyType *string `json:"RoutePolicyType,omitempty" name:"RoutePolicyType"`

	// 是否启用
	Enabled *bool `json:"Enabled,omitempty" name:"Enabled"`
}

type RouteTable

type RouteTable struct {

	// VPC实例ID。
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// VPC的名称
	VpcName *string `json:"VpcName,omitempty" name:"VpcName"`

	// VPC的CIDR
	VpcCidrBlock *string `json:"VpcCidrBlock,omitempty" name:"VpcCidrBlock"`

	// 可用区
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// 路由表实例ID,例如:rtb-azd4dt1c。
	RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"`

	// 路由表名称。
	RouteTableName *string `json:"RouteTableName,omitempty" name:"RouteTableName"`

	// 创建时间。
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
}

type SecurityPolicyDatabase

type SecurityPolicyDatabase struct {

	// 本端网段
	LocalCidrBlock *string `json:"LocalCidrBlock,omitempty" name:"LocalCidrBlock"`

	// 对端网段
	RemoteCidrBlock []*string `json:"RemoteCidrBlock,omitempty" name:"RemoteCidrBlock" list`
}

type SubnetCreateInputInfo

type SubnetCreateInputInfo struct {

	// 子网名称,可任意命名,但不得超过60个字符
	SubnetName *string `json:"SubnetName,omitempty" name:"SubnetName"`

	// 子网网段,子网网段必须在VPC网段内,相同VPC内子网网段不能重叠
	CidrBlock *string `json:"CidrBlock,omitempty" name:"CidrBlock"`

	// 是否开启子网分布式网关,默认传1,传0为关闭子网分布式网关。关闭分布式网关子网用于云服务器化子网,此子网中只能有一台物理机,同时此物理机及其上子机只能在此子网中
	DistributedFlag *uint64 `json:"DistributedFlag,omitempty" name:"DistributedFlag"`

	// 是否开启dhcp relay ,关闭为0,开启为1。默认为0
	DhcpEnable *uint64 `json:"DhcpEnable,omitempty" name:"DhcpEnable"`

	// DHCP SERVER 的IP地址数组。IP地址为相同VPC的子网内分配的IP
	DhcpServerIp []*string `json:"DhcpServerIp,omitempty" name:"DhcpServerIp" list`

	// 预留的IP个数。从该子网的最大可分配IP倒序分配N个IP 用于DHCP 动态分配使用的地址段
	IpReserve *uint64 `json:"IpReserve,omitempty" name:"IpReserve"`

	// 子网绑定的vlanId。VlanId取值范围为2000-2999。创建物理机子网,VlanId默认为5; 创建docker子网或者虚拟子网,VlanId默认会分配2000--2999未使用的数值。
	VlanId *uint64 `json:"VlanId,omitempty" name:"VlanId"`

	// 黑石子网的可用区
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// 是否25G子网,1为是,0为否。
	IsSmartNic *uint64 `json:"IsSmartNic,omitempty" name:"IsSmartNic"`
}

type SubnetInfo

type SubnetInfo struct {

	// 私有网络的唯一ID。
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// VPC的名称。
	VpcName *string `json:"VpcName,omitempty" name:"VpcName"`

	// VPC的CIDR。
	VpcCidrBlock *string `json:"VpcCidrBlock,omitempty" name:"VpcCidrBlock"`

	// 私有网络的唯一ID
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// 子网名称。
	SubnetName *string `json:"SubnetName,omitempty" name:"SubnetName"`

	// 子网CIDR。
	CidrBlock *string `json:"CidrBlock,omitempty" name:"CidrBlock"`

	// 子网类型。0: 黑石物理机子网; 6: ccs子网; 7 Docker子网; 8: 虚拟机子网
	Type *uint64 `json:"Type,omitempty" name:"Type"`

	// 子网可用区ID。
	ZoneId *uint64 `json:"ZoneId,omitempty" name:"ZoneId"`

	// 子网物理机的个数
	CpmNum *uint64 `json:"CpmNum,omitempty" name:"CpmNum"`

	// 子网的VlanId。
	VlanId *uint64 `json:"VlanId,omitempty" name:"VlanId"`

	// 是否开启分布式网关 ,关闭为0,开启为1。
	DistributedFlag *uint64 `json:"DistributedFlag,omitempty" name:"DistributedFlag"`

	// 是否开启dhcp relay ,关闭为0,开启为1。默认为0。
	DhcpEnable *uint64 `json:"DhcpEnable,omitempty" name:"DhcpEnable"`

	// DHCP SERVER 的IP地址数组。IP地址为相同VPC的子网内分配的IP。
	DhcpServerIp []*string `json:"DhcpServerIp,omitempty" name:"DhcpServerIp" list`

	// 预留的IP个数。从该子网的最大可分配IP倒序分配N个IP 用于DHCP 动态分配使用的地址段。
	IpReserve *uint64 `json:"IpReserve,omitempty" name:"IpReserve"`

	// 子网中可用的IP个数
	AvailableIpNum *uint64 `json:"AvailableIpNum,omitempty" name:"AvailableIpNum"`

	// 子网中总共的IP个数
	TotalIpNum *uint64 `json:"TotalIpNum,omitempty" name:"TotalIpNum"`

	// 子网创建时间
	SubnetCreateTime *string `json:"SubnetCreateTime,omitempty" name:"SubnetCreateTime"`

	// 25G子网标识
	IsSmartNic *uint64 `json:"IsSmartNic,omitempty" name:"IsSmartNic"`

	// 子网可用区。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// VPC所在可用区ID
	VpcZoneId *uint64 `json:"VpcZoneId,omitempty" name:"VpcZoneId"`

	// VPC所在可用区
	VpcZone *string `json:"VpcZone,omitempty" name:"VpcZone"`

	// 是否开启广播,关闭为0,开启为1。
	BroadcastFlag *uint64 `json:"BroadcastFlag,omitempty" name:"BroadcastFlag"`
}

type UnbindEipsFromNatGatewayRequest

type UnbindEipsFromNatGatewayRequest struct {
	*tchttp.BaseRequest

	// NAT网关ID,例如:nat-kdm476mp
	NatId *string `json:"NatId,omitempty" name:"NatId"`

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

	// 已分配的EIP列表
	AssignedEips []*string `json:"AssignedEips,omitempty" name:"AssignedEips" list`
}

func NewUnbindEipsFromNatGatewayRequest

func NewUnbindEipsFromNatGatewayRequest() (request *UnbindEipsFromNatGatewayRequest)

func (*UnbindEipsFromNatGatewayRequest) FromJsonString

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

func (*UnbindEipsFromNatGatewayRequest) ToJsonString

func (r *UnbindEipsFromNatGatewayRequest) ToJsonString() string

type UnbindEipsFromNatGatewayResponse

type UnbindEipsFromNatGatewayResponse 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 NewUnbindEipsFromNatGatewayResponse

func NewUnbindEipsFromNatGatewayResponse() (response *UnbindEipsFromNatGatewayResponse)

func (*UnbindEipsFromNatGatewayResponse) FromJsonString

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

func (*UnbindEipsFromNatGatewayResponse) ToJsonString

func (r *UnbindEipsFromNatGatewayResponse) ToJsonString() string

type UnbindIpsFromNatGatewayRequest

type UnbindIpsFromNatGatewayRequest struct {
	*tchttp.BaseRequest

	// NAT网关ID,例如:nat-kdm476mp
	NatId *string `json:"NatId,omitempty" name:"NatId"`

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

	// 部分IP信息;子网须以部分IP将加入NAT网关
	IpInfoSet []*IpInfo `json:"IpInfoSet,omitempty" name:"IpInfoSet" list`
}

func NewUnbindIpsFromNatGatewayRequest

func NewUnbindIpsFromNatGatewayRequest() (request *UnbindIpsFromNatGatewayRequest)

func (*UnbindIpsFromNatGatewayRequest) FromJsonString

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

func (*UnbindIpsFromNatGatewayRequest) ToJsonString

func (r *UnbindIpsFromNatGatewayRequest) ToJsonString() string

type UnbindIpsFromNatGatewayResponse

type UnbindIpsFromNatGatewayResponse 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 NewUnbindIpsFromNatGatewayResponse

func NewUnbindIpsFromNatGatewayResponse() (response *UnbindIpsFromNatGatewayResponse)

func (*UnbindIpsFromNatGatewayResponse) FromJsonString

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

func (*UnbindIpsFromNatGatewayResponse) ToJsonString

func (r *UnbindIpsFromNatGatewayResponse) ToJsonString() string

type UnbindSubnetsFromNatGatewayRequest

type UnbindSubnetsFromNatGatewayRequest struct {
	*tchttp.BaseRequest

	// NAT网关ID,例如:nat-kdm476mp
	NatId *string `json:"NatId,omitempty" name:"NatId"`

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

	// 子网ID列表,子网不区分加入NAT网关的转发方式
	SubnetIds []*string `json:"SubnetIds,omitempty" name:"SubnetIds" list`
}

func NewUnbindSubnetsFromNatGatewayRequest

func NewUnbindSubnetsFromNatGatewayRequest() (request *UnbindSubnetsFromNatGatewayRequest)

func (*UnbindSubnetsFromNatGatewayRequest) FromJsonString

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

func (*UnbindSubnetsFromNatGatewayRequest) ToJsonString

func (r *UnbindSubnetsFromNatGatewayRequest) ToJsonString() string

type UnbindSubnetsFromNatGatewayResponse

type UnbindSubnetsFromNatGatewayResponse 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 NewUnbindSubnetsFromNatGatewayResponse

func NewUnbindSubnetsFromNatGatewayResponse() (response *UnbindSubnetsFromNatGatewayResponse)

func (*UnbindSubnetsFromNatGatewayResponse) FromJsonString

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

func (*UnbindSubnetsFromNatGatewayResponse) ToJsonString

func (r *UnbindSubnetsFromNatGatewayResponse) ToJsonString() string

type UpgradeNatGatewayRequest

type UpgradeNatGatewayRequest struct {
	*tchttp.BaseRequest

	// NAT网关ID,例如:nat-kdm476mp
	NatId *string `json:"NatId,omitempty" name:"NatId"`

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

	// 并发连接数规格;取值为1000000、3000000、10000000,分别对应小型、中型、大型NAT网关
	MaxConcurrent *uint64 `json:"MaxConcurrent,omitempty" name:"MaxConcurrent"`
}

func NewUpgradeNatGatewayRequest

func NewUpgradeNatGatewayRequest() (request *UpgradeNatGatewayRequest)

func (*UpgradeNatGatewayRequest) FromJsonString

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

func (*UpgradeNatGatewayRequest) ToJsonString

func (r *UpgradeNatGatewayRequest) ToJsonString() string

type UpgradeNatGatewayResponse

type UpgradeNatGatewayResponse 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 NewUpgradeNatGatewayResponse

func NewUpgradeNatGatewayResponse() (response *UpgradeNatGatewayResponse)

func (*UpgradeNatGatewayResponse) FromJsonString

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

func (*UpgradeNatGatewayResponse) ToJsonString

func (r *UpgradeNatGatewayResponse) ToJsonString() string

type VpcInfo

type VpcInfo struct {

	// 私有网络的唯一ID。
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// VPC的名称。
	VpcName *string `json:"VpcName,omitempty" name:"VpcName"`

	// VPC的CIDR。
	CidrBlock *string `json:"CidrBlock,omitempty" name:"CidrBlock"`

	// 可用区
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// VPC状态
	State *string `json:"State,omitempty" name:"State"`

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

	// 整型私有网络ID。
	IntVpcId *uint64 `json:"IntVpcId,omitempty" name:"IntVpcId"`
}

type VpcPeerConnection

type VpcPeerConnection struct {

	// 本端VPC唯一ID
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// 对端VPC唯一ID
	PeerVpcId *string `json:"PeerVpcId,omitempty" name:"PeerVpcId"`

	// 本端APPID
	AppId *string `json:"AppId,omitempty" name:"AppId"`

	// 对端APPID
	PeerAppId *string `json:"PeerAppId,omitempty" name:"PeerAppId"`

	// 对等连接唯一ID
	VpcPeerConnectionId *string `json:"VpcPeerConnectionId,omitempty" name:"VpcPeerConnectionId"`

	// 对等连接名称
	VpcPeerConnectionName *string `json:"VpcPeerConnectionName,omitempty" name:"VpcPeerConnectionName"`

	// 对等连接状态。pending:申请中,available:运行中,expired:已过期,rejected:已拒绝,deleted:已删除
	State *string `json:"State,omitempty" name:"State"`

	// 本端VPC所属可用区
	// 注意:此字段可能返回 null,表示取不到有效值。
	VpcZone *string `json:"VpcZone,omitempty" name:"VpcZone"`

	// 对端VPC所属可用区
	// 注意:此字段可能返回 null,表示取不到有效值。
	PeerVpcZone *string `json:"PeerVpcZone,omitempty" name:"PeerVpcZone"`

	// 本端Uin
	Uin *uint64 `json:"Uin,omitempty" name:"Uin"`

	// 对端Uin
	PeerUin *uint64 `json:"PeerUin,omitempty" name:"PeerUin"`

	// 对等连接类型
	PeerType *uint64 `json:"PeerType,omitempty" name:"PeerType"`

	// 对等连接带宽
	Bandwidth *uint64 `json:"Bandwidth,omitempty" name:"Bandwidth"`

	// 本端VPC地域
	Region *string `json:"Region,omitempty" name:"Region"`

	// 对端VPC地域
	PeerRegion *string `json:"PeerRegion,omitempty" name:"PeerRegion"`

	// 是否允许删除
	// 注意:此字段可能返回 null,表示取不到有效值。
	DeleteFlag *uint64 `json:"DeleteFlag,omitempty" name:"DeleteFlag"`

	// 创建时间
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
}

type VpcQuota

type VpcQuota struct {

	// 配额类型ID
	TypeId *uint64 `json:"TypeId,omitempty" name:"TypeId"`

	// 配额
	Quota *uint64 `json:"Quota,omitempty" name:"Quota"`
}

type VpcResource

type VpcResource struct {

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

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

	// 私有网络的CIDR
	CidrBlock *string `json:"CidrBlock,omitempty" name:"CidrBlock"`

	// 子网个数
	SubnetNum *uint64 `json:"SubnetNum,omitempty" name:"SubnetNum"`

	// NAT个数
	NatNum *uint64 `json:"NatNum,omitempty" name:"NatNum"`

	// VPC状态
	State *string `json:"State,omitempty" name:"State"`

	// 是否开启监控
	MonitorFlag *bool `json:"MonitorFlag,omitempty" name:"MonitorFlag"`

	// 物理机个数
	CpmNum *uint64 `json:"CpmNum,omitempty" name:"CpmNum"`

	// 可用IP个数
	LeaveIpNum *uint64 `json:"LeaveIpNum,omitempty" name:"LeaveIpNum"`

	// 负载均衡个数
	LbNum *uint64 `json:"LbNum,omitempty" name:"LbNum"`

	// 流量镜像网关个数
	TrafficMirrorNum *uint64 `json:"TrafficMirrorNum,omitempty" name:"TrafficMirrorNum"`

	// 弹性IP个数
	EipNum *uint64 `json:"EipNum,omitempty" name:"EipNum"`

	// 专线网关个数
	PlgwNum *uint64 `json:"PlgwNum,omitempty" name:"PlgwNum"`

	// 专线通道个数
	PlvpNum *uint64 `json:"PlvpNum,omitempty" name:"PlvpNum"`

	// ssl vpn网关个数
	SslVpnGwNum *uint64 `json:"SslVpnGwNum,omitempty" name:"SslVpnGwNum"`

	// 对等链接个数
	VpcPeerNum *uint64 `json:"VpcPeerNum,omitempty" name:"VpcPeerNum"`

	// ipsec vpn网关个数
	IpsecVpnGwNum *uint64 `json:"IpsecVpnGwNum,omitempty" name:"IpsecVpnGwNum"`

	// 可用区
	Zone *string `json:"Zone,omitempty" name:"Zone"`

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

	// 是否老专区VPC
	IsOld *bool `json:"IsOld,omitempty" name:"IsOld"`

	// 云联网服务个数
	// 注意:此字段可能返回 null,表示取不到有效值。
	CcnServiceNum *uint64 `json:"CcnServiceNum,omitempty" name:"CcnServiceNum"`

	// VPC允许创建的对等连接个数
	// 注意:此字段可能返回 null,表示取不到有效值。
	VpcPeerLimitToAllRegion *uint64 `json:"VpcPeerLimitToAllRegion,omitempty" name:"VpcPeerLimitToAllRegion"`

	// VPC允许创建的同地域的对等连接的个数
	// 注意:此字段可能返回 null,表示取不到有效值。
	VpcPeerLimitToSameRegion *uint64 `json:"VpcPeerLimitToSameRegion,omitempty" name:"VpcPeerLimitToSameRegion"`

	// 整型私有网络ID
	IntVpcId *uint64 `json:"IntVpcId,omitempty" name:"IntVpcId"`
}

type VpcSubnetCreateInfo

type VpcSubnetCreateInfo struct {

	// 子网名称
	SubnetName *string `json:"SubnetName,omitempty" name:"SubnetName"`

	// 子网的CIDR
	CidrBlock *string `json:"CidrBlock,omitempty" name:"CidrBlock"`

	// 子网的可用区
	Zone *string `json:"Zone,omitempty" name:"Zone"`
}

type VpcSubnetViewInfo

type VpcSubnetViewInfo struct {

	// 子网ID
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// 子网名称
	SubnetName *string `json:"SubnetName,omitempty" name:"SubnetName"`

	// 子网CIDR
	CidrBlock *string `json:"CidrBlock,omitempty" name:"CidrBlock"`

	// 子网下设备个数
	CpmNum *uint64 `json:"CpmNum,omitempty" name:"CpmNum"`

	// 内网负载均衡个数
	LbNum *uint64 `json:"LbNum,omitempty" name:"LbNum"`

	// 子网所在可用区
	Zone *string `json:"Zone,omitempty" name:"Zone"`
}

type VpcViewInfo

type VpcViewInfo struct {

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

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

	// 私有网络CIDR
	CidrBlock *string `json:"CidrBlock,omitempty" name:"CidrBlock"`

	// 私有网络所在可用区
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// 外网负载均衡个数
	LbNum *uint64 `json:"LbNum,omitempty" name:"LbNum"`

	// 弹性公网IP个数
	EipNum *uint64 `json:"EipNum,omitempty" name:"EipNum"`

	// NAT网关个数
	NatNum *uint64 `json:"NatNum,omitempty" name:"NatNum"`

	// 子网列表
	SubnetSet []*VpcSubnetViewInfo `json:"SubnetSet,omitempty" name:"SubnetSet" list`
}

type VpnConnection

type VpnConnection struct {

	// 通道实例ID。
	VpnConnectionId *string `json:"VpnConnectionId,omitempty" name:"VpnConnectionId"`

	// 通道名称。
	VpnConnectionName *string `json:"VpnConnectionName,omitempty" name:"VpnConnectionName"`

	// VPC实例ID。
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// VPN网关实例ID。
	VpnGatewayId *string `json:"VpnGatewayId,omitempty" name:"VpnGatewayId"`

	// 对端网关实例ID。
	CustomerGatewayId *string `json:"CustomerGatewayId,omitempty" name:"CustomerGatewayId"`

	// 预共享密钥。
	PreShareKey *string `json:"PreShareKey,omitempty" name:"PreShareKey"`

	// 通道传输协议。
	VpnProto *string `json:"VpnProto,omitempty" name:"VpnProto"`

	// 创建时间。
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// 通道的生产状态
	State *string `json:"State,omitempty" name:"State"`

	// 通道连接状态
	NetStatus *string `json:"NetStatus,omitempty" name:"NetStatus"`

	// SPD。
	SecurityPolicyDatabaseSet []*SecurityPolicyDatabase `json:"SecurityPolicyDatabaseSet,omitempty" name:"SecurityPolicyDatabaseSet" list`

	// IKE选项。
	IKEOptionsSpecification *IKEOptionsSpecification `json:"IKEOptionsSpecification,omitempty" name:"IKEOptionsSpecification"`

	// IPSEC选项。
	IPSECOptionsSpecification *IPSECOptionsSpecification `json:"IPSECOptionsSpecification,omitempty" name:"IPSECOptionsSpecification"`

	// 可用区
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// VPC网段
	VpcCidrBlock *string `json:"VpcCidrBlock,omitempty" name:"VpcCidrBlock"`

	// VPC名称
	VpcName *string `json:"VpcName,omitempty" name:"VpcName"`

	// VPN网关名称
	VpnGatewayName *string `json:"VpnGatewayName,omitempty" name:"VpnGatewayName"`

	// 对端网关名称
	CustomerGatewayName *string `json:"CustomerGatewayName,omitempty" name:"CustomerGatewayName"`

	// IPSEC VPN通道路由策略目的端地址
	// 注意:此字段可能返回 null,表示取不到有效值。
	DestinationCidr []*string `json:"DestinationCidr,omitempty" name:"DestinationCidr" list`

	// IPSEC VPN通道路由策略源端地址
	// 注意:此字段可能返回 null,表示取不到有效值。
	SourceCidr []*string `json:"SourceCidr,omitempty" name:"SourceCidr" list`
}

type VpnGateway

type VpnGateway struct {

	// 网关实例ID。
	VpnGatewayId *string `json:"VpnGatewayId,omitempty" name:"VpnGatewayId"`

	// VPC实例ID。
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// 网关实例名称。
	VpnGatewayName *string `json:"VpnGatewayName,omitempty" name:"VpnGatewayName"`

	// VPC网段
	VpcCidrBlock *string `json:"VpcCidrBlock,omitempty" name:"VpcCidrBlock"`

	// VPC名称
	VpcName *string `json:"VpcName,omitempty" name:"VpcName"`

	// 网关出带宽。
	InternetMaxBandwidthOut *uint64 `json:"InternetMaxBandwidthOut,omitempty" name:"InternetMaxBandwidthOut"`

	// 网关实例状态
	State *string `json:"State,omitempty" name:"State"`

	// 网关公网IP。
	PublicIpAddress *string `json:"PublicIpAddress,omitempty" name:"PublicIpAddress"`

	// 创建时间。
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// 可用区,如:ap-guangzhou
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// VPN网关的通道数
	VpnConnNum *uint64 `json:"VpnConnNum,omitempty" name:"VpnConnNum"`
}

Jump to

Keyboard shortcuts

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