model

package
v0.1.123 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddVpnUserToGroupRequestBody added in v0.1.106

type AddVpnUserToGroupRequestBody struct {

	// 用户列表信息
	Users []OpVpnUser `json:"users"`
}

func (AddVpnUserToGroupRequestBody) String added in v0.1.106

type AddVpnUsersToGroupRequest added in v0.1.106

type AddVpnUsersToGroupRequest struct {

	// VPN服务端 ID
	VpnServerId string `json:"vpn_server_id"`

	// 用户组ID
	GroupId string `json:"group_id"`

	Body *AddVpnUserToGroupRequestBody `json:"body,omitempty"`
}

AddVpnUsersToGroupRequest Request Object

func (AddVpnUsersToGroupRequest) String added in v0.1.106

func (o AddVpnUsersToGroupRequest) String() string

type AddVpnUsersToGroupResponse added in v0.1.106

type AddVpnUsersToGroupResponse struct {

	// 请求ID
	RequestId *string `json:"request_id,omitempty"`

	HeaderResponseToken *string `json:"header-response-token,omitempty"`
	HttpStatusCode      int     `json:"-"`
}

AddVpnUsersToGroupResponse Response Object

func (AddVpnUsersToGroupResponse) String added in v0.1.106

type AvailabilityZones

type AvailabilityZones struct {
	Basic *VpnGatewayAvailabilityZones `json:"basic,omitempty"`

	Professional1 *VpnGatewayAvailabilityZones `json:"professional1,omitempty"`

	Professional2 *VpnGatewayAvailabilityZones `json:"professional2,omitempty"`

	Professional1NonFixedIP *VpnGatewayAvailabilityZones `json:"Professional1-NonFixedIP,omitempty"`

	Professional2NonFixedIP *VpnGatewayAvailabilityZones `json:"Professional2-NonFixedIP,omitempty"`

	Gm *VpnGatewayAvailabilityZones `json:"gm,omitempty"`
}

func (AvailabilityZones) String

func (o AvailabilityZones) String() string

type BatchCreateResourceTagsRequest added in v0.1.78

type BatchCreateResourceTagsRequest struct {

	// 内容类型
	ContentType string `json:"Content-Type"`

	// 资源类型
	ResourceType BatchCreateResourceTagsRequestResourceType `json:"resource_type"`

	// 资源ID
	ResourceId string `json:"resource_id"`

	Body *CreateResourcesTagsRequestBody `json:"body,omitempty"`
}

BatchCreateResourceTagsRequest Request Object

func (BatchCreateResourceTagsRequest) String added in v0.1.78

type BatchCreateResourceTagsRequestResourceType added in v0.1.78

type BatchCreateResourceTagsRequestResourceType struct {
	// contains filtered or unexported fields
}

func (BatchCreateResourceTagsRequestResourceType) MarshalJSON added in v0.1.78

func (*BatchCreateResourceTagsRequestResourceType) UnmarshalJSON added in v0.1.78

func (BatchCreateResourceTagsRequestResourceType) Value added in v0.1.78

type BatchCreateResourceTagsRequestResourceTypeEnum added in v0.1.78

type BatchCreateResourceTagsRequestResourceTypeEnum struct {
	VPN_GATEWAY      BatchCreateResourceTagsRequestResourceType
	VPN_CONNECTION   BatchCreateResourceTagsRequestResourceType
	CUSTOMER_GATEWAY BatchCreateResourceTagsRequestResourceType
	P2C_VPN_GATEWAYS BatchCreateResourceTagsRequestResourceType
}

func GetBatchCreateResourceTagsRequestResourceTypeEnum added in v0.1.78

func GetBatchCreateResourceTagsRequestResourceTypeEnum() BatchCreateResourceTagsRequestResourceTypeEnum

type BatchCreateResourceTagsResponse added in v0.1.78

type BatchCreateResourceTagsResponse struct {
	HttpStatusCode int `json:"-"`
}

BatchCreateResourceTagsResponse Response Object

func (BatchCreateResourceTagsResponse) String added in v0.1.78

type BatchDeleteResourceTagsRequest added in v0.1.78

type BatchDeleteResourceTagsRequest struct {

	// 内容类型
	ContentType string `json:"Content-Type"`

	// 资源类型
	ResourceType BatchDeleteResourceTagsRequestResourceType `json:"resource_type"`

	// 资源ID
	ResourceId string `json:"resource_id"`

	Body *DeleteResourcesTagsRequestBody `json:"body,omitempty"`
}

BatchDeleteResourceTagsRequest Request Object

func (BatchDeleteResourceTagsRequest) String added in v0.1.78

type BatchDeleteResourceTagsRequestResourceType added in v0.1.78

type BatchDeleteResourceTagsRequestResourceType struct {
	// contains filtered or unexported fields
}

func (BatchDeleteResourceTagsRequestResourceType) MarshalJSON added in v0.1.78

func (*BatchDeleteResourceTagsRequestResourceType) UnmarshalJSON added in v0.1.78

func (BatchDeleteResourceTagsRequestResourceType) Value added in v0.1.78

type BatchDeleteResourceTagsRequestResourceTypeEnum added in v0.1.78

type BatchDeleteResourceTagsRequestResourceTypeEnum struct {
	VPN_GATEWAY      BatchDeleteResourceTagsRequestResourceType
	VPN_CONNECTION   BatchDeleteResourceTagsRequestResourceType
	CUSTOMER_GATEWAY BatchDeleteResourceTagsRequestResourceType
	P2C_VPN_GATEWAYS BatchDeleteResourceTagsRequestResourceType
}

func GetBatchDeleteResourceTagsRequestResourceTypeEnum added in v0.1.78

func GetBatchDeleteResourceTagsRequestResourceTypeEnum() BatchDeleteResourceTagsRequestResourceTypeEnum

type BatchDeleteResourceTagsResponse added in v0.1.78

type BatchDeleteResourceTagsResponse struct {
	HttpStatusCode int `json:"-"`
}

BatchDeleteResourceTagsResponse Response Object

func (BatchDeleteResourceTagsResponse) String added in v0.1.78

type CaCertificate

type CaCertificate struct {

	// 证书ID
	Id *string `json:"id,omitempty"`

	// 证书序列号
	SerialNumber *string `json:"serial_number,omitempty"`

	// 签名算法
	SignatureAlgorithm *string `json:"signature_algorithm,omitempty"`

	// 证书颁发者
	Issuer *string `json:"issuer,omitempty"`

	// 证书主题
	Subject *string `json:"subject,omitempty"`

	// 证书过期时间
	ExpireTime *sdktime.SdkTime `json:"expire_time,omitempty"`

	// 是否能更新内容
	IsUpdatable *bool `json:"is_updatable,omitempty"`
}

CaCertificate 对端网关CA证书信息

func (CaCertificate) String

func (o CaCertificate) String() string

type CaCertificateRequest

type CaCertificateRequest struct {

	// 使用已有证书ID
	Id *string `json:"id,omitempty"`

	// 对端网关CA证书内容
	Content *string `json:"content,omitempty"`
}

CaCertificateRequest 对端网关CA证书

func (CaCertificateRequest) String

func (o CaCertificateRequest) String() string

type CheckClientCaCertificateRequest added in v0.1.106

type CheckClientCaCertificateRequest struct {
	Body *ImportClientCaCertificateRequestBody `json:"body,omitempty"`
}

CheckClientCaCertificateRequest Request Object

func (CheckClientCaCertificateRequest) String added in v0.1.106

type CheckClientCaCertificateResponse added in v0.1.106

type CheckClientCaCertificateResponse struct {

	// 证书名
	Name *string `json:"name,omitempty"`

	// 颁发者
	Issuer *string `json:"issuer,omitempty"`

	// 主体
	Subject *string `json:"subject,omitempty"`

	// 序列号
	SerialNumber *string `json:"serial_number,omitempty"`

	// 过期时间
	ExpirationTime *sdktime.SdkTime `json:"expiration_time,omitempty"`

	// 客户端 CA 证书签名算法
	SignatureAlgorithm *string `json:"signature_algorithm,omitempty"`
	HttpStatusCode     int     `json:"-"`
}

CheckClientCaCertificateResponse Response Object

func (CheckClientCaCertificateResponse) String added in v0.1.106

type Connection added in v0.1.106

type Connection struct {

	// 连接ID
	ConnectionId *string `json:"connection_id,omitempty"`

	// 客户端虚拟IP
	ClientVirtualIp *string `json:"client_virtual_ip,omitempty"`

	// 客户端IP
	ClientIp *string `json:"client_ip,omitempty"`

	// 客户端用户名称
	ClientUserName *string `json:"client_user_name,omitempty"`

	// 入网包数
	InboundPackets *int64 `json:"inbound_packets,omitempty"`

	// 出网包数
	OutboundPackets *int64 `json:"outbound_packets,omitempty"`

	// 入网字节数
	InboundBytes *int64 `json:"inbound_bytes,omitempty"`

	// 出网字节数
	OutboundBytes *int64 `json:"outbound_bytes,omitempty"`

	// 连接建立时间
	ConnectionEstablishedTime *sdktime.SdkTime `json:"connection_established_time,omitempty"`

	// 时间戳
	Timestamp *sdktime.SdkTime `json:"timestamp,omitempty"`
}

func (Connection) String added in v0.1.106

func (o Connection) String() string

type ConnectionMonitorInfo

type ConnectionMonitorInfo struct {

	// VPN连接监控ID
	Id *string `json:"id,omitempty"`

	Status *string `json:"status,omitempty"`

	// VPN连接监控对应的VPN连接ID
	VpnConnectionId *string `json:"vpn_connection_id,omitempty"`

	// 监控类型,取值范围:gateway
	Type *string `json:"type,omitempty"`

	// VPN连接监控的源地址
	SourceIp *string `json:"source_ip,omitempty"`

	// VPN连接监控的目的地址
	DestinationIp *string `json:"destination_ip,omitempty"`

	// 预留字段,nqa使用的协议类型,目前使用默认值ICMP
	ProtoType *string `json:"proto_type,omitempty"`
}

func (ConnectionMonitorInfo) String

func (o ConnectionMonitorInfo) String() string

type CountResourcesByTagsRequest added in v0.1.78

type CountResourcesByTagsRequest struct {

	// 内容类型
	ContentType string `json:"Content-Type"`

	// 资源类型
	ResourceType CountResourcesByTagsRequestResourceType `json:"resource_type"`

	Body *QueryResourcesRequestBody `json:"body,omitempty"`
}

CountResourcesByTagsRequest Request Object

func (CountResourcesByTagsRequest) String added in v0.1.78

type CountResourcesByTagsRequestResourceType added in v0.1.78

type CountResourcesByTagsRequestResourceType struct {
	// contains filtered or unexported fields
}

func (CountResourcesByTagsRequestResourceType) MarshalJSON added in v0.1.78

func (c CountResourcesByTagsRequestResourceType) MarshalJSON() ([]byte, error)

func (*CountResourcesByTagsRequestResourceType) UnmarshalJSON added in v0.1.78

func (c *CountResourcesByTagsRequestResourceType) UnmarshalJSON(b []byte) error

func (CountResourcesByTagsRequestResourceType) Value added in v0.1.78

type CountResourcesByTagsRequestResourceTypeEnum added in v0.1.78

type CountResourcesByTagsRequestResourceTypeEnum struct {
	VPN_GATEWAY      CountResourcesByTagsRequestResourceType
	VPN_CONNECTION   CountResourcesByTagsRequestResourceType
	CUSTOMER_GATEWAY CountResourcesByTagsRequestResourceType
	P2C_VPN_GATEWAYS CountResourcesByTagsRequestResourceType
}

func GetCountResourcesByTagsRequestResourceTypeEnum added in v0.1.78

func GetCountResourcesByTagsRequestResourceTypeEnum() CountResourcesByTagsRequestResourceTypeEnum

type CountResourcesByTagsResponse added in v0.1.78

type CountResourcesByTagsResponse struct {
	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

CountResourcesByTagsResponse Response Object

func (CountResourcesByTagsResponse) String added in v0.1.78

type CreateCgwRequest

type CreateCgwRequest struct {
	Body *CreateCgwRequestBody `json:"body,omitempty"`
}

CreateCgwRequest Request Object

func (CreateCgwRequest) String

func (o CreateCgwRequest) String() string

type CreateCgwRequestBody

type CreateCgwRequestBody struct {
	CustomerGateway *CreateCgwRequestBodyContent `json:"customer_gateway"`
}

func (CreateCgwRequestBody) String

func (o CreateCgwRequestBody) String() string

type CreateCgwRequestBodyContent

type CreateCgwRequestBodyContent struct {

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

	// 对端网关标识类型
	IdType *CreateCgwRequestBodyContentIdType `json:"id_type,omitempty"`

	// 对端网关标识值
	IdValue string `json:"id_value"`

	// 网关的bgp asn号,默认值为65000
	BgpAsn *int64 `json:"bgp_asn,omitempty"`

	CaCertificate *CaCertificateRequest `json:"ca_certificate,omitempty"`

	// 标签
	Tags *[]VpnResourceTag `json:"tags,omitempty"`
}

func (CreateCgwRequestBodyContent) String

type CreateCgwRequestBodyContentIdType added in v0.1.78

type CreateCgwRequestBodyContentIdType struct {
	// contains filtered or unexported fields
}

func (CreateCgwRequestBodyContentIdType) MarshalJSON added in v0.1.78

func (c CreateCgwRequestBodyContentIdType) MarshalJSON() ([]byte, error)

func (*CreateCgwRequestBodyContentIdType) UnmarshalJSON added in v0.1.78

func (c *CreateCgwRequestBodyContentIdType) UnmarshalJSON(b []byte) error

func (CreateCgwRequestBodyContentIdType) Value added in v0.1.78

type CreateCgwRequestBodyContentIdTypeEnum added in v0.1.78

type CreateCgwRequestBodyContentIdTypeEnum struct {
	IP   CreateCgwRequestBodyContentIdType
	FQDN CreateCgwRequestBodyContentIdType
}

func GetCreateCgwRequestBodyContentIdTypeEnum added in v0.1.78

func GetCreateCgwRequestBodyContentIdTypeEnum() CreateCgwRequestBodyContentIdTypeEnum

type CreateCgwResponse

type CreateCgwResponse struct {
	CustomerGateway *ResponseCustomerGateway `json:"customer_gateway,omitempty"`

	// 请求id
	RequestId *string `json:"request_id,omitempty"`

	HeaderResponseToken *string `json:"header-response-token,omitempty"`
	HttpStatusCode      int     `json:"-"`
}

CreateCgwResponse Response Object

func (CreateCgwResponse) String

func (o CreateCgwResponse) String() string

type CreateConnectionMonitorInfo

type CreateConnectionMonitorInfo struct {

	// VPN连接监控ID
	Id *string `json:"id,omitempty"`

	// VPN连接监控对应的VPN连接ID
	VpnConnectionId *string `json:"vpn_connection_id,omitempty"`

	// 监控类型,取值范围:gateway
	Type *string `json:"type,omitempty"`

	// VPN连接监控的源地址
	SourceIp *string `json:"source_ip,omitempty"`

	// VPN连接监控的目的地址
	DestinationIp *string `json:"destination_ip,omitempty"`

	// 预留字段,nqa使用的协议类型,目前使用默认值ICMP
	ProtoType *string `json:"proto_type,omitempty"`
}

func (CreateConnectionMonitorInfo) String

type CreateConnectionMonitorRequest

type CreateConnectionMonitorRequest struct {
	Body *CreateConnectionMonitorRequestBody `json:"body,omitempty"`
}

CreateConnectionMonitorRequest Request Object

func (CreateConnectionMonitorRequest) String

type CreateConnectionMonitorRequestBody

type CreateConnectionMonitorRequestBody struct {
	ConnectionMonitor *CreateConnectionMonitorRequestBodyContent `json:"connection_monitor"`
}

func (CreateConnectionMonitorRequestBody) String

type CreateConnectionMonitorRequestBodyContent

type CreateConnectionMonitorRequestBodyContent struct {

	// VPN连接监控对应的VPN连接ID
	VpnConnectionId string `json:"vpn_connection_id"`
}

CreateConnectionMonitorRequestBodyContent 创建连接监控请求体

func (CreateConnectionMonitorRequestBodyContent) String

type CreateConnectionMonitorResponse

type CreateConnectionMonitorResponse struct {
	ConnectionMonitor *CreateConnectionMonitorInfo `json:"connection_monitor,omitempty"`

	// 请求id
	RequestId *string `json:"request_id,omitempty"`

	HeaderResponseToken *string `json:"header-response-token,omitempty"`
	HttpStatusCode      int     `json:"-"`
}

CreateConnectionMonitorResponse Response Object

func (CreateConnectionMonitorResponse) String

type CreateRequestEip

type CreateRequestEip struct {

	// 功能说明:公网IP的唯一标识
	Id *string `json:"id,omitempty"`

	// 功能说明:EIP的类型  取值范围:5_bgp(全动态BGP),5_sbgp(静态BGP)  华南-广州:5_bgp、5_sbgp  华东-上海一:5_bgp、5_sbgp  华东-上海二:5_bgp、5_sbgp  华北-北京一:5_bgp、5_sbgp  中国-香港:5_bgp  亚太-曼谷:5_bgp  亚太-新加坡:5_bgp  非洲-约翰内斯堡:5_bgp  西南-贵阳一:5_bgp、5_sbgp  华北-北京四:5_bgp、5_sbgp  拉美-圣地亚哥:5_bgp  拉美-圣保罗一:5_bgp  拉美-墨西哥城一:5_bgp  拉美-布宜诺斯艾利一:5_bgp  拉美-利马一:5_bgp  拉美-圣地亚哥二: 5_bgp 约束:必须是系统具体支持的类型。
	Type *string `json:"type,omitempty"`

	// 功能说明:按流量计费还是按带宽计费  取值范围:  bandwidth:按带宽计费  traffic:按流量计费  95peak_plus:按增强型95计费
	ChargeMode *CreateRequestEipChargeMode `json:"charge_mode,omitempty"`

	// 带宽大小Mbit/s。flavor为Basic时,取值不能大于100;flavor为Professional1时,取值不能大于300;flavor为Professional2时,取值不能大于1000
	BandwidthSize *int32 `json:"bandwidth_size,omitempty"`

	// 带宽名称
	BandwidthName *string `json:"bandwidth_name,omitempty"`
}

func (CreateRequestEip) String

func (o CreateRequestEip) String() string

type CreateRequestEipChargeMode

type CreateRequestEipChargeMode struct {
	// contains filtered or unexported fields
}

func (CreateRequestEipChargeMode) MarshalJSON

func (c CreateRequestEipChargeMode) MarshalJSON() ([]byte, error)

func (*CreateRequestEipChargeMode) UnmarshalJSON

func (c *CreateRequestEipChargeMode) UnmarshalJSON(b []byte) error

func (CreateRequestEipChargeMode) Value

type CreateRequestEipChargeModeEnum

type CreateRequestEipChargeModeEnum struct {
	BANDWIDTH CreateRequestEipChargeMode
	TRAFFIC   CreateRequestEipChargeMode
}

func GetCreateRequestEipChargeModeEnum

func GetCreateRequestEipChargeModeEnum() CreateRequestEipChargeModeEnum

type CreateResourcesTagsRequestBody added in v0.1.78

type CreateResourcesTagsRequestBody struct {
	Tags []ResourceTag `json:"tags"`
}

func (CreateResourcesTagsRequestBody) String added in v0.1.78

type CreateResponseVpnConnection

type CreateResponseVpnConnection struct {

	// VPN连接ID
	Id *string `json:"id,omitempty"`

	// VPN连接名称
	Name *string `json:"name,omitempty"`

	// VPN网关ID
	VgwId *string `json:"vgw_id,omitempty"`

	// VGW IP
	VgwIp *string `json:"vgw_ip,omitempty"`

	// 连接模式 允许范围[POLICY, STATIC, BGP] POLICY: 策略模式 STATIC: 静态路由模式 BGP: bgp路由模式
	Style *CreateResponseVpnConnectionStyle `json:"style,omitempty"`

	// 对端网关ID
	CgwId *string `json:"cgw_id,omitempty"`

	// 对端网段
	PeerSubnets *[]string `json:"peer_subnets,omitempty"`

	// 本端隧道口地址
	TunnelLocalAddress *string `json:"tunnel_local_address,omitempty"`

	// 对端隧道口地址
	TunnelPeerAddress *string `json:"tunnel_peer_address,omitempty"`

	// 开启NQA检测
	EnableNqa *bool `json:"enable_nqa,omitempty"`

	// 策略模式的策略规则组
	PolicyRules *[]PolicyRule `json:"policy_rules,omitempty"`

	Ikepolicy *IkePolicy `json:"ikepolicy,omitempty"`

	Ipsecpolicy *IpsecPolicy `json:"ipsecpolicy,omitempty"`

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

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

	// 企业项目ID
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 连接的HA角色
	HaRole *string `json:"ha_role,omitempty"`

	// 标签
	Tags *[]VpnResourceTag `json:"tags,omitempty"`
}

func (CreateResponseVpnConnection) String

type CreateResponseVpnConnectionStyle

type CreateResponseVpnConnectionStyle struct {
	// contains filtered or unexported fields
}

func (CreateResponseVpnConnectionStyle) MarshalJSON

func (c CreateResponseVpnConnectionStyle) MarshalJSON() ([]byte, error)

func (*CreateResponseVpnConnectionStyle) UnmarshalJSON

func (c *CreateResponseVpnConnectionStyle) UnmarshalJSON(b []byte) error

func (CreateResponseVpnConnectionStyle) Value

type CreateResponseVpnGateway

type CreateResponseVpnGateway struct {

	// VPN网关ID
	Id *string `json:"id,omitempty"`

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

	// 关联模式
	AttachmentType *CreateResponseVpnGatewayAttachmentType `json:"attachment_type,omitempty"`

	CertificateId *string `json:"certificate_id,omitempty"`

	// VPN网关所连接的ER实例的ID
	ErId *string `json:"er_id,omitempty"`

	// VPN网关所连接的VPC的ID
	VpcId *string `json:"vpc_id,omitempty"`

	// 本端子网
	LocalSubnets *[]string `json:"local_subnets,omitempty"`

	// VPN网关所使用的VPC子网ID
	ConnectSubnet *string `json:"connect_subnet,omitempty"`

	// VPN网关的网络类型,默认为公网(public)
	NetworkType *CreateResponseVpnGatewayNetworkType `json:"network_type,omitempty"`

	// VPN网关北向接入VPC ID,不填时默认使用vpc_id字段的值
	AccessVpcId *string `json:"access_vpc_id,omitempty"`

	// VPN网关北向接入VPC中的接入子网ID
	AccessSubnetId *string `json:"access_subnet_id,omitempty"`

	// bgp所使用的asn号
	BgpAsn *int64 `json:"bgp_asn,omitempty"`

	// VPN网关的规格类型
	Flavor *string `json:"flavor,omitempty"`

	// 最大可创建的VPN连接数
	ConnectionNumber *int32 `json:"connection_number,omitempty"`

	// 当前已经使用的VPN连接数
	UsedConnectionNumber *int32 `json:"used_connection_number,omitempty"`

	// 当前已经使用的VPN连接组个数
	UsedConnectionGroup *int32 `json:"used_connection_group,omitempty"`

	// 企业项目ID
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// ha模式
	HaMode *string `json:"ha_mode,omitempty"`

	PolicyTemplate *PolicyTemplate `json:"policy_template,omitempty"`

	// 标签
	Tags *[]VpnResourceTag `json:"tags,omitempty"`
}

func (CreateResponseVpnGateway) String

func (o CreateResponseVpnGateway) String() string

type CreateResponseVpnGatewayAttachmentType

type CreateResponseVpnGatewayAttachmentType struct {
	// contains filtered or unexported fields
}

func (CreateResponseVpnGatewayAttachmentType) MarshalJSON

func (c CreateResponseVpnGatewayAttachmentType) MarshalJSON() ([]byte, error)

func (*CreateResponseVpnGatewayAttachmentType) UnmarshalJSON

func (c *CreateResponseVpnGatewayAttachmentType) UnmarshalJSON(b []byte) error

func (CreateResponseVpnGatewayAttachmentType) Value

type CreateResponseVpnGatewayNetworkType

type CreateResponseVpnGatewayNetworkType struct {
	// contains filtered or unexported fields
}

func (CreateResponseVpnGatewayNetworkType) MarshalJSON

func (c CreateResponseVpnGatewayNetworkType) MarshalJSON() ([]byte, error)

func (*CreateResponseVpnGatewayNetworkType) UnmarshalJSON

func (c *CreateResponseVpnGatewayNetworkType) UnmarshalJSON(b []byte) error

func (CreateResponseVpnGatewayNetworkType) Value

type CreateResponseVpnGatewayNetworkTypeEnum

type CreateResponseVpnGatewayNetworkTypeEnum struct {
	PUBLIC  CreateResponseVpnGatewayNetworkType
	PRIVATE CreateResponseVpnGatewayNetworkType
}

func GetCreateResponseVpnGatewayNetworkTypeEnum

func GetCreateResponseVpnGatewayNetworkTypeEnum() CreateResponseVpnGatewayNetworkTypeEnum

type CreateServerRequest added in v0.1.106

type CreateServerRequest struct {

	// 隧道协议类型
	TunnelProtocol CreateServerRequestTunnelProtocol `json:"tunnel_protocol"`

	// 客户端网段
	ClientCidr string `json:"client_cidr"`

	// 本端网段列表,至少有一个本端网段
	LocalSubnets []string `json:"local_subnets"`

	// 客户端认证类型
	ClientAuthType CreateServerRequestClientAuthType `json:"client_auth_type"`

	ServerCertificate *CreateServerRequestServerCertificate `json:"server_certificate,omitempty"`

	// 客户端证书列表。隧道协议类型是SSL且认证方式是证书认证时,必填
	ClientCaCertificates *[]CreateServerRequestClientCaCertificates `json:"client_ca_certificates,omitempty"`

	SslOptions *CreateServerRequestSslOptions `json:"ssl_options,omitempty"`
}

func (CreateServerRequest) String added in v0.1.106

func (o CreateServerRequest) String() string

type CreateServerRequestBody added in v0.1.106

type CreateServerRequestBody struct {
	VpnServer *CreateServerRequest `json:"vpn_server,omitempty"`
}

func (CreateServerRequestBody) String added in v0.1.106

func (o CreateServerRequestBody) String() string

type CreateServerRequestClientAuthType added in v0.1.106

type CreateServerRequestClientAuthType struct {
	// contains filtered or unexported fields
}

func (CreateServerRequestClientAuthType) MarshalJSON added in v0.1.106

func (c CreateServerRequestClientAuthType) MarshalJSON() ([]byte, error)

func (*CreateServerRequestClientAuthType) UnmarshalJSON added in v0.1.106

func (c *CreateServerRequestClientAuthType) UnmarshalJSON(b []byte) error

func (CreateServerRequestClientAuthType) Value added in v0.1.106

type CreateServerRequestClientAuthTypeEnum added in v0.1.106

type CreateServerRequestClientAuthTypeEnum struct {
	CERT           CreateServerRequestClientAuthType
	LOCAL_PASSWORD CreateServerRequestClientAuthType
}

func GetCreateServerRequestClientAuthTypeEnum added in v0.1.106

func GetCreateServerRequestClientAuthTypeEnum() CreateServerRequestClientAuthTypeEnum

type CreateServerRequestClientCaCertificates added in v0.1.106

type CreateServerRequestClientCaCertificates struct {

	// 证书名
	Name *string `json:"name,omitempty"`

	// 证书内容
	Content string `json:"content"`
}

func (CreateServerRequestClientCaCertificates) String added in v0.1.106

type CreateServerRequestServerCertificate added in v0.1.106

type CreateServerRequestServerCertificate struct {

	// 服务端证书ID,为CCM服务中的证书ID
	Id string `json:"id"`
}

CreateServerRequestServerCertificate 服务端证书。 隧道协议类型是SSL时,必填

func (CreateServerRequestServerCertificate) String added in v0.1.106

type CreateServerRequestSslOptions added in v0.1.106

type CreateServerRequestSslOptions struct {

	// 协议
	Protocol *CreateServerRequestSslOptionsProtocol `json:"protocol,omitempty"`

	// 端口
	Port *CreateServerRequestSslOptionsPort `json:"port,omitempty"`

	// 加密算法
	EncryptionAlgorithm *CreateServerRequestSslOptionsEncryptionAlgorithm `json:"encryption_algorithm,omitempty"`

	// 是否压缩
	IsCompressed *bool `json:"is_compressed,omitempty"`
}

CreateServerRequestSslOptions SSL隧道协议的可选配置项。隧道协议类型是SSL时,必填

func (CreateServerRequestSslOptions) String added in v0.1.106

type CreateServerRequestSslOptionsEncryptionAlgorithm added in v0.1.106

type CreateServerRequestSslOptionsEncryptionAlgorithm struct {
	// contains filtered or unexported fields
}

func (CreateServerRequestSslOptionsEncryptionAlgorithm) MarshalJSON added in v0.1.106

func (*CreateServerRequestSslOptionsEncryptionAlgorithm) UnmarshalJSON added in v0.1.106

func (CreateServerRequestSslOptionsEncryptionAlgorithm) Value added in v0.1.106

type CreateServerRequestSslOptionsEncryptionAlgorithmEnum added in v0.1.106

type CreateServerRequestSslOptionsEncryptionAlgorithmEnum struct {
	AES_128_GCM CreateServerRequestSslOptionsEncryptionAlgorithm
	AES_256_GCM CreateServerRequestSslOptionsEncryptionAlgorithm
}

func GetCreateServerRequestSslOptionsEncryptionAlgorithmEnum added in v0.1.106

func GetCreateServerRequestSslOptionsEncryptionAlgorithmEnum() CreateServerRequestSslOptionsEncryptionAlgorithmEnum

type CreateServerRequestSslOptionsPort added in v0.1.106

type CreateServerRequestSslOptionsPort struct {
	// contains filtered or unexported fields
}

func (CreateServerRequestSslOptionsPort) MarshalJSON added in v0.1.106

func (c CreateServerRequestSslOptionsPort) MarshalJSON() ([]byte, error)

func (*CreateServerRequestSslOptionsPort) UnmarshalJSON added in v0.1.106

func (c *CreateServerRequestSslOptionsPort) UnmarshalJSON(b []byte) error

func (CreateServerRequestSslOptionsPort) Value added in v0.1.106

type CreateServerRequestSslOptionsPortEnum added in v0.1.106

type CreateServerRequestSslOptionsPortEnum struct {
	E_443  CreateServerRequestSslOptionsPort
	E_1194 CreateServerRequestSslOptionsPort
}

func GetCreateServerRequestSslOptionsPortEnum added in v0.1.106

func GetCreateServerRequestSslOptionsPortEnum() CreateServerRequestSslOptionsPortEnum

type CreateServerRequestSslOptionsProtocol added in v0.1.106

type CreateServerRequestSslOptionsProtocol struct {
	// contains filtered or unexported fields
}

func (CreateServerRequestSslOptionsProtocol) MarshalJSON added in v0.1.106

func (c CreateServerRequestSslOptionsProtocol) MarshalJSON() ([]byte, error)

func (*CreateServerRequestSslOptionsProtocol) UnmarshalJSON added in v0.1.106

func (c *CreateServerRequestSslOptionsProtocol) UnmarshalJSON(b []byte) error

func (CreateServerRequestSslOptionsProtocol) Value added in v0.1.106

type CreateServerRequestSslOptionsProtocolEnum added in v0.1.106

type CreateServerRequestSslOptionsProtocolEnum struct {
	TCP CreateServerRequestSslOptionsProtocol
}

func GetCreateServerRequestSslOptionsProtocolEnum added in v0.1.106

func GetCreateServerRequestSslOptionsProtocolEnum() CreateServerRequestSslOptionsProtocolEnum

type CreateServerRequestTunnelProtocol added in v0.1.106

type CreateServerRequestTunnelProtocol struct {
	// contains filtered or unexported fields
}

func (CreateServerRequestTunnelProtocol) MarshalJSON added in v0.1.106

func (c CreateServerRequestTunnelProtocol) MarshalJSON() ([]byte, error)

func (*CreateServerRequestTunnelProtocol) UnmarshalJSON added in v0.1.106

func (c *CreateServerRequestTunnelProtocol) UnmarshalJSON(b []byte) error

func (CreateServerRequestTunnelProtocol) Value added in v0.1.106

type CreateServerRequestTunnelProtocolEnum added in v0.1.106

type CreateServerRequestTunnelProtocolEnum struct {
	SSL CreateServerRequestTunnelProtocol
}

func GetCreateServerRequestTunnelProtocolEnum added in v0.1.106

func GetCreateServerRequestTunnelProtocolEnum() CreateServerRequestTunnelProtocolEnum

type CreateServerResponseBodyVpnServer added in v0.1.106

type CreateServerResponseBodyVpnServer struct {

	// VPN服务端 ID
	Id *string `json:"id,omitempty"`
}

func (CreateServerResponseBodyVpnServer) String added in v0.1.106

type CreateVgwCertificateRequest

type CreateVgwCertificateRequest struct {

	// VPN网关实例ID
	VgwId string `json:"vgw_id"`

	Body *CreateVpnGatewayCertificateRequestBody `json:"body,omitempty"`
}

CreateVgwCertificateRequest Request Object

func (CreateVgwCertificateRequest) String

type CreateVgwCertificateResponse

type CreateVgwCertificateResponse struct {
	Certificate *VpnGatewayCertificateConfig `json:"certificate,omitempty"`

	// 请求id
	RequestId *string `json:"request_id,omitempty"`

	HeaderResponseToken *string `json:"header-response-token,omitempty"`
	HttpStatusCode      int     `json:"-"`
}

CreateVgwCertificateResponse Response Object

func (CreateVgwCertificateResponse) String

type CreateVgwRequest

type CreateVgwRequest struct {
	Body *CreateVgwRequestBody `json:"body,omitempty"`
}

CreateVgwRequest Request Object

func (CreateVgwRequest) String

func (o CreateVgwRequest) String() string

type CreateVgwRequestBody

type CreateVgwRequestBody struct {
	VpnGateway *CreateVgwRequestBodyContent `json:"vpn_gateway"`
}

func (CreateVgwRequestBody) String

func (o CreateVgwRequestBody) String() string

type CreateVgwRequestBodyContent

type CreateVgwRequestBodyContent struct {

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

	// 关联模式
	AttachmentType *CreateVgwRequestBodyContentAttachmentType `json:"attachment_type,omitempty"`

	// VPN网关所连接的ER实例的ID,当attachment_type配置为\"er\"时必填,否则不填
	ErId *string `json:"er_id,omitempty"`

	// VPN网关所连接的VPC的ID
	VpcId *string `json:"vpc_id,omitempty"`

	// 本端子网,当attachment_type配置为\"vpc\"时必填,否则不填
	LocalSubnets *[]string `json:"local_subnets,omitempty"`

	// VPN网关所使用的VPC子网ID
	ConnectSubnet *string `json:"connect_subnet,omitempty"`

	// bgp所使用的asn号
	BgpAsn *int64 `json:"bgp_asn,omitempty"`

	// VPN网关的规格类型,当attachment_type为er时不能填写Basic
	Flavor *CreateVgwRequestBodyContentFlavor `json:"flavor,omitempty"`

	// 部署VPN网关的可用区。不填时自动为VPN网关选择可用区。如果需要指定可用区可以通过查询VPN网关可用区查询可用区列表。
	AvailabilityZoneIds *[]string `json:"availability_zone_ids,omitempty"`

	// 企业项目ID
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	Eip1 *CreateRequestEip `json:"eip1,omitempty"`

	Eip2 *CreateRequestEip `json:"eip2,omitempty"`

	// 私网类型VPN网关的接入私网IP1,指定ip创建私网网关时设置,主备网关时为主ip,双活网关时为主ip1
	AccessPrivateIp1 *string `json:"access_private_ip_1,omitempty"`

	// 私网类型VPN网关的接入私网IP2,指定ip创建私网网关时设置,主备网关时为备ip,双活网关时为主ip2
	AccessPrivateIp2 *string `json:"access_private_ip_2,omitempty"`

	// VPN网关的网络类型,默认为公网(public)
	NetworkType *CreateVgwRequestBodyContentNetworkType `json:"network_type,omitempty"`

	// VPN网关北向接入VPC ID,不填时默认使用vpc_id字段的值
	AccessVpcId *string `json:"access_vpc_id,omitempty"`

	// VPN网关北向接入VPC中的接入子网ID,在填写了access_vpc_id时必填
	AccessSubnetId *string `json:"access_subnet_id,omitempty"`

	// ha模式
	HaMode *CreateVgwRequestBodyContentHaMode `json:"ha_mode,omitempty"`

	// 标签
	Tags *[]VpnResourceTag `json:"tags,omitempty"`
}

func (CreateVgwRequestBodyContent) String

type CreateVgwRequestBodyContentAttachmentType

type CreateVgwRequestBodyContentAttachmentType struct {
	// contains filtered or unexported fields
}

func (CreateVgwRequestBodyContentAttachmentType) MarshalJSON

func (*CreateVgwRequestBodyContentAttachmentType) UnmarshalJSON

func (CreateVgwRequestBodyContentAttachmentType) Value

type CreateVgwRequestBodyContentFlavor

type CreateVgwRequestBodyContentFlavor struct {
	// contains filtered or unexported fields
}

func (CreateVgwRequestBodyContentFlavor) MarshalJSON

func (c CreateVgwRequestBodyContentFlavor) MarshalJSON() ([]byte, error)

func (*CreateVgwRequestBodyContentFlavor) UnmarshalJSON

func (c *CreateVgwRequestBodyContentFlavor) UnmarshalJSON(b []byte) error

func (CreateVgwRequestBodyContentFlavor) Value

type CreateVgwRequestBodyContentFlavorEnum

type CreateVgwRequestBodyContentFlavorEnum struct {
	BASIC                      CreateVgwRequestBodyContentFlavor
	PROFESSIONAL1              CreateVgwRequestBodyContentFlavor
	PROFESSIONAL2              CreateVgwRequestBodyContentFlavor
	PROFESSIONAL1_NON_FIXED_IP CreateVgwRequestBodyContentFlavor
	PROFESSIONAL2_NON_FIXED_IP CreateVgwRequestBodyContentFlavor
}

func GetCreateVgwRequestBodyContentFlavorEnum

func GetCreateVgwRequestBodyContentFlavorEnum() CreateVgwRequestBodyContentFlavorEnum

type CreateVgwRequestBodyContentHaMode

type CreateVgwRequestBodyContentHaMode struct {
	// contains filtered or unexported fields
}

func (CreateVgwRequestBodyContentHaMode) MarshalJSON

func (c CreateVgwRequestBodyContentHaMode) MarshalJSON() ([]byte, error)

func (*CreateVgwRequestBodyContentHaMode) UnmarshalJSON

func (c *CreateVgwRequestBodyContentHaMode) UnmarshalJSON(b []byte) error

func (CreateVgwRequestBodyContentHaMode) Value

type CreateVgwRequestBodyContentHaModeEnum

type CreateVgwRequestBodyContentHaModeEnum struct {
	ACTIVE_ACTIVE  CreateVgwRequestBodyContentHaMode
	ACTIVE_STANDBY CreateVgwRequestBodyContentHaMode
}

func GetCreateVgwRequestBodyContentHaModeEnum

func GetCreateVgwRequestBodyContentHaModeEnum() CreateVgwRequestBodyContentHaModeEnum

type CreateVgwRequestBodyContentNetworkType

type CreateVgwRequestBodyContentNetworkType struct {
	// contains filtered or unexported fields
}

func (CreateVgwRequestBodyContentNetworkType) MarshalJSON

func (c CreateVgwRequestBodyContentNetworkType) MarshalJSON() ([]byte, error)

func (*CreateVgwRequestBodyContentNetworkType) UnmarshalJSON

func (c *CreateVgwRequestBodyContentNetworkType) UnmarshalJSON(b []byte) error

func (CreateVgwRequestBodyContentNetworkType) Value

type CreateVgwRequestBodyContentNetworkTypeEnum

type CreateVgwRequestBodyContentNetworkTypeEnum struct {
	PUBLIC  CreateVgwRequestBodyContentNetworkType
	PRIVATE CreateVgwRequestBodyContentNetworkType
}

func GetCreateVgwRequestBodyContentNetworkTypeEnum

func GetCreateVgwRequestBodyContentNetworkTypeEnum() CreateVgwRequestBodyContentNetworkTypeEnum

type CreateVgwResponse

type CreateVgwResponse struct {
	VpnGateway *CreateResponseVpnGateway `json:"vpn_gateway,omitempty"`

	// 请求ID
	RequestId *string `json:"request_id,omitempty"`

	HeaderResponseToken *string `json:"header-response-token,omitempty"`
	HttpStatusCode      int     `json:"-"`
}

CreateVgwResponse Response Object

func (CreateVgwResponse) String

func (o CreateVgwResponse) String() string

type CreateVpnAccessPolicyRequest added in v0.1.106

type CreateVpnAccessPolicyRequest struct {

	// VPN服务端 ID
	VpnServerId string `json:"vpn_server_id"`

	// 幂等性标识
	XClientToken *string `json:"X-Client-Token,omitempty"`

	Body *CreateVpnAccessPolicyRequestBody `json:"body,omitempty"`
}

CreateVpnAccessPolicyRequest Request Object

func (CreateVpnAccessPolicyRequest) String added in v0.1.106

type CreateVpnAccessPolicyRequestBody added in v0.1.106

type CreateVpnAccessPolicyRequestBody struct {
	AccessPolicy *CreateVpnAccessPolicyRequestBodyContent `json:"access_policy"`
}

func (CreateVpnAccessPolicyRequestBody) String added in v0.1.106

type CreateVpnAccessPolicyRequestBodyContent added in v0.1.106

type CreateVpnAccessPolicyRequestBodyContent struct {

	// 访问策略名称
	Name string `json:"name"`

	// 关联用户组ID
	UserGroupId string `json:"user_group_id"`

	// 访问策略描述
	Description *string `json:"description,omitempty"`

	// 目的IP网段列表,至少有一个网段
	DestIpCidrs []string `json:"dest_ip_cidrs"`
}

func (CreateVpnAccessPolicyRequestBodyContent) String added in v0.1.106

type CreateVpnAccessPolicyResponse added in v0.1.106

type CreateVpnAccessPolicyResponse struct {
	AccessPolicy *CreateVpnAccessPolicyResponseBodyAccessPolicy `json:"access_policy,omitempty"`

	// 请求id
	RequestId *string `json:"request_id,omitempty"`

	HeaderResponseToken *string `json:"header-response-token,omitempty"`
	HttpStatusCode      int     `json:"-"`
}

CreateVpnAccessPolicyResponse Response Object

func (CreateVpnAccessPolicyResponse) String added in v0.1.106

type CreateVpnAccessPolicyResponseBodyAccessPolicy added in v0.1.106

type CreateVpnAccessPolicyResponseBodyAccessPolicy struct {

	// 访问策略ID
	Id *string `json:"id,omitempty"`
}

func (CreateVpnAccessPolicyResponseBodyAccessPolicy) String added in v0.1.106

type CreateVpnConnectionRequest

type CreateVpnConnectionRequest struct {
	Body *CreateVpnConnectionRequestBody `json:"body,omitempty"`
}

CreateVpnConnectionRequest Request Object

func (CreateVpnConnectionRequest) String

type CreateVpnConnectionRequestBody

type CreateVpnConnectionRequestBody struct {
	VpnConnection *CreateVpnConnectionRequestBodyContent `json:"vpn_connection"`
}

func (CreateVpnConnectionRequestBody) String

type CreateVpnConnectionRequestBodyContent

type CreateVpnConnectionRequestBodyContent struct {

	// VPN连接名称
	Name *string `json:"name,omitempty"`

	// VPN网关ID
	VgwId string `json:"vgw_id"`

	// VGW IP
	VgwIp string `json:"vgw_ip"`

	// 连接模式 允许范围[policy, static, bgp] policy: 策略模式 static: 静态路由模式 bgp: bgp路由模式
	Style *CreateVpnConnectionRequestBodyContentStyle `json:"style,omitempty"`

	// 对端网关ID
	CgwId string `json:"cgw_id"`

	// 对端子网
	PeerSubnets *[]string `json:"peer_subnets,omitempty"`

	// 本端隧道口地址
	TunnelLocalAddress *string `json:"tunnel_local_address,omitempty"`

	// 对端隧道口地址
	TunnelPeerAddress *string `json:"tunnel_peer_address,omitempty"`

	// 开启NQA检测
	EnableNqa *bool `json:"enable_nqa,omitempty"`

	// 预共享密钥,只能包含大写字母、小写字母、数字和特殊字符(~!@#$%^()-_+={ },./:;)且至少包含四种字符的三种
	Psk *string `json:"psk,omitempty"`

	// 策略模式的策略规则组
	PolicyRules *[]PolicyRule `json:"policy_rules,omitempty"`

	Ikepolicy *IkePolicy `json:"ikepolicy,omitempty"`

	Ipsecpolicy *IpsecPolicy `json:"ipsecpolicy,omitempty"`

	// 连接的HA角色
	HaRole *CreateVpnConnectionRequestBodyContentHaRole `json:"ha_role,omitempty"`

	// 标签
	Tags *[]VpnResourceTag `json:"tags,omitempty"`
}

func (CreateVpnConnectionRequestBodyContent) String

type CreateVpnConnectionRequestBodyContentHaRole

type CreateVpnConnectionRequestBodyContentHaRole struct {
	// contains filtered or unexported fields
}

func (CreateVpnConnectionRequestBodyContentHaRole) MarshalJSON

func (*CreateVpnConnectionRequestBodyContentHaRole) UnmarshalJSON

func (CreateVpnConnectionRequestBodyContentHaRole) Value

type CreateVpnConnectionRequestBodyContentStyle

type CreateVpnConnectionRequestBodyContentStyle struct {
	// contains filtered or unexported fields
}

func (CreateVpnConnectionRequestBodyContentStyle) MarshalJSON

func (*CreateVpnConnectionRequestBodyContentStyle) UnmarshalJSON

func (CreateVpnConnectionRequestBodyContentStyle) Value

type CreateVpnConnectionResponse

type CreateVpnConnectionResponse struct {
	VpnConnection *CreateResponseVpnConnection `json:"vpn_connection,omitempty"`

	// 请求ID
	RequestId *string `json:"request_id,omitempty"`

	HeaderResponseToken *string `json:"header-response-token,omitempty"`
	HttpStatusCode      int     `json:"-"`
}

CreateVpnConnectionResponse Response Object

func (CreateVpnConnectionResponse) String

type CreateVpnGatewayCertificateRequestBody added in v0.1.81

type CreateVpnGatewayCertificateRequestBody struct {
	Certificate *CreateVpnGatewayCertificateRequestBodyContent `json:"certificate"`
}

func (CreateVpnGatewayCertificateRequestBody) String added in v0.1.81

type CreateVpnGatewayCertificateRequestBodyContent added in v0.1.81

type CreateVpnGatewayCertificateRequestBodyContent struct {

	// VPN网关证书名称
	Name *string `json:"name,omitempty"`

	// 证书内容,国密证书时为签名证书内容
	Certificate string `json:"certificate"`

	// 证书私钥,国密证书时为签名证书私钥
	PrivateKey string `json:"private_key"`

	// VPN网关CA证书内容
	CertificateChain string `json:"certificate_chain"`

	// 国密证书的加密证书内容
	EncCertificate string `json:"enc_certificate"`

	// 国密证书的加密证书私钥
	EncPrivateKey string `json:"enc_private_key"`
}

func (CreateVpnGatewayCertificateRequestBodyContent) String added in v0.1.81

type CreateVpnServerRequest added in v0.1.106

type CreateVpnServerRequest struct {

	// P2C VPN网关实例ID
	P2cVgwId string `json:"p2c_vgw_id"`

	// 幂等性标识
	XClientToken *string `json:"X-Client-Token,omitempty"`

	Body *CreateServerRequestBody `json:"body,omitempty"`
}

CreateVpnServerRequest Request Object

func (CreateVpnServerRequest) String added in v0.1.106

func (o CreateVpnServerRequest) String() string

type CreateVpnServerResponse added in v0.1.106

type CreateVpnServerResponse struct {
	VpnServer *CreateServerResponseBodyVpnServer `json:"vpn_server,omitempty"`

	// 请求id
	RequestId *string `json:"request_id,omitempty"`

	HeaderResponseToken *string `json:"header-response-token,omitempty"`
	HttpStatusCode      int     `json:"-"`
}

CreateVpnServerResponse Response Object

func (CreateVpnServerResponse) String added in v0.1.106

func (o CreateVpnServerResponse) String() string

type CreateVpnUserGroupRequest added in v0.1.106

type CreateVpnUserGroupRequest struct {

	// VPN服务端 ID
	VpnServerId string `json:"vpn_server_id"`

	// 幂等性标识
	XClientToken *string `json:"X-Client-Token,omitempty"`

	Body *CreateVpnUserGroupRequestBody `json:"body,omitempty"`
}

CreateVpnUserGroupRequest Request Object

func (CreateVpnUserGroupRequest) String added in v0.1.106

func (o CreateVpnUserGroupRequest) String() string

type CreateVpnUserGroupRequestBody added in v0.1.106

type CreateVpnUserGroupRequestBody struct {
	UserGroup *CreateVpnUserGroupRequestBodyContent `json:"user_group"`
}

func (CreateVpnUserGroupRequestBody) String added in v0.1.106

type CreateVpnUserGroupRequestBodyContent added in v0.1.106

type CreateVpnUserGroupRequestBodyContent struct {

	// 用户组名
	Name string `json:"name"`

	// 用户组描述
	Description *string `json:"description,omitempty"`
}

func (CreateVpnUserGroupRequestBodyContent) String added in v0.1.106

type CreateVpnUserGroupResponse added in v0.1.106

type CreateVpnUserGroupResponse struct {
	UserGroup *CreateVpnUserGroupResponseBodyUserGroup `json:"user_group,omitempty"`

	// 请求id
	RequestId *string `json:"request_id,omitempty"`

	HeaderResponseToken *string `json:"header-response-token,omitempty"`
	HttpStatusCode      int     `json:"-"`
}

CreateVpnUserGroupResponse Response Object

func (CreateVpnUserGroupResponse) String added in v0.1.106

type CreateVpnUserGroupResponseBodyUserGroup added in v0.1.106

type CreateVpnUserGroupResponseBodyUserGroup struct {

	// VPN用户组ID
	Id *string `json:"id,omitempty"`
}

func (CreateVpnUserGroupResponseBodyUserGroup) String added in v0.1.106

type CreateVpnUserRequest added in v0.1.106

type CreateVpnUserRequest struct {

	// VPN服务端 ID
	VpnServerId string `json:"vpn_server_id"`

	// 幂等性标识
	XClientToken *string `json:"X-Client-Token,omitempty"`

	Body *CreateVpnUserRequestBody `json:"body,omitempty"`
}

CreateVpnUserRequest Request Object

func (CreateVpnUserRequest) String added in v0.1.106

func (o CreateVpnUserRequest) String() string

type CreateVpnUserRequestBody added in v0.1.106

type CreateVpnUserRequestBody struct {
	User *CreateVpnUserRequestBodyContent `json:"user"`
}

func (CreateVpnUserRequestBody) String added in v0.1.106

func (o CreateVpnUserRequestBody) String() string

type CreateVpnUserRequestBodyContent added in v0.1.106

type CreateVpnUserRequestBodyContent struct {

	// 用户名
	Name string `json:"name"`

	// 用户密码
	Password string `json:"password"`

	// 用户描述,0-64字符,中文、英文、数字包含下划线
	Description *string `json:"description,omitempty"`

	// 所属用户组ID
	UserGroupId *string `json:"user_group_id,omitempty"`
}

func (CreateVpnUserRequestBodyContent) String added in v0.1.106

type CreateVpnUserResponse added in v0.1.106

type CreateVpnUserResponse struct {
	User *CreateVpnUserResponseBodyUser `json:"user,omitempty"`

	// 请求ID
	RequestId *string `json:"request_id,omitempty"`

	HeaderResponseToken *string `json:"header-response-token,omitempty"`
	HttpStatusCode      int     `json:"-"`
}

CreateVpnUserResponse Response Object

func (CreateVpnUserResponse) String added in v0.1.106

func (o CreateVpnUserResponse) String() string

type CreateVpnUserResponseBodyUser added in v0.1.106

type CreateVpnUserResponseBodyUser struct {

	// VPN用户ID
	Id *string `json:"id,omitempty"`
}

func (CreateVpnUserResponseBodyUser) String added in v0.1.106

type DeleteCgwRequest

type DeleteCgwRequest struct {

	// 对端网关ID
	CustomerGatewayId string `json:"customer_gateway_id"`
}

DeleteCgwRequest Request Object

func (DeleteCgwRequest) String

func (o DeleteCgwRequest) String() string

type DeleteCgwResponse

type DeleteCgwResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteCgwResponse Response Object

func (DeleteCgwResponse) String

func (o DeleteCgwResponse) String() string

type DeleteClientCaRequest added in v0.1.106

type DeleteClientCaRequest struct {

	// VPN服务端 ID
	VpnServerId string `json:"vpn_server_id"`

	// 客户端 CA 证书 ID
	ClientCaCertificateId string `json:"client_ca_certificate_id"`
}

DeleteClientCaRequest Request Object

func (DeleteClientCaRequest) String added in v0.1.106

func (o DeleteClientCaRequest) String() string

type DeleteClientCaResponse added in v0.1.106

type DeleteClientCaResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteClientCaResponse Response Object

func (DeleteClientCaResponse) String added in v0.1.106

func (o DeleteClientCaResponse) String() string

type DeleteConnectionMonitorRequest

type DeleteConnectionMonitorRequest struct {

	// VPN连接监控的ID
	ConnectionMonitorId string `json:"connection_monitor_id"`
}

DeleteConnectionMonitorRequest Request Object

func (DeleteConnectionMonitorRequest) String

type DeleteConnectionMonitorResponse

type DeleteConnectionMonitorResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteConnectionMonitorResponse Response Object

func (DeleteConnectionMonitorResponse) String

type DeleteResourcesTagsRequestBody added in v0.1.78

type DeleteResourcesTagsRequestBody struct {
	Tags []ResourceTag `json:"tags"`
}

func (DeleteResourcesTagsRequestBody) String added in v0.1.78

type DeleteVgwRequest

type DeleteVgwRequest struct {

	// VPN网关实例ID
	VgwId string `json:"vgw_id"`
}

DeleteVgwRequest Request Object

func (DeleteVgwRequest) String

func (o DeleteVgwRequest) String() string

type DeleteVgwResponse

type DeleteVgwResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteVgwResponse Response Object

func (DeleteVgwResponse) String

func (o DeleteVgwResponse) String() string

type DeleteVpnAccessPolicyRequest added in v0.1.106

type DeleteVpnAccessPolicyRequest struct {

	// VPN服务端 ID
	VpnServerId string `json:"vpn_server_id"`

	// VPN访问策略ID
	PolicyId string `json:"policy_id"`
}

DeleteVpnAccessPolicyRequest Request Object

func (DeleteVpnAccessPolicyRequest) String added in v0.1.106

type DeleteVpnAccessPolicyResponse added in v0.1.106

type DeleteVpnAccessPolicyResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteVpnAccessPolicyResponse Response Object

func (DeleteVpnAccessPolicyResponse) String added in v0.1.106

type DeleteVpnConnectionRequest

type DeleteVpnConnectionRequest struct {

	// vpn连接ID
	VpnConnectionId string `json:"vpn_connection_id"`
}

DeleteVpnConnectionRequest Request Object

func (DeleteVpnConnectionRequest) String

type DeleteVpnConnectionResponse

type DeleteVpnConnectionResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteVpnConnectionResponse Response Object

func (DeleteVpnConnectionResponse) String

type DeleteVpnUserGroupRequest added in v0.1.106

type DeleteVpnUserGroupRequest struct {

	// VPN服务端 ID
	VpnServerId string `json:"vpn_server_id"`

	// 用户组ID
	GroupId string `json:"group_id"`
}

DeleteVpnUserGroupRequest Request Object

func (DeleteVpnUserGroupRequest) String added in v0.1.106

func (o DeleteVpnUserGroupRequest) String() string

type DeleteVpnUserGroupResponse added in v0.1.106

type DeleteVpnUserGroupResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteVpnUserGroupResponse Response Object

func (DeleteVpnUserGroupResponse) String added in v0.1.106

type DeleteVpnUserRequest added in v0.1.106

type DeleteVpnUserRequest struct {

	// VPN服务端 ID
	VpnServerId string `json:"vpn_server_id"`

	// 用户ID
	UserId string `json:"user_id"`
}

DeleteVpnUserRequest Request Object

func (DeleteVpnUserRequest) String added in v0.1.106

func (o DeleteVpnUserRequest) String() string

type DeleteVpnUserResponse added in v0.1.106

type DeleteVpnUserResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteVpnUserResponse Response Object

func (DeleteVpnUserResponse) String added in v0.1.106

func (o DeleteVpnUserResponse) String() string

type Dpd

type Dpd struct {

	// 对等体存活检测空闲时间
	Interval *int32 `json:"interval,omitempty"`

	// 对等体存活检测报文重传间隔
	Timeout *int32 `json:"timeout,omitempty"`

	// 对等体存活检测报文格式
	Msg *DpdMsg `json:"msg,omitempty"`
}

func (Dpd) String

func (o Dpd) String() string

type DpdMsg

type DpdMsg struct {
	// contains filtered or unexported fields
}

func (DpdMsg) MarshalJSON

func (c DpdMsg) MarshalJSON() ([]byte, error)

func (*DpdMsg) UnmarshalJSON

func (c *DpdMsg) UnmarshalJSON(b []byte) error

func (DpdMsg) Value

func (c DpdMsg) Value() string

type DpdMsgEnum

type DpdMsgEnum struct {
	SEQ_HASH_NOTIFY DpdMsg
	SEQ_NOTIFY_HASH DpdMsg
}

func GetDpdMsgEnum

func GetDpdMsgEnum() DpdMsgEnum

type ExportClientConfigRequest added in v0.1.106

type ExportClientConfigRequest struct {

	// VPN服务端 ID
	VpnServerId string `json:"vpn_server_id"`
}

ExportClientConfigRequest Request Object

func (ExportClientConfigRequest) String added in v0.1.106

func (o ExportClientConfigRequest) String() string

type ExportClientConfigResponse added in v0.1.106

type ExportClientConfigResponse struct {

	// 客户端配置
	ClientConfig *string `json:"client_config,omitempty"`

	HeaderResponseToken *string `json:"header-response-token,omitempty"`
	HttpStatusCode      int     `json:"-"`
}

ExportClientConfigResponse Response Object

func (ExportClientConfigResponse) String added in v0.1.106

type IkePolicy

type IkePolicy struct {

	// IKE协商版本
	IkeVersion *IkePolicyIkeVersion `json:"ike_version,omitempty"`

	// 协商模式,ike版本为v1时生效
	Phase1NegotiationMode *IkePolicyPhase1NegotiationMode `json:"phase1_negotiation_mode,omitempty"`

	// 认证算法,SHA1和MD5安全性较低,请慎用
	AuthenticationAlgorithm *IkePolicyAuthenticationAlgorithm `json:"authentication_algorithm,omitempty"`

	// 加密算法,3DES安全性较低,请慎用
	EncryptionAlgorithm *IkePolicyEncryptionAlgorithm `json:"encryption_algorithm,omitempty"`

	// DH密钥组
	DhGroup *string `json:"dh_group,omitempty"`

	// ike协商时的认证方法
	AuthenticationMethod *IkePolicyAuthenticationMethod `json:"authentication_method,omitempty"`

	// 表示SA的生存周期,当该生存周期超时后IKE SA将自动更新
	LifetimeSeconds *int32 `json:"lifetime_seconds,omitempty"`

	// 本端ID类型
	LocalIdType *IkePolicyLocalIdType `json:"local_id_type,omitempty"`

	// 本端ID
	LocalId *string `json:"local_id,omitempty"`

	// 对端ID类型
	PeerIdType *IkePolicyPeerIdType `json:"peer_id_type,omitempty"`

	// 对端ID
	PeerId *string `json:"peer_id,omitempty"`

	Dpd *Dpd `json:"dpd,omitempty"`
}

func (IkePolicy) String

func (o IkePolicy) String() string

type IkePolicyAuthenticationAlgorithm

type IkePolicyAuthenticationAlgorithm struct {
	// contains filtered or unexported fields
}

func (IkePolicyAuthenticationAlgorithm) MarshalJSON

func (c IkePolicyAuthenticationAlgorithm) MarshalJSON() ([]byte, error)

func (*IkePolicyAuthenticationAlgorithm) UnmarshalJSON

func (c *IkePolicyAuthenticationAlgorithm) UnmarshalJSON(b []byte) error

func (IkePolicyAuthenticationAlgorithm) Value

type IkePolicyAuthenticationMethod

type IkePolicyAuthenticationMethod struct {
	// contains filtered or unexported fields
}

func (IkePolicyAuthenticationMethod) MarshalJSON

func (c IkePolicyAuthenticationMethod) MarshalJSON() ([]byte, error)

func (*IkePolicyAuthenticationMethod) UnmarshalJSON

func (c *IkePolicyAuthenticationMethod) UnmarshalJSON(b []byte) error

func (IkePolicyAuthenticationMethod) Value

type IkePolicyAuthenticationMethodEnum

type IkePolicyAuthenticationMethodEnum struct {
	PRE_SHARE           IkePolicyAuthenticationMethod
	DIGITAL_ENVELOPE_V2 IkePolicyAuthenticationMethod
}

func GetIkePolicyAuthenticationMethodEnum

func GetIkePolicyAuthenticationMethodEnum() IkePolicyAuthenticationMethodEnum

type IkePolicyEncryptionAlgorithm

type IkePolicyEncryptionAlgorithm struct {
	// contains filtered or unexported fields
}

func (IkePolicyEncryptionAlgorithm) MarshalJSON

func (c IkePolicyEncryptionAlgorithm) MarshalJSON() ([]byte, error)

func (*IkePolicyEncryptionAlgorithm) UnmarshalJSON

func (c *IkePolicyEncryptionAlgorithm) UnmarshalJSON(b []byte) error

func (IkePolicyEncryptionAlgorithm) Value

type IkePolicyIkeVersion

type IkePolicyIkeVersion struct {
	// contains filtered or unexported fields
}

func (IkePolicyIkeVersion) MarshalJSON

func (c IkePolicyIkeVersion) MarshalJSON() ([]byte, error)

func (*IkePolicyIkeVersion) UnmarshalJSON

func (c *IkePolicyIkeVersion) UnmarshalJSON(b []byte) error

func (IkePolicyIkeVersion) Value

func (c IkePolicyIkeVersion) Value() string

type IkePolicyIkeVersionEnum

type IkePolicyIkeVersionEnum struct {
	V1 IkePolicyIkeVersion
	V2 IkePolicyIkeVersion
}

func GetIkePolicyIkeVersionEnum

func GetIkePolicyIkeVersionEnum() IkePolicyIkeVersionEnum

type IkePolicyLocalIdType

type IkePolicyLocalIdType struct {
	// contains filtered or unexported fields
}

func (IkePolicyLocalIdType) MarshalJSON

func (c IkePolicyLocalIdType) MarshalJSON() ([]byte, error)

func (*IkePolicyLocalIdType) UnmarshalJSON

func (c *IkePolicyLocalIdType) UnmarshalJSON(b []byte) error

func (IkePolicyLocalIdType) Value

func (c IkePolicyLocalIdType) Value() string

type IkePolicyLocalIdTypeEnum

type IkePolicyLocalIdTypeEnum struct {
	IP   IkePolicyLocalIdType
	FQDN IkePolicyLocalIdType
}

func GetIkePolicyLocalIdTypeEnum

func GetIkePolicyLocalIdTypeEnum() IkePolicyLocalIdTypeEnum

type IkePolicyPeerIdType

type IkePolicyPeerIdType struct {
	// contains filtered or unexported fields
}

func (IkePolicyPeerIdType) MarshalJSON

func (c IkePolicyPeerIdType) MarshalJSON() ([]byte, error)

func (*IkePolicyPeerIdType) UnmarshalJSON

func (c *IkePolicyPeerIdType) UnmarshalJSON(b []byte) error

func (IkePolicyPeerIdType) Value

func (c IkePolicyPeerIdType) Value() string

type IkePolicyPeerIdTypeEnum

type IkePolicyPeerIdTypeEnum struct {
	IP   IkePolicyPeerIdType
	FQDN IkePolicyPeerIdType
}

func GetIkePolicyPeerIdTypeEnum

func GetIkePolicyPeerIdTypeEnum() IkePolicyPeerIdTypeEnum

type IkePolicyPhase1NegotiationMode

type IkePolicyPhase1NegotiationMode struct {
	// contains filtered or unexported fields
}

func (IkePolicyPhase1NegotiationMode) MarshalJSON

func (c IkePolicyPhase1NegotiationMode) MarshalJSON() ([]byte, error)

func (*IkePolicyPhase1NegotiationMode) UnmarshalJSON

func (c *IkePolicyPhase1NegotiationMode) UnmarshalJSON(b []byte) error

func (IkePolicyPhase1NegotiationMode) Value

type IkePolicyPhase1NegotiationModeEnum

type IkePolicyPhase1NegotiationModeEnum struct {
	MAIN       IkePolicyPhase1NegotiationMode
	AGGRESSIVE IkePolicyPhase1NegotiationMode
}

func GetIkePolicyPhase1NegotiationModeEnum

func GetIkePolicyPhase1NegotiationModeEnum() IkePolicyPhase1NegotiationModeEnum

type ImportClientCaCertificateRequestBody added in v0.1.106

type ImportClientCaCertificateRequestBody struct {
	ClientCaCertificate *ImportClientCaCertificateRequestBodyClientCaCertificate `json:"client_ca_certificate,omitempty"`
}

func (ImportClientCaCertificateRequestBody) String added in v0.1.106

type ImportClientCaCertificateRequestBodyClientCaCertificate added in v0.1.106

type ImportClientCaCertificateRequestBodyClientCaCertificate struct {

	// 证书名
	Name *string `json:"name,omitempty"`

	// 内容
	Content string `json:"content"`
}

func (ImportClientCaCertificateRequestBodyClientCaCertificate) String added in v0.1.106

type ImportClientCaCertificateResponseBodyClientCaCertificate added in v0.1.106

type ImportClientCaCertificateResponseBodyClientCaCertificate struct {

	// ID
	Id *string `json:"id,omitempty"`
}

func (ImportClientCaCertificateResponseBodyClientCaCertificate) String added in v0.1.106

type ImportClientCaRequest added in v0.1.106

type ImportClientCaRequest struct {

	// VPN服务端 ID
	VpnServerId string `json:"vpn_server_id"`

	// 幂等性标识
	XClientToken *string `json:"X-Client-Token,omitempty"`

	Body *ImportClientCaCertificateRequestBody `json:"body,omitempty"`
}

ImportClientCaRequest Request Object

func (ImportClientCaRequest) String added in v0.1.106

func (o ImportClientCaRequest) String() string

type ImportClientCaResponse added in v0.1.106

type ImportClientCaResponse struct {
	ClientCaCertificate *ImportClientCaCertificateResponseBodyClientCaCertificate `json:"client_ca_certificate,omitempty"`

	// 请求id
	RequestId *string `json:"request_id,omitempty"`

	HeaderResponseToken *string `json:"header-response-token,omitempty"`
	HttpStatusCode      int     `json:"-"`
}

ImportClientCaResponse Response Object

func (ImportClientCaResponse) String added in v0.1.106

func (o ImportClientCaResponse) String() string

type IpsecPolicy

type IpsecPolicy struct {

	// 认证算法,SHA1和MD5安全性较低,请慎用
	AuthenticationAlgorithm *IpsecPolicyAuthenticationAlgorithm `json:"authentication_algorithm,omitempty"`

	// 加密算法,3DES安全性较低,请慎用
	EncryptionAlgorithm *IpsecPolicyEncryptionAlgorithm `json:"encryption_algorithm,omitempty"`

	// PFS使用的DH密钥组
	Pfs *string `json:"pfs,omitempty"`

	// 传输模式
	TransformProtocol *IpsecPolicyTransformProtocol `json:"transform_protocol,omitempty"`

	// 表示配置IPSec连接建立的隧道以时间为基准的生存周期
	LifetimeSeconds *int32 `json:"lifetime_seconds,omitempty"`

	// 封装模式,当前只有tunnel模式
	EncapsulationMode *IpsecPolicyEncapsulationMode `json:"encapsulation_mode,omitempty"`
}

func (IpsecPolicy) String

func (o IpsecPolicy) String() string

type IpsecPolicyAuthenticationAlgorithm

type IpsecPolicyAuthenticationAlgorithm struct {
	// contains filtered or unexported fields
}

func (IpsecPolicyAuthenticationAlgorithm) MarshalJSON

func (c IpsecPolicyAuthenticationAlgorithm) MarshalJSON() ([]byte, error)

func (*IpsecPolicyAuthenticationAlgorithm) UnmarshalJSON

func (c *IpsecPolicyAuthenticationAlgorithm) UnmarshalJSON(b []byte) error

func (IpsecPolicyAuthenticationAlgorithm) Value

type IpsecPolicyEncapsulationMode

type IpsecPolicyEncapsulationMode struct {
	// contains filtered or unexported fields
}

func (IpsecPolicyEncapsulationMode) MarshalJSON

func (c IpsecPolicyEncapsulationMode) MarshalJSON() ([]byte, error)

func (*IpsecPolicyEncapsulationMode) UnmarshalJSON

func (c *IpsecPolicyEncapsulationMode) UnmarshalJSON(b []byte) error

func (IpsecPolicyEncapsulationMode) Value

type IpsecPolicyEncapsulationModeEnum

type IpsecPolicyEncapsulationModeEnum struct {
	TUNNEL IpsecPolicyEncapsulationMode
}

func GetIpsecPolicyEncapsulationModeEnum

func GetIpsecPolicyEncapsulationModeEnum() IpsecPolicyEncapsulationModeEnum

type IpsecPolicyEncryptionAlgorithm

type IpsecPolicyEncryptionAlgorithm struct {
	// contains filtered or unexported fields
}

func (IpsecPolicyEncryptionAlgorithm) MarshalJSON

func (c IpsecPolicyEncryptionAlgorithm) MarshalJSON() ([]byte, error)

func (*IpsecPolicyEncryptionAlgorithm) UnmarshalJSON

func (c *IpsecPolicyEncryptionAlgorithm) UnmarshalJSON(b []byte) error

func (IpsecPolicyEncryptionAlgorithm) Value

type IpsecPolicyTransformProtocol

type IpsecPolicyTransformProtocol struct {
	// contains filtered or unexported fields
}

func (IpsecPolicyTransformProtocol) MarshalJSON

func (c IpsecPolicyTransformProtocol) MarshalJSON() ([]byte, error)

func (*IpsecPolicyTransformProtocol) UnmarshalJSON

func (c *IpsecPolicyTransformProtocol) UnmarshalJSON(b []byte) error

func (IpsecPolicyTransformProtocol) Value

type IpsecPolicyTransformProtocolEnum

type IpsecPolicyTransformProtocolEnum struct {
	ESP IpsecPolicyTransformProtocol
}

func GetIpsecPolicyTransformProtocolEnum

func GetIpsecPolicyTransformProtocolEnum() IpsecPolicyTransformProtocolEnum

type ListAvailabilityZonesRequest

type ListAvailabilityZonesRequest struct {
}

ListAvailabilityZonesRequest Request Object

func (ListAvailabilityZonesRequest) String

type ListAvailabilityZonesResponse

type ListAvailabilityZonesResponse struct {
	AvailabilityZones *AvailabilityZones `json:"availability_zones,omitempty"`

	// 请求id
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListAvailabilityZonesResponse Response Object

func (ListAvailabilityZonesResponse) String

type ListCgwsRequest

type ListCgwsRequest struct {

	// CustomerGateway ID
	CgwId *string `json:"cgw_id,omitempty"`

	// 分页查询时每页返回的记录数量
	Limit *int32 `json:"limit,omitempty"`

	// 上一页最后一条记录的id,为空时为查询第一页。使用说明:必须与limit一起使用。
	Marker *string `json:"marker,omitempty"`
}

ListCgwsRequest Request Object

func (ListCgwsRequest) String

func (o ListCgwsRequest) String() string

type ListCgwsResponse

type ListCgwsResponse struct {

	// 对端网关信息
	CustomerGateways *[]ResponseCustomerGateway `json:"customer_gateways,omitempty"`

	// 租户下对端网关总数
	TotalCount *int64 `json:"total_count,omitempty"`

	PageInfo *PageInfo `json:"page_info,omitempty"`

	// 请求id
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListCgwsResponse Response Object

func (ListCgwsResponse) String

func (o ListCgwsResponse) String() string

type ListConnectionMonitorsRequest

type ListConnectionMonitorsRequest struct {

	// VPN连接Id
	VpnConnectionId *string `json:"vpn_connection_id,omitempty"`

	// 企业项目id
	EnterpriseProjectId *[]string `json:"enterprise_project_id,omitempty"`
}

ListConnectionMonitorsRequest Request Object

func (ListConnectionMonitorsRequest) String

type ListConnectionMonitorsResponse

type ListConnectionMonitorsResponse struct {
	ConnectionMonitors *[]ConnectionMonitorInfo `json:"connection_monitors,omitempty"`

	// 请求id
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListConnectionMonitorsResponse Response Object

func (ListConnectionMonitorsResponse) String

type ListP2cVgwAvailabilityZonesRequest added in v0.1.106

type ListP2cVgwAvailabilityZonesRequest struct {

	// flavor规格
	Flavor *ListP2cVgwAvailabilityZonesRequestFlavor `json:"flavor,omitempty"`
}

ListP2cVgwAvailabilityZonesRequest Request Object

func (ListP2cVgwAvailabilityZonesRequest) String added in v0.1.106

type ListP2cVgwAvailabilityZonesRequestFlavor added in v0.1.106

type ListP2cVgwAvailabilityZonesRequestFlavor struct {
	// contains filtered or unexported fields
}

func (ListP2cVgwAvailabilityZonesRequestFlavor) MarshalJSON added in v0.1.106

func (*ListP2cVgwAvailabilityZonesRequestFlavor) UnmarshalJSON added in v0.1.106

func (c *ListP2cVgwAvailabilityZonesRequestFlavor) UnmarshalJSON(b []byte) error

func (ListP2cVgwAvailabilityZonesRequestFlavor) Value added in v0.1.106

type ListP2cVgwAvailabilityZonesRequestFlavorEnum added in v0.1.106

type ListP2cVgwAvailabilityZonesRequestFlavorEnum struct {
	PROFESSIONAL1 ListP2cVgwAvailabilityZonesRequestFlavor
}

func GetListP2cVgwAvailabilityZonesRequestFlavorEnum added in v0.1.106

func GetListP2cVgwAvailabilityZonesRequestFlavorEnum() ListP2cVgwAvailabilityZonesRequestFlavorEnum

type ListP2cVgwAvailabilityZonesResponse added in v0.1.106

type ListP2cVgwAvailabilityZonesResponse struct {

	// 可用区列表
	AvailabilityZones *[]string `json:"availability_zones,omitempty"`

	// 请求id
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListP2cVgwAvailabilityZonesResponse Response Object

func (ListP2cVgwAvailabilityZonesResponse) String added in v0.1.106

type ListP2cVgwConnectionsRequest added in v0.1.106

type ListP2cVgwConnectionsRequest struct {

	// P2C VPN网关实例ID
	P2cVgwId string `json:"p2c_vgw_id"`

	// 分页查询时每页返回的记录数量
	Limit *int32 `json:"limit,omitempty"`

	// 分页查询的偏移量
	Offset *int32 `json:"offset,omitempty"`
}

ListP2cVgwConnectionsRequest Request Object

func (ListP2cVgwConnectionsRequest) String added in v0.1.106

type ListP2cVgwConnectionsResponse added in v0.1.106

type ListP2cVgwConnectionsResponse struct {
	Connections *[]Connection `json:"connections,omitempty"`

	// 总计数量
	TotalCount *int64 `json:"total_count,omitempty"`

	// 请求ID
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListP2cVgwConnectionsResponse Response Object

func (ListP2cVgwConnectionsResponse) String added in v0.1.106

type ListP2cVgwsRequest added in v0.1.106

type ListP2cVgwsRequest struct {
}

ListP2cVgwsRequest Request Object

func (ListP2cVgwsRequest) String added in v0.1.106

func (o ListP2cVgwsRequest) String() string

type ListP2cVgwsResponse added in v0.1.106

type ListP2cVgwsResponse struct {

	// 网关信息
	P2cVpnGateways *[]ShowResponseP2cVgw `json:"p2c_vpn_gateways,omitempty"`

	// 请求ID
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListP2cVgwsResponse Response Object

func (ListP2cVgwsResponse) String added in v0.1.106

func (o ListP2cVgwsResponse) String() string

type ListProjectTagsRequest added in v0.1.78

type ListProjectTagsRequest struct {

	// 内容类型
	ContentType string `json:"Content-Type"`

	// 资源类型
	ResourceType ListProjectTagsRequestResourceType `json:"resource_type"`
}

ListProjectTagsRequest Request Object

func (ListProjectTagsRequest) String added in v0.1.78

func (o ListProjectTagsRequest) String() string

type ListProjectTagsRequestResourceType added in v0.1.78

type ListProjectTagsRequestResourceType struct {
	// contains filtered or unexported fields
}

func (ListProjectTagsRequestResourceType) MarshalJSON added in v0.1.78

func (c ListProjectTagsRequestResourceType) MarshalJSON() ([]byte, error)

func (*ListProjectTagsRequestResourceType) UnmarshalJSON added in v0.1.78

func (c *ListProjectTagsRequestResourceType) UnmarshalJSON(b []byte) error

func (ListProjectTagsRequestResourceType) Value added in v0.1.78

type ListProjectTagsRequestResourceTypeEnum added in v0.1.78

type ListProjectTagsRequestResourceTypeEnum struct {
	VPN_GATEWAY      ListProjectTagsRequestResourceType
	VPN_CONNECTION   ListProjectTagsRequestResourceType
	CUSTOMER_GATEWAY ListProjectTagsRequestResourceType
	P2C_VPN_GATEWAYS ListProjectTagsRequestResourceType
}

func GetListProjectTagsRequestResourceTypeEnum added in v0.1.78

func GetListProjectTagsRequestResourceTypeEnum() ListProjectTagsRequestResourceTypeEnum

type ListProjectTagsResponse added in v0.1.78

type ListProjectTagsResponse struct {
	Tags           *[]Tag `json:"tags,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListProjectTagsResponse Response Object

func (ListProjectTagsResponse) String added in v0.1.78

func (o ListProjectTagsResponse) String() string

type ListResourcesByTagsRequest added in v0.1.78

type ListResourcesByTagsRequest struct {

	// 内容类型
	ContentType string `json:"Content-Type"`

	// 资源类型
	ResourceType ListResourcesByTagsRequestResourceType `json:"resource_type"`

	// limit
	Limit *string `json:"limit,omitempty"`

	// offset
	Offset *string `json:"offset,omitempty"`

	Body *QueryResourcesRequestBody `json:"body,omitempty"`
}

ListResourcesByTagsRequest Request Object

func (ListResourcesByTagsRequest) String added in v0.1.78

type ListResourcesByTagsRequestResourceType added in v0.1.78

type ListResourcesByTagsRequestResourceType struct {
	// contains filtered or unexported fields
}

func (ListResourcesByTagsRequestResourceType) MarshalJSON added in v0.1.78

func (c ListResourcesByTagsRequestResourceType) MarshalJSON() ([]byte, error)

func (*ListResourcesByTagsRequestResourceType) UnmarshalJSON added in v0.1.78

func (c *ListResourcesByTagsRequestResourceType) UnmarshalJSON(b []byte) error

func (ListResourcesByTagsRequestResourceType) Value added in v0.1.78

type ListResourcesByTagsRequestResourceTypeEnum added in v0.1.78

type ListResourcesByTagsRequestResourceTypeEnum struct {
	VPN_GATEWAY      ListResourcesByTagsRequestResourceType
	VPN_CONNECTION   ListResourcesByTagsRequestResourceType
	CUSTOMER_GATEWAY ListResourcesByTagsRequestResourceType
	P2C_VPN_GATEWAYS ListResourcesByTagsRequestResourceType
}

func GetListResourcesByTagsRequestResourceTypeEnum added in v0.1.78

func GetListResourcesByTagsRequestResourceTypeEnum() ListResourcesByTagsRequestResourceTypeEnum

type ListResourcesByTagsResponse added in v0.1.78

type ListResourcesByTagsResponse struct {
	Resources *[]Resource `json:"resources,omitempty"`

	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListResourcesByTagsResponse Response Object

func (ListResourcesByTagsResponse) String added in v0.1.78

type ListVgwsRequest

type ListVgwsRequest struct {

	// vgw ID
	VgwId *string `json:"vgw_id,omitempty"`

	// 企业项目id
	EnterpriseProjectId *[]string `json:"enterprise_project_id,omitempty"`
}

ListVgwsRequest Request Object

func (ListVgwsRequest) String

func (o ListVgwsRequest) String() string

type ListVgwsResponse

type ListVgwsResponse struct {

	// 网关信息
	VpnGateways *[]ResponseVpnGateway `json:"vpn_gateways,omitempty"`

	// 请求ID
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListVgwsResponse Response Object

func (ListVgwsResponse) String

func (o ListVgwsResponse) String() string

type ListVpnAccessPoliciesRequest added in v0.1.106

type ListVpnAccessPoliciesRequest struct {

	// VPN服务端 ID
	VpnServerId string `json:"vpn_server_id"`

	// 分页查询时每页返回的记录数量
	Limit *int32 `json:"limit,omitempty"`

	// 上一页最后一条记录的id,为空时为查询第一页。使用说明:必须与limit一起使用。
	Marker *string `json:"marker,omitempty"`
}

ListVpnAccessPoliciesRequest Request Object

func (ListVpnAccessPoliciesRequest) String added in v0.1.106

type ListVpnAccessPoliciesResponse added in v0.1.106

type ListVpnAccessPoliciesResponse struct {

	// 访问资源策略信息
	AccessPolicies *[]VpnAccessPolicy `json:"access_policies,omitempty"`

	// 总数
	TotalCount *int32 `json:"total_count,omitempty"`

	PageInfo *PageInfo `json:"page_info,omitempty"`

	// 请求ID
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListVpnAccessPoliciesResponse Response Object

func (ListVpnAccessPoliciesResponse) String added in v0.1.106

type ListVpnConnectionsRequest

type ListVpnConnectionsRequest struct {

	// VPN ID
	VpnId *string `json:"vpn_id,omitempty"`

	// Eip ID
	EipId *string `json:"eip_id,omitempty"`

	// VGW IP
	VgwIp *string `json:"vgw_ip,omitempty"`

	// vgw ID
	VgwId *string `json:"vgw_id,omitempty"`

	// 企业项目id
	EnterpriseProjectId *[]string `json:"enterprise_project_id,omitempty"`

	// 分页查询时每页返回的记录数量
	Limit *int32 `json:"limit,omitempty"`

	// 上一页最后一条记录的id,为空时为查询第一页。使用说明:必须与limit一起使用。
	Marker *string `json:"marker,omitempty"`
}

ListVpnConnectionsRequest Request Object

func (ListVpnConnectionsRequest) String

func (o ListVpnConnectionsRequest) String() string

type ListVpnConnectionsResponse

type ListVpnConnectionsResponse struct {
	VpnConnections *[]ResponseVpnConnection `json:"vpn_connections,omitempty"`

	PageInfo *PageInfo `json:"page_info,omitempty"`

	// 请求ID
	RequestId *string `json:"request_id,omitempty"`

	// 租户下连接总数
	TotalCount *int64 `json:"total_count,omitempty"`

	HeaderResponseToken *string `json:"header-response-token,omitempty"`
	HttpStatusCode      int     `json:"-"`
}

ListVpnConnectionsResponse Response Object

func (ListVpnConnectionsResponse) String

type ListVpnServersByProjectRequest added in v0.1.106

type ListVpnServersByProjectRequest struct {
}

ListVpnServersByProjectRequest Request Object

func (ListVpnServersByProjectRequest) String added in v0.1.106

type ListVpnServersByProjectResponse added in v0.1.106

type ListVpnServersByProjectResponse struct {
	VpnServers *[]ShowServerResponse `json:"vpn_servers,omitempty"`

	// 请求id
	RequestId *string `json:"request_id,omitempty"`

	HeaderResponseToken *string `json:"header-response-token,omitempty"`
	HttpStatusCode      int     `json:"-"`
}

ListVpnServersByProjectResponse Response Object

func (ListVpnServersByProjectResponse) String added in v0.1.106

type ListVpnServersByVgwRequest added in v0.1.106

type ListVpnServersByVgwRequest struct {

	// P2C VPN网关实例ID
	P2cVgwId string `json:"p2c_vgw_id"`
}

ListVpnServersByVgwRequest Request Object

func (ListVpnServersByVgwRequest) String added in v0.1.106

type ListVpnServersByVgwResponse added in v0.1.106

type ListVpnServersByVgwResponse struct {
	VpnServers *[]ShowServerResponse `json:"vpn_servers,omitempty"`

	// 请求id
	RequestId *string `json:"request_id,omitempty"`

	HeaderResponseToken *string `json:"header-response-token,omitempty"`
	HttpStatusCode      int     `json:"-"`
}

ListVpnServersByVgwResponse Response Object

func (ListVpnServersByVgwResponse) String added in v0.1.106

type ListVpnUserGroupsRequest added in v0.1.106

type ListVpnUserGroupsRequest struct {

	// VPN服务端 ID
	VpnServerId string `json:"vpn_server_id"`

	// 分页查询时每页返回的记录数量
	Limit *int32 `json:"limit,omitempty"`

	// 上一页最后一条记录的id,为空时为查询第一页。使用说明:必须与limit一起使用。
	Marker *string `json:"marker,omitempty"`
}

ListVpnUserGroupsRequest Request Object

func (ListVpnUserGroupsRequest) String added in v0.1.106

func (o ListVpnUserGroupsRequest) String() string

type ListVpnUserGroupsResponse added in v0.1.106

type ListVpnUserGroupsResponse struct {

	// 用户组列表信息
	UserGroups *[]VpnUserGroup `json:"user_groups,omitempty"`

	// 总数
	TotalCount *int32 `json:"total_count,omitempty"`

	PageInfo *PageInfo `json:"page_info,omitempty"`

	// 请求ID
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListVpnUserGroupsResponse Response Object

func (ListVpnUserGroupsResponse) String added in v0.1.106

func (o ListVpnUserGroupsResponse) String() string

type ListVpnUsersInGroupRequest added in v0.1.106

type ListVpnUsersInGroupRequest struct {

	// VPN服务端 ID
	VpnServerId string `json:"vpn_server_id"`

	// 用户组ID
	GroupId string `json:"group_id"`

	// 分页查询时每页返回的记录数量
	Limit *int32 `json:"limit,omitempty"`

	// 上一页最后一条记录的id,为空时为查询第一页。使用说明:必须与limit一起使用。
	Marker *string `json:"marker,omitempty"`
}

ListVpnUsersInGroupRequest Request Object

func (ListVpnUsersInGroupRequest) String added in v0.1.106

type ListVpnUsersInGroupResponse added in v0.1.106

type ListVpnUsersInGroupResponse struct {

	// 用户列表信息
	Users *[]VpnUserInGroup `json:"users,omitempty"`

	// 总数
	TotalCount *int32 `json:"total_count,omitempty"`

	PageInfo *PageInfo `json:"page_info,omitempty"`

	// 请求ID
	RequestId *string `json:"request_id,omitempty"`

	HeaderResponseToken *string `json:"header-response-token,omitempty"`
	HttpStatusCode      int     `json:"-"`
}

ListVpnUsersInGroupResponse Response Object

func (ListVpnUsersInGroupResponse) String added in v0.1.106

type ListVpnUsersRequest added in v0.1.106

type ListVpnUsersRequest struct {

	// VPN服务端 ID
	VpnServerId string `json:"vpn_server_id"`

	// 分页查询时每页返回的记录数量
	Limit *int32 `json:"limit,omitempty"`

	// 上一页最后一条记录的id,为空时为查询第一页。使用说明:必须与limit一起使用。
	Marker *string `json:"marker,omitempty"`
}

ListVpnUsersRequest Request Object

func (ListVpnUsersRequest) String added in v0.1.106

func (o ListVpnUsersRequest) String() string

type ListVpnUsersResponse added in v0.1.106

type ListVpnUsersResponse struct {

	// 用户列表信息
	Users *[]VpnUser `json:"users,omitempty"`

	// 总数
	TotalCount *int32 `json:"total_count,omitempty"`

	PageInfo *PageInfo `json:"page_info,omitempty"`

	// 请求ID
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListVpnUsersResponse Response Object

func (ListVpnUsersResponse) String added in v0.1.106

func (o ListVpnUsersResponse) String() string

type Match added in v0.1.78

type Match struct {
	Key MatchKey `json:"key"`

	Value string `json:"value"`
}

func (Match) String added in v0.1.78

func (o Match) String() string

type MatchKey added in v0.1.78

type MatchKey struct {
	// contains filtered or unexported fields
}

func (MatchKey) MarshalJSON added in v0.1.78

func (c MatchKey) MarshalJSON() ([]byte, error)

func (*MatchKey) UnmarshalJSON added in v0.1.78

func (c *MatchKey) UnmarshalJSON(b []byte) error

func (MatchKey) Value added in v0.1.78

func (c MatchKey) Value() string

type MatchKeyEnum added in v0.1.78

type MatchKeyEnum struct {
	RESOURCE_NAME MatchKey
}

func GetMatchKeyEnum added in v0.1.78

func GetMatchKeyEnum() MatchKeyEnum

type OpVpnUser added in v0.1.106

type OpVpnUser struct {

	// 用户ID
	Id string `json:"id"`
}

func (OpVpnUser) String added in v0.1.106

func (o OpVpnUser) String() string

type PageInfo

type PageInfo struct {

	// 下一页的marker,值为上一次查询响应中最后一个资源的创建时间
	NextMarker *string `json:"next_marker,omitempty"`

	// 当前列表中资源数量
	CurrentCount *int32 `json:"current_count,omitempty"`
}

PageInfo 分页查询页的信息

func (PageInfo) String

func (o PageInfo) String() string

type PolicyRule

type PolicyRule struct {

	// 规则ID
	RuleIndex *int32 `json:"rule_index,omitempty"`

	// 源地址网段
	Source *string `json:"source,omitempty"`

	// 目的地址网段
	Destination *[]string `json:"destination,omitempty"`
}

func (PolicyRule) String

func (o PolicyRule) String() string

type PolicyTemplate added in v0.1.78

type PolicyTemplate struct {
	IkePolicy *VgwIkePolicy `json:"ike_policy,omitempty"`

	IpsecPolicy *VgwIpsecPolicy `json:"ipsec_policy,omitempty"`
}

func (PolicyTemplate) String added in v0.1.78

func (o PolicyTemplate) String() string

type QueryClientCaCertificateBody added in v0.1.106

type QueryClientCaCertificateBody struct {

	// ID
	Id *string `json:"id,omitempty"`

	// 证书名
	Name *string `json:"name,omitempty"`

	// 颁发者
	Issuer *string `json:"issuer,omitempty"`

	// 主体
	Subject *string `json:"subject,omitempty"`

	// 序列号
	SerialNumber *string `json:"serial_number,omitempty"`

	// 过期时间
	ExpirationTime *sdktime.SdkTime `json:"expiration_time,omitempty"`

	// 客户端 CA 证书签名算法
	SignatureAlgorithm *string `json:"signature_algorithm,omitempty"`

	// 创建时间
	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	// 更新时间
	UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"`
}

QueryClientCaCertificateBody 客户端CA证书

func (QueryClientCaCertificateBody) String added in v0.1.106

type QueryResourcesRequestBody added in v0.1.78

type QueryResourcesRequestBody struct {
	WithoutAnyTag *bool `json:"without_any_tag,omitempty"`

	Tags *[]Tag `json:"tags,omitempty"`

	Matches *[]Match `json:"matches,omitempty"`
}

func (QueryResourcesRequestBody) String added in v0.1.78

func (o QueryResourcesRequestBody) String() string

type QuotaInfo added in v0.1.81

type QuotaInfo struct {

	// 资源类型
	Type *string `json:"type,omitempty"`

	// 配额上限
	Quota *int32 `json:"quota,omitempty"`

	// 已使用数
	Used *int32 `json:"used,omitempty"`
}

func (QuotaInfo) String added in v0.1.81

func (o QuotaInfo) String() string

type Quotas

type Quotas struct {
	Resources *[]QuotaInfo `json:"resources,omitempty"`
}

func (Quotas) String

func (o Quotas) String() string

type RemoveVpnUserFromGroupRequestBody added in v0.1.106

type RemoveVpnUserFromGroupRequestBody struct {

	// 用户列表信息
	Users []OpVpnUser `json:"users"`
}

func (RemoveVpnUserFromGroupRequestBody) String added in v0.1.106

type RemoveVpnUsersFromGroupRequest added in v0.1.106

type RemoveVpnUsersFromGroupRequest struct {

	// VPN服务端 ID
	VpnServerId string `json:"vpn_server_id"`

	// 用户组ID
	GroupId string `json:"group_id"`

	Body *RemoveVpnUserFromGroupRequestBody `json:"body,omitempty"`
}

RemoveVpnUsersFromGroupRequest Request Object

func (RemoveVpnUsersFromGroupRequest) String added in v0.1.106

type RemoveVpnUsersFromGroupResponse added in v0.1.106

type RemoveVpnUsersFromGroupResponse struct {

	// 请求ID
	RequestId *string `json:"request_id,omitempty"`

	HeaderResponseToken *string `json:"header-response-token,omitempty"`
	HttpStatusCode      int     `json:"-"`
}

RemoveVpnUsersFromGroupResponse Response Object

func (RemoveVpnUsersFromGroupResponse) String added in v0.1.106

type ResetVpnUserPasswordRequest added in v0.1.106

type ResetVpnUserPasswordRequest struct {

	// VPN服务端 ID
	VpnServerId string `json:"vpn_server_id"`

	// 用户ID
	UserId string `json:"user_id"`

	Body *ResetVpnUserPasswordRequestBody `json:"body,omitempty"`
}

ResetVpnUserPasswordRequest Request Object

func (ResetVpnUserPasswordRequest) String added in v0.1.106

type ResetVpnUserPasswordRequestBody added in v0.1.106

type ResetVpnUserPasswordRequestBody struct {

	// 用户新密码
	NewPassword string `json:"new_password"`
}

func (ResetVpnUserPasswordRequestBody) String added in v0.1.106

type ResetVpnUserPasswordResponse added in v0.1.106

type ResetVpnUserPasswordResponse struct {

	// 请求ID
	RequestId *string `json:"request_id,omitempty"`

	HeaderResponseToken *string `json:"header-response-token,omitempty"`
	HttpStatusCode      int     `json:"-"`
}

ResetVpnUserPasswordResponse Response Object

func (ResetVpnUserPasswordResponse) String added in v0.1.106

type Resource added in v0.1.78

type Resource struct {
	ResourceId *string `json:"resource_id,omitempty"`

	ResourceDetail *interface{} `json:"resource_detail,omitempty"`

	Tags *[]ResourceTag `json:"tags,omitempty"`

	ResourceName *string `json:"resource_name,omitempty"`
}

func (Resource) String added in v0.1.78

func (o Resource) String() string

type ResourceTag added in v0.1.78

type ResourceTag struct {

	// 标签的key
	Key string `json:"key"`

	// 标签的value
	Value *string `json:"value,omitempty"`
}

func (ResourceTag) String added in v0.1.78

func (o ResourceTag) String() string

type ResponseCustomerGateway

type ResponseCustomerGateway struct {

	// 网关的ID
	Id *string `json:"id,omitempty"`

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

	// 网关的bgp asn号
	BgpAsn *int64 `json:"bgp_asn,omitempty"`

	// 对端网关标识类型
	IdType *string `json:"id_type,omitempty"`

	// 对端网关标识值
	IdValue *string `json:"id_value,omitempty"`

	CaCertificate *CaCertificate `json:"ca_certificate,omitempty"`

	// 创建时间
	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	// 更新时间
	UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"`

	// 标签
	Tags *[]VpnResourceTag `json:"tags,omitempty"`
}

func (ResponseCustomerGateway) String

func (o ResponseCustomerGateway) String() string

type ResponseEip

type ResponseEip struct {

	// 功能说明:公网IP的唯一标识
	Id *string `json:"id,omitempty"`

	// 功能说明: 公网IP版本号  取值范围:4
	IpVersion *int32 `json:"ip_version,omitempty"`

	// 功能说明:公网IP的订单信息 约束:包周期才会有订单信息,按需资源此字段为空
	IpBillingInfo *string `json:"ip_billing_info,omitempty"`

	// 功能说明:EIP的类型  取值范围:5_bgp(全动态BGP),5_sbgp(静态BGP)  华南-广州:5_bgp、5_sbgp  华东-上海一:5_bgp、5_sbgp  华东-上海二:5_bgp、5_sbgp  华北-北京一:5_bgp、5_sbgp  中国-香港:5_bgp  亚太-曼谷:5_bgp  亚太-新加坡:5_bgp  非洲-约翰内斯堡:5_bgp  西南-贵阳一:5_bgp、5_sbgp  华北-北京四:5_bgp、5_sbgp  拉美-圣地亚哥:5_bgp  拉美-圣保罗一:5_bgp  拉美-墨西哥城一:5_bgp  拉美-布宜诺斯艾利一:5_bgp  拉美-利马一:5_bgp  拉美-圣地亚哥二: 5_bgp 约束:必须是系统具体支持的类型。
	Type *string `json:"type,omitempty"`

	// 功能说明: 公网IPv4地址
	IpAddress *string `json:"ip_address,omitempty"`

	// 功能说明:按流量计费还是按带宽计费  取值范围:  bandwidth:按带宽计费  traffic:按流量计费  95peak_plus:按增强型95计费
	ChargeMode *ResponseEipChargeMode `json:"charge_mode,omitempty"`

	// 功能说明:带宽ID
	BandwidthId *string `json:"bandwidth_id,omitempty"`

	// 带宽大小Mbit/s,flavor为V300时,取值不能大于300,flavor为V1G时,取值不能大于1000
	BandwidthSize *int32 `json:"bandwidth_size,omitempty"`

	// 带宽名称
	BandwidthName *string `json:"bandwidth_name,omitempty"`

	// 带宽订单信息
	BandwidthBillingInfo *string `json:"bandwidth_billing_info,omitempty"`
}

func (ResponseEip) String

func (o ResponseEip) String() string

type ResponseEipChargeMode

type ResponseEipChargeMode struct {
	// contains filtered or unexported fields
}

func (ResponseEipChargeMode) MarshalJSON

func (c ResponseEipChargeMode) MarshalJSON() ([]byte, error)

func (*ResponseEipChargeMode) UnmarshalJSON

func (c *ResponseEipChargeMode) UnmarshalJSON(b []byte) error

func (ResponseEipChargeMode) Value

func (c ResponseEipChargeMode) Value() string

type ResponseEipChargeModeEnum

type ResponseEipChargeModeEnum struct {
	BANDWIDTH     ResponseEipChargeMode
	TRAFFIC       ResponseEipChargeMode
	E_95PEAK_PLUS ResponseEipChargeMode
}

func GetResponseEipChargeModeEnum

func GetResponseEipChargeModeEnum() ResponseEipChargeModeEnum

type ResponseEipInfo added in v0.1.106

type ResponseEipInfo struct {

	// 功能说明:公网IP的唯一标识
	Id *string `json:"id,omitempty"`

	// 功能说明: 公网IP版本号  取值范围:4
	IpVersion *int32 `json:"ip_version,omitempty"`

	// 功能说明:公网IP的订单信息 约束:包周期才会有订单信息,按需资源此字段为空
	IpBillingInfo *string `json:"ip_billing_info,omitempty"`

	// 功能说明:EIP的类型  取值范围:5_bgp(全动态BGP),5_sbgp(静态BGP)  华南-广州:5_bgp、5_sbgp  华东-上海一:5_bgp、5_sbgp  华东-上海二:5_bgp、5_sbgp  华北-北京一:5_bgp、5_sbgp  中国-香港:5_bgp  亚太-曼谷:5_bgp  亚太-新加坡:5_bgp  非洲-约翰内斯堡:5_bgp  西南-贵阳一:5_bgp、5_sbgp  华北-北京四:5_bgp、5_sbgp  拉美-圣地亚哥:5_bgp  拉美-圣保罗一:5_bgp  拉美-墨西哥城一:5_bgp  拉美-布宜诺斯艾利一:5_bgp  拉美-利马一:5_bgp  拉美-圣地亚哥二: 5_bgp 约束:必须是系统具体支持的类型。
	Type *string `json:"type,omitempty"`

	// 功能说明: 公网IPv4地址
	IpAddress *string `json:"ip_address,omitempty"`

	// 功能说明:按流量计费还是按带宽计费  取值范围:bandwidth,traffic
	ChargeMode *ResponseEipInfoChargeMode `json:"charge_mode,omitempty"`

	// 功能说明:带宽ID
	BandwidthId *string `json:"bandwidth_id,omitempty"`

	// 带宽大小Mbit/s,flavor为Professional1时,取值不能大于300
	BandwidthSize *int32 `json:"bandwidth_size,omitempty"`

	// 带宽名称
	BandwidthName *string `json:"bandwidth_name,omitempty"`

	// 带宽订单信息
	BandwidthBillingInfo *string `json:"bandwidth_billing_info,omitempty"`

	// 功能说明:类型  \"WHOLE\"为共享带宽,\"PER\"为独占带宽
	ShareType *string `json:"share_type,omitempty"`
}

func (ResponseEipInfo) String added in v0.1.106

func (o ResponseEipInfo) String() string

type ResponseEipInfoChargeMode added in v0.1.106

type ResponseEipInfoChargeMode struct {
	// contains filtered or unexported fields
}

func (ResponseEipInfoChargeMode) MarshalJSON added in v0.1.106

func (c ResponseEipInfoChargeMode) MarshalJSON() ([]byte, error)

func (*ResponseEipInfoChargeMode) UnmarshalJSON added in v0.1.106

func (c *ResponseEipInfoChargeMode) UnmarshalJSON(b []byte) error

func (ResponseEipInfoChargeMode) Value added in v0.1.106

type ResponseEipInfoChargeModeEnum added in v0.1.106

type ResponseEipInfoChargeModeEnum struct {
	BANDWIDTH ResponseEipInfoChargeMode
	TRAFFIC   ResponseEipInfoChargeMode
}

func GetResponseEipInfoChargeModeEnum added in v0.1.106

func GetResponseEipInfoChargeModeEnum() ResponseEipInfoChargeModeEnum

type ResponseP2cVgw added in v0.1.106

type ResponseP2cVgw struct {

	// P2C VPN网关ID
	Id *string `json:"id,omitempty"`
}

func (ResponseP2cVgw) String added in v0.1.106

func (o ResponseP2cVgw) String() string

type ResponseVpnConnection

type ResponseVpnConnection struct {

	// VPN连接ID
	Id *string `json:"id,omitempty"`

	// VPN连接名称
	Name *string `json:"name,omitempty"`

	// VPN连接状态
	Status *string `json:"status,omitempty"`

	// VPN网关ID
	VgwId *string `json:"vgw_id,omitempty"`

	// VGW IP
	VgwIp *string `json:"vgw_ip,omitempty"`

	// 连接模式 允许范围[POLICY, STATIC, BGP] POLICY: 策略模式 STATIC: 静态路由模式 BGP: bgp路由模式
	Style *ResponseVpnConnectionStyle `json:"style,omitempty"`

	// 对端网关ID
	CgwId *string `json:"cgw_id,omitempty"`

	// 对端网段
	PeerSubnets *[]string `json:"peer_subnets,omitempty"`

	// 本端隧道口地址
	TunnelLocalAddress *string `json:"tunnel_local_address,omitempty"`

	// 对端隧道口地址
	TunnelPeerAddress *string `json:"tunnel_peer_address,omitempty"`

	// 开启NQA检测
	EnableNqa *bool `json:"enable_nqa,omitempty"`

	// 策略模式的策略规则组
	PolicyRules *[]PolicyRule `json:"policy_rules,omitempty"`

	Ikepolicy *IkePolicy `json:"ikepolicy,omitempty"`

	Ipsecpolicy *IpsecPolicy `json:"ipsecpolicy,omitempty"`

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

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

	// 企业项目ID
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 连接监控ID
	ConnectionMonitorId *string `json:"connection_monitor_id,omitempty"`

	// 连接的HA角色
	HaRole *string `json:"ha_role,omitempty"`

	// 标签
	Tags *[]VpnResourceTag `json:"tags,omitempty"`
}

func (ResponseVpnConnection) String

func (o ResponseVpnConnection) String() string

type ResponseVpnConnectionStyle

type ResponseVpnConnectionStyle struct {
	// contains filtered or unexported fields
}

func (ResponseVpnConnectionStyle) MarshalJSON

func (c ResponseVpnConnectionStyle) MarshalJSON() ([]byte, error)

func (*ResponseVpnConnectionStyle) UnmarshalJSON

func (c *ResponseVpnConnectionStyle) UnmarshalJSON(b []byte) error

func (ResponseVpnConnectionStyle) Value

type ResponseVpnConnectionStyleEnum

type ResponseVpnConnectionStyleEnum struct {
	POLICY ResponseVpnConnectionStyle
	STATIC ResponseVpnConnectionStyle
	BGP    ResponseVpnConnectionStyle
}

func GetResponseVpnConnectionStyleEnum

func GetResponseVpnConnectionStyleEnum() ResponseVpnConnectionStyleEnum

type ResponseVpnGateway

type ResponseVpnGateway struct {

	// VPN网关ID
	Id *string `json:"id,omitempty"`

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

	// VPN网关状态
	Status *string `json:"status,omitempty"`

	// 关联模式
	AttachmentType *ResponseVpnGatewayAttachmentType `json:"attachment_type,omitempty"`

	CertificateId *string `json:"certificate_id,omitempty"`

	// VPN网关所连接的ER实例的ID
	ErId *string `json:"er_id,omitempty"`

	// VPN网关所连接的VPC的ID
	VpcId *string `json:"vpc_id,omitempty"`

	// 本端子网
	LocalSubnets *[]string `json:"local_subnets,omitempty"`

	// VPN网关所使用的VPC子网ID
	ConnectSubnet *string `json:"connect_subnet,omitempty"`

	// VPN网关的网络类型,默认为公网(public)
	NetworkType *ResponseVpnGatewayNetworkType `json:"network_type,omitempty"`

	// VPN网关北向接入VPC ID,不填时默认使用vpc_id字段的值
	AccessVpcId *string `json:"access_vpc_id,omitempty"`

	// VPN网关北向接入VPC中的接入子网ID
	AccessSubnetId *string `json:"access_subnet_id,omitempty"`

	// 私网类型VPN网关的接入私网IP,VPN网关使用该私网IP与对端网关建连。双活网关表示使用的第一个私网地址,主备表示主私网地址。
	AccessPrivateIp1 *string `json:"access_private_ip_1,omitempty"`

	// 私网类型VPN网关的接入私网IP,VPN网关使用该私网IP与对端网关建连。双活网关表示使用的第二个私网地址,主备表示备私网地址。
	AccessPrivateIp2 *string `json:"access_private_ip_2,omitempty"`

	// bgp所使用的asn号
	BgpAsn *int64 `json:"bgp_asn,omitempty"`

	// VPN网关的规格类型
	Flavor *string `json:"flavor,omitempty"`

	// 可用区列表
	AvailabilityZoneIds *[]string `json:"availability_zone_ids,omitempty"`

	// 最大可创建的VPN连接数
	ConnectionNumber *int32 `json:"connection_number,omitempty"`

	// 当前已经使用的VPN连接数
	UsedConnectionNumber *int32 `json:"used_connection_number,omitempty"`

	// 当前已经使用的VPN连接组个数
	UsedConnectionGroup *int32 `json:"used_connection_group,omitempty"`

	// 企业项目ID
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// ha模式
	HaMode *string `json:"ha_mode,omitempty"`

	Eip1 *ResponseEip `json:"eip1,omitempty"`

	Eip2 *ResponseEip `json:"eip2,omitempty"`

	// 创建时间
	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	// 更新时间
	UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"`

	PolicyTemplate *PolicyTemplate `json:"policy_template,omitempty"`

	// 网关可升配到的目标规格
	SupportedFlavors *[]string `json:"supported_flavors,omitempty"`

	// 标签
	Tags *[]VpnResourceTag `json:"tags,omitempty"`
}

func (ResponseVpnGateway) String

func (o ResponseVpnGateway) String() string

type ResponseVpnGatewayAttachmentType

type ResponseVpnGatewayAttachmentType struct {
	// contains filtered or unexported fields
}

func (ResponseVpnGatewayAttachmentType) MarshalJSON

func (c ResponseVpnGatewayAttachmentType) MarshalJSON() ([]byte, error)

func (*ResponseVpnGatewayAttachmentType) UnmarshalJSON

func (c *ResponseVpnGatewayAttachmentType) UnmarshalJSON(b []byte) error

func (ResponseVpnGatewayAttachmentType) Value

type ResponseVpnGatewayAttachmentTypeEnum

type ResponseVpnGatewayAttachmentTypeEnum struct {
	VPC ResponseVpnGatewayAttachmentType
	ER  ResponseVpnGatewayAttachmentType
}

func GetResponseVpnGatewayAttachmentTypeEnum

func GetResponseVpnGatewayAttachmentTypeEnum() ResponseVpnGatewayAttachmentTypeEnum

type ResponseVpnGatewayNetworkType

type ResponseVpnGatewayNetworkType struct {
	// contains filtered or unexported fields
}

func (ResponseVpnGatewayNetworkType) MarshalJSON

func (c ResponseVpnGatewayNetworkType) MarshalJSON() ([]byte, error)

func (*ResponseVpnGatewayNetworkType) UnmarshalJSON

func (c *ResponseVpnGatewayNetworkType) UnmarshalJSON(b []byte) error

func (ResponseVpnGatewayNetworkType) Value

type ResponseVpnGatewayNetworkTypeEnum

type ResponseVpnGatewayNetworkTypeEnum struct {
	PUBLIC  ResponseVpnGatewayNetworkType
	PRIVATE ResponseVpnGatewayNetworkType
}

func GetResponseVpnGatewayNetworkTypeEnum

func GetResponseVpnGatewayNetworkTypeEnum() ResponseVpnGatewayNetworkTypeEnum

type ShowCgwRequest

type ShowCgwRequest struct {

	// 对端网关ID
	CustomerGatewayId string `json:"customer_gateway_id"`
}

ShowCgwRequest Request Object

func (ShowCgwRequest) String

func (o ShowCgwRequest) String() string

type ShowCgwResponse

type ShowCgwResponse struct {
	CustomerGateway *ResponseCustomerGateway `json:"customer_gateway,omitempty"`

	// 请求id
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowCgwResponse Response Object

func (ShowCgwResponse) String

func (o ShowCgwResponse) String() string

type ShowClientCaRequest added in v0.1.106

type ShowClientCaRequest struct {

	// VPN服务端 ID
	VpnServerId string `json:"vpn_server_id"`

	// 客户端 CA 证书 ID
	ClientCaCertificateId string `json:"client_ca_certificate_id"`
}

ShowClientCaRequest Request Object

func (ShowClientCaRequest) String added in v0.1.106

func (o ShowClientCaRequest) String() string

type ShowClientCaResponse added in v0.1.106

type ShowClientCaResponse struct {
	ClientCaCertificate *QueryClientCaCertificateBody `json:"client_ca_certificate,omitempty"`

	// 请求id
	RequestId *string `json:"request_id,omitempty"`

	HeaderResponseToken *string `json:"header-response-token,omitempty"`
	HttpStatusCode      int     `json:"-"`
}

ShowClientCaResponse Response Object

func (ShowClientCaResponse) String added in v0.1.106

func (o ShowClientCaResponse) String() string

type ShowConnectionMonitorRequest

type ShowConnectionMonitorRequest struct {

	// VPN连接监控的ID
	ConnectionMonitorId string `json:"connection_monitor_id"`
}

ShowConnectionMonitorRequest Request Object

func (ShowConnectionMonitorRequest) String

type ShowConnectionMonitorResponse

type ShowConnectionMonitorResponse struct {
	ConnectionMonitor *ConnectionMonitorInfo `json:"connection_monitor,omitempty"`

	// 请求id
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowConnectionMonitorResponse Response Object

func (ShowConnectionMonitorResponse) String

type ShowP2cVgwRequest added in v0.1.106

type ShowP2cVgwRequest struct {

	// P2C VPN网关实例ID
	P2cVgwId string `json:"p2c_vgw_id"`
}

ShowP2cVgwRequest Request Object

func (ShowP2cVgwRequest) String added in v0.1.106

func (o ShowP2cVgwRequest) String() string

type ShowP2cVgwResponse added in v0.1.106

type ShowP2cVgwResponse struct {
	P2cVpnGateway *ShowResponseP2cVgw `json:"p2c_vpn_gateway,omitempty"`

	// 请求ID
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowP2cVgwResponse Response Object

func (ShowP2cVgwResponse) String added in v0.1.106

func (o ShowP2cVgwResponse) String() string

type ShowQuotasInfoRequest

type ShowQuotasInfoRequest struct {
}

ShowQuotasInfoRequest Request Object

func (ShowQuotasInfoRequest) String

func (o ShowQuotasInfoRequest) String() string

type ShowQuotasInfoResponse

type ShowQuotasInfoResponse struct {
	Quotas *Quotas `json:"quotas,omitempty"`

	// 请求id
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowQuotasInfoResponse Response Object

func (ShowQuotasInfoResponse) String

func (o ShowQuotasInfoResponse) String() string

type ShowResourceTagsRequest added in v0.1.78

type ShowResourceTagsRequest struct {

	// 内容类型
	ContentType string `json:"Content-Type"`

	// 资源类型
	ResourceType ShowResourceTagsRequestResourceType `json:"resource_type"`

	// 资源ID
	ResourceId string `json:"resource_id"`
}

ShowResourceTagsRequest Request Object

func (ShowResourceTagsRequest) String added in v0.1.78

func (o ShowResourceTagsRequest) String() string

type ShowResourceTagsRequestResourceType added in v0.1.78

type ShowResourceTagsRequestResourceType struct {
	// contains filtered or unexported fields
}

func (ShowResourceTagsRequestResourceType) MarshalJSON added in v0.1.78

func (c ShowResourceTagsRequestResourceType) MarshalJSON() ([]byte, error)

func (*ShowResourceTagsRequestResourceType) UnmarshalJSON added in v0.1.78

func (c *ShowResourceTagsRequestResourceType) UnmarshalJSON(b []byte) error

func (ShowResourceTagsRequestResourceType) Value added in v0.1.78

type ShowResourceTagsRequestResourceTypeEnum added in v0.1.78

type ShowResourceTagsRequestResourceTypeEnum struct {
	VPN_GATEWAY      ShowResourceTagsRequestResourceType
	VPN_CONNECTION   ShowResourceTagsRequestResourceType
	CUSTOMER_GATEWAY ShowResourceTagsRequestResourceType
	P2C_VPN_GATEWAYS ShowResourceTagsRequestResourceType
}

func GetShowResourceTagsRequestResourceTypeEnum added in v0.1.78

func GetShowResourceTagsRequestResourceTypeEnum() ShowResourceTagsRequestResourceTypeEnum

type ShowResourceTagsResponse added in v0.1.78

type ShowResourceTagsResponse struct {
	Tags           *[]ResourceTag `json:"tags,omitempty"`
	HttpStatusCode int            `json:"-"`
}

ShowResourceTagsResponse Response Object

func (ShowResourceTagsResponse) String added in v0.1.78

func (o ShowResourceTagsResponse) String() string

type ShowResponseP2cVgw added in v0.1.106

type ShowResponseP2cVgw struct {

	// P2C VPN网关ID
	Id *string `json:"id,omitempty"`

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

	// P2C VPN网关状态
	Status *string `json:"status,omitempty"`

	// P2C VPN网关所连接的VPC的ID
	VpcId *string `json:"vpc_id,omitempty"`

	// P2C VPN网关所使用的VPC子网ID
	ConnectSubnet *string `json:"connect_subnet,omitempty"`

	// P2C VPN网关的规格类型
	Flavor *string `json:"flavor,omitempty"`

	// 可用区列表
	AvailabilityZoneIds *[]string `json:"availability_zone_ids,omitempty"`

	Eip *ResponseEipInfo `json:"eip,omitempty"`

	// 配置的最大并发客户端连接数
	MaxConnectionNumber *int32 `json:"max_connection_number,omitempty"`

	// 当前建连的客户端连接数
	CurrentConnectionNumber *int32 `json:"current_connection_number,omitempty"`

	// 企业项目ID
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 标签
	Tags *[]VpnResourceTag `json:"tags,omitempty"`

	// 订单Id
	OrderId *string `json:"order_id,omitempty"`

	// 冻结状态
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	// 冻结场景:0未冻结;1 冻结可删除;2冻结不可删除
	FrozenEffect *int32 `json:"frozen_effect,omitempty"`

	// 创建时间
	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	// 更新时间
	UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"`
}

func (ShowResponseP2cVgw) String added in v0.1.106

func (o ShowResponseP2cVgw) String() string

type ShowServerResponse added in v0.1.106

type ShowServerResponse struct {

	// 服务端 ID
	Id *string `json:"id,omitempty"`

	// P2C VPN 网关 ID
	P2cVgwId *string `json:"p2c_vgw_id,omitempty"`

	// 客户端网段
	ClientCidr *string `json:"client_cidr,omitempty"`

	// 本端网段列表
	LocalSubnets *[]string `json:"local_subnets,omitempty"`

	// 客户端认证类型
	ClientAuthType *string `json:"client_auth_type,omitempty"`

	// 隧道协议类型
	TunnelProtocol *string `json:"tunnel_protocol,omitempty"`

	ServerCertificate *ShowServerResponseServerCertificate `json:"server_certificate,omitempty"`

	ClientCaCertificates *[]QueryClientCaCertificateBody `json:"client_ca_certificates,omitempty"`

	SslOptions *ShowServerResponseSslOptions `json:"ssl_options,omitempty"`

	// 服务端状态
	Status *string `json:"status,omitempty"`

	// 创建时间
	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	// 更新时间
	UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"`
}

func (ShowServerResponse) String added in v0.1.106

func (o ShowServerResponse) String() string

type ShowServerResponseServerCertificate added in v0.1.106

type ShowServerResponseServerCertificate struct {

	// 证书 ID,CCM 服务中的certificate_id,证书在CCM中被删除后,该ID为空
	Id *string `json:"id,omitempty"`

	// 证书名
	Name *string `json:"name,omitempty"`

	// 颁发者
	Issuer *string `json:"issuer,omitempty"`

	// 主体
	Subject *string `json:"subject,omitempty"`

	// 序列号
	SerialNumber *string `json:"serial_number,omitempty"`

	// 过期时间
	ExpirationTime *sdktime.SdkTime `json:"expiration_time,omitempty"`

	// 证书签名算法
	SignatureAlgorithm *string `json:"signature_algorithm,omitempty"`
}

ShowServerResponseServerCertificate 服务端证书

func (ShowServerResponseServerCertificate) String added in v0.1.106

type ShowServerResponseSslOptions added in v0.1.106

type ShowServerResponseSslOptions struct {

	// 协议
	Protocol *string `json:"protocol,omitempty"`

	// 端口
	Port *int32 `json:"port,omitempty"`

	// 加密算法
	EncryptionAlgorithm *string `json:"encryption_algorithm,omitempty"`

	// 认证算法
	AuthenticationAlgorithm *string `json:"authentication_algorithm,omitempty"`

	// 是否压缩
	IsCompressed *bool `json:"is_compressed,omitempty"`
}

ShowServerResponseSslOptions SSL隧道协议的可选配置项

func (ShowServerResponseSslOptions) String added in v0.1.106

type ShowVgwRequest

type ShowVgwRequest struct {

	// VPN网关实例ID
	VgwId string `json:"vgw_id"`
}

ShowVgwRequest Request Object

func (ShowVgwRequest) String

func (o ShowVgwRequest) String() string

type ShowVgwResponse

type ShowVgwResponse struct {
	VpnGateway *ResponseVpnGateway `json:"vpn_gateway,omitempty"`

	// 请求ID
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowVgwResponse Response Object

func (ShowVgwResponse) String

func (o ShowVgwResponse) String() string

type ShowVpnAccessPolicyRequest added in v0.1.106

type ShowVpnAccessPolicyRequest struct {

	// VPN服务端 ID
	VpnServerId string `json:"vpn_server_id"`

	// VPN访问策略ID
	PolicyId string `json:"policy_id"`
}

ShowVpnAccessPolicyRequest Request Object

func (ShowVpnAccessPolicyRequest) String added in v0.1.106

type ShowVpnAccessPolicyResponse added in v0.1.106

type ShowVpnAccessPolicyResponse struct {
	AccessPolicy *VpnAccessPolicy `json:"access_policy,omitempty"`

	// 请求ID
	RequestId *string `json:"request_id,omitempty"`

	HeaderResponseToken *string `json:"header-response-token,omitempty"`
	HttpStatusCode      int     `json:"-"`
}

ShowVpnAccessPolicyResponse Response Object

func (ShowVpnAccessPolicyResponse) String added in v0.1.106

type ShowVpnConnectionRequest

type ShowVpnConnectionRequest struct {

	// vpn连接ID
	VpnConnectionId string `json:"vpn_connection_id"`
}

ShowVpnConnectionRequest Request Object

func (ShowVpnConnectionRequest) String

func (o ShowVpnConnectionRequest) String() string

type ShowVpnConnectionResponse

type ShowVpnConnectionResponse struct {
	VpnConnection *ResponseVpnConnection `json:"vpn_connection,omitempty"`

	// 请求ID
	RequestId *string `json:"request_id,omitempty"`

	HeaderResponseToken *string `json:"header-response-token,omitempty"`
	HttpStatusCode      int     `json:"-"`
}

ShowVpnConnectionResponse Response Object

func (ShowVpnConnectionResponse) String

func (o ShowVpnConnectionResponse) String() string

type ShowVpnGatewayCertificateRequest

type ShowVpnGatewayCertificateRequest struct {

	// VPN网关实例ID
	VgwId string `json:"vgw_id"`
}

ShowVpnGatewayCertificateRequest Request Object

func (ShowVpnGatewayCertificateRequest) String

type ShowVpnGatewayCertificateResponse

type ShowVpnGatewayCertificateResponse struct {
	Certificate *VpnGatewayCertificate `json:"certificate,omitempty"`

	// 请求id
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowVpnGatewayCertificateResponse Response Object

func (ShowVpnGatewayCertificateResponse) String

type ShowVpnUserGroupRequest added in v0.1.106

type ShowVpnUserGroupRequest struct {

	// VPN服务端 ID
	VpnServerId string `json:"vpn_server_id"`

	// 用户组ID
	GroupId string `json:"group_id"`
}

ShowVpnUserGroupRequest Request Object

func (ShowVpnUserGroupRequest) String added in v0.1.106

func (o ShowVpnUserGroupRequest) String() string

type ShowVpnUserGroupResponse added in v0.1.106

type ShowVpnUserGroupResponse struct {
	UserGroup *VpnUserGroup `json:"user_group,omitempty"`

	// 请求ID
	RequestId *string `json:"request_id,omitempty"`

	HeaderResponseToken *string `json:"header-response-token,omitempty"`
	HttpStatusCode      int     `json:"-"`
}

ShowVpnUserGroupResponse Response Object

func (ShowVpnUserGroupResponse) String added in v0.1.106

func (o ShowVpnUserGroupResponse) String() string

type ShowVpnUserRequest added in v0.1.106

type ShowVpnUserRequest struct {

	// VPN服务端 ID
	VpnServerId string `json:"vpn_server_id"`

	// 用户ID
	UserId string `json:"user_id"`
}

ShowVpnUserRequest Request Object

func (ShowVpnUserRequest) String added in v0.1.106

func (o ShowVpnUserRequest) String() string

type ShowVpnUserResponse added in v0.1.106

type ShowVpnUserResponse struct {
	User *VpnUser `json:"user,omitempty"`

	// 请求ID
	RequestId *string `json:"request_id,omitempty"`

	HeaderResponseToken *string `json:"header-response-token,omitempty"`
	HttpStatusCode      int     `json:"-"`
}

ShowVpnUserResponse Response Object

func (ShowVpnUserResponse) String added in v0.1.106

func (o ShowVpnUserResponse) String() string

type Tag added in v0.1.78

type Tag struct {
	Key string `json:"key"`

	Values []string `json:"values"`
}

func (Tag) String added in v0.1.78

func (o Tag) String() string

type UpdateCgwRequest

type UpdateCgwRequest struct {

	// 对端网关ID
	CustomerGatewayId string `json:"customer_gateway_id"`

	Body *UpdateCgwRequestBody `json:"body,omitempty"`
}

UpdateCgwRequest Request Object

func (UpdateCgwRequest) String

func (o UpdateCgwRequest) String() string

type UpdateCgwRequestBody

type UpdateCgwRequestBody struct {
	CustomerGateway *UpdateCgwRequestBodyContent `json:"customer_gateway"`
}

func (UpdateCgwRequestBody) String

func (o UpdateCgwRequestBody) String() string

type UpdateCgwRequestBodyContent

type UpdateCgwRequestBodyContent struct {

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

	CaCertificate *CaCertificateRequest `json:"ca_certificate,omitempty"`
}

func (UpdateCgwRequestBodyContent) String

type UpdateCgwResponse

type UpdateCgwResponse struct {
	CustomerGateway *ResponseCustomerGateway `json:"customer_gateway,omitempty"`

	// 请求id
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateCgwResponse Response Object

func (UpdateCgwResponse) String

func (o UpdateCgwResponse) String() string

type UpdateClientCaCertificateRequestBody added in v0.1.106

type UpdateClientCaCertificateRequestBody struct {
	ClientCaCertificate *UpdateClientCaCertificateRequestBodyClientCaCertificate `json:"client_ca_certificate,omitempty"`
}

func (UpdateClientCaCertificateRequestBody) String added in v0.1.106

type UpdateClientCaCertificateRequestBodyClientCaCertificate added in v0.1.106

type UpdateClientCaCertificateRequestBodyClientCaCertificate struct {

	// 客户端 CA 证书名
	Name *string `json:"name,omitempty"`
}

func (UpdateClientCaCertificateRequestBodyClientCaCertificate) String added in v0.1.106

type UpdateClientCaRequest added in v0.1.106

type UpdateClientCaRequest struct {

	// VPN服务端 ID
	VpnServerId string `json:"vpn_server_id"`

	// 客户端 CA 证书 ID
	ClientCaCertificateId string `json:"client_ca_certificate_id"`

	Body *UpdateClientCaCertificateRequestBody `json:"body,omitempty"`
}

UpdateClientCaRequest Request Object

func (UpdateClientCaRequest) String added in v0.1.106

func (o UpdateClientCaRequest) String() string

type UpdateClientCaResponse added in v0.1.106

type UpdateClientCaResponse struct {

	// 请求id
	RequestId *string `json:"request_id,omitempty"`

	HeaderResponseToken *string `json:"header-response-token,omitempty"`
	HttpStatusCode      int     `json:"-"`
}

UpdateClientCaResponse Response Object

func (UpdateClientCaResponse) String added in v0.1.106

func (o UpdateClientCaResponse) String() string

type UpdateDpd

type UpdateDpd struct {

	// 对等体存活检测空闲时间
	Interval *int32 `json:"interval,omitempty"`

	// 对等体存活检测报文重传间隔
	Timeout *int32 `json:"timeout,omitempty"`

	// 对等体存活检测报文格式
	Msg *UpdateDpdMsg `json:"msg,omitempty"`
}

func (UpdateDpd) String

func (o UpdateDpd) String() string

type UpdateDpdMsg

type UpdateDpdMsg struct {
	// contains filtered or unexported fields
}

func (UpdateDpdMsg) MarshalJSON

func (c UpdateDpdMsg) MarshalJSON() ([]byte, error)

func (*UpdateDpdMsg) UnmarshalJSON

func (c *UpdateDpdMsg) UnmarshalJSON(b []byte) error

func (UpdateDpdMsg) Value

func (c UpdateDpdMsg) Value() string

type UpdateDpdMsgEnum

type UpdateDpdMsgEnum struct {
	SEQ_HASH_NOTIFY UpdateDpdMsg
	SEQ_NOTIFY_HASH UpdateDpdMsg
}

func GetUpdateDpdMsgEnum

func GetUpdateDpdMsgEnum() UpdateDpdMsgEnum

type UpdateIkePolicy

type UpdateIkePolicy struct {

	// IKE协商版本
	IkeVersion *UpdateIkePolicyIkeVersion `json:"ike_version,omitempty"`

	// 协商模式,ike版本为v1时生效
	Phase1NegotiationMode *UpdateIkePolicyPhase1NegotiationMode `json:"phase1_negotiation_mode,omitempty"`

	// 认证算法,SHA1和MD5安全性较低,请慎用
	AuthenticationAlgorithm *UpdateIkePolicyAuthenticationAlgorithm `json:"authentication_algorithm,omitempty"`

	// 加密算法,3DES安全性较低,请慎用
	EncryptionAlgorithm *UpdateIkePolicyEncryptionAlgorithm `json:"encryption_algorithm,omitempty"`

	// DH密钥组
	DhGroup *string `json:"dh_group,omitempty"`

	// 表示SA的生存周期,当该生存周期超时后IKE SA将自动更新
	LifetimeSeconds *int32 `json:"lifetime_seconds,omitempty"`

	// 本端ID类型
	LocalIdType *UpdateIkePolicyLocalIdType `json:"local_id_type,omitempty"`

	// 本端ID
	LocalId *string `json:"local_id,omitempty"`

	// 对端ID类型
	PeerIdType *UpdateIkePolicyPeerIdType `json:"peer_id_type,omitempty"`

	// 对端ID
	PeerId *string `json:"peer_id,omitempty"`

	Dpd *UpdateDpd `json:"dpd,omitempty"`
}

func (UpdateIkePolicy) String

func (o UpdateIkePolicy) String() string

type UpdateIkePolicyAuthenticationAlgorithm

type UpdateIkePolicyAuthenticationAlgorithm struct {
	// contains filtered or unexported fields
}

func (UpdateIkePolicyAuthenticationAlgorithm) MarshalJSON

func (c UpdateIkePolicyAuthenticationAlgorithm) MarshalJSON() ([]byte, error)

func (*UpdateIkePolicyAuthenticationAlgorithm) UnmarshalJSON

func (c *UpdateIkePolicyAuthenticationAlgorithm) UnmarshalJSON(b []byte) error

func (UpdateIkePolicyAuthenticationAlgorithm) Value

type UpdateIkePolicyEncryptionAlgorithm

type UpdateIkePolicyEncryptionAlgorithm struct {
	// contains filtered or unexported fields
}

func (UpdateIkePolicyEncryptionAlgorithm) MarshalJSON

func (c UpdateIkePolicyEncryptionAlgorithm) MarshalJSON() ([]byte, error)

func (*UpdateIkePolicyEncryptionAlgorithm) UnmarshalJSON

func (c *UpdateIkePolicyEncryptionAlgorithm) UnmarshalJSON(b []byte) error

func (UpdateIkePolicyEncryptionAlgorithm) Value

type UpdateIkePolicyIkeVersion

type UpdateIkePolicyIkeVersion struct {
	// contains filtered or unexported fields
}

func (UpdateIkePolicyIkeVersion) MarshalJSON

func (c UpdateIkePolicyIkeVersion) MarshalJSON() ([]byte, error)

func (*UpdateIkePolicyIkeVersion) UnmarshalJSON

func (c *UpdateIkePolicyIkeVersion) UnmarshalJSON(b []byte) error

func (UpdateIkePolicyIkeVersion) Value

type UpdateIkePolicyIkeVersionEnum

type UpdateIkePolicyIkeVersionEnum struct {
	V1 UpdateIkePolicyIkeVersion
	V2 UpdateIkePolicyIkeVersion
}

func GetUpdateIkePolicyIkeVersionEnum

func GetUpdateIkePolicyIkeVersionEnum() UpdateIkePolicyIkeVersionEnum

type UpdateIkePolicyLocalIdType

type UpdateIkePolicyLocalIdType struct {
	// contains filtered or unexported fields
}

func (UpdateIkePolicyLocalIdType) MarshalJSON

func (c UpdateIkePolicyLocalIdType) MarshalJSON() ([]byte, error)

func (*UpdateIkePolicyLocalIdType) UnmarshalJSON

func (c *UpdateIkePolicyLocalIdType) UnmarshalJSON(b []byte) error

func (UpdateIkePolicyLocalIdType) Value

type UpdateIkePolicyLocalIdTypeEnum

type UpdateIkePolicyLocalIdTypeEnum struct {
	IP   UpdateIkePolicyLocalIdType
	FQDN UpdateIkePolicyLocalIdType
}

func GetUpdateIkePolicyLocalIdTypeEnum

func GetUpdateIkePolicyLocalIdTypeEnum() UpdateIkePolicyLocalIdTypeEnum

type UpdateIkePolicyPeerIdType

type UpdateIkePolicyPeerIdType struct {
	// contains filtered or unexported fields
}

func (UpdateIkePolicyPeerIdType) MarshalJSON

func (c UpdateIkePolicyPeerIdType) MarshalJSON() ([]byte, error)

func (*UpdateIkePolicyPeerIdType) UnmarshalJSON

func (c *UpdateIkePolicyPeerIdType) UnmarshalJSON(b []byte) error

func (UpdateIkePolicyPeerIdType) Value

type UpdateIkePolicyPeerIdTypeEnum

type UpdateIkePolicyPeerIdTypeEnum struct {
	IP   UpdateIkePolicyPeerIdType
	FQDN UpdateIkePolicyPeerIdType
}

func GetUpdateIkePolicyPeerIdTypeEnum

func GetUpdateIkePolicyPeerIdTypeEnum() UpdateIkePolicyPeerIdTypeEnum

type UpdateIkePolicyPhase1NegotiationMode

type UpdateIkePolicyPhase1NegotiationMode struct {
	// contains filtered or unexported fields
}

func (UpdateIkePolicyPhase1NegotiationMode) MarshalJSON

func (c UpdateIkePolicyPhase1NegotiationMode) MarshalJSON() ([]byte, error)

func (*UpdateIkePolicyPhase1NegotiationMode) UnmarshalJSON

func (c *UpdateIkePolicyPhase1NegotiationMode) UnmarshalJSON(b []byte) error

func (UpdateIkePolicyPhase1NegotiationMode) Value

type UpdateIkePolicyPhase1NegotiationModeEnum

type UpdateIkePolicyPhase1NegotiationModeEnum struct {
	MAIN       UpdateIkePolicyPhase1NegotiationMode
	AGGRESSIVE UpdateIkePolicyPhase1NegotiationMode
}

func GetUpdateIkePolicyPhase1NegotiationModeEnum

func GetUpdateIkePolicyPhase1NegotiationModeEnum() UpdateIkePolicyPhase1NegotiationModeEnum

type UpdateIpsecPolicy

type UpdateIpsecPolicy struct {

	// 认证算法,SHA1和MD5安全性较低,请慎用
	AuthenticationAlgorithm *UpdateIpsecPolicyAuthenticationAlgorithm `json:"authentication_algorithm,omitempty"`

	// 加密算法,3DES安全性较低,请慎用
	EncryptionAlgorithm *UpdateIpsecPolicyEncryptionAlgorithm `json:"encryption_algorithm,omitempty"`

	// PFS使用的DH密钥组
	Pfs *string `json:"pfs,omitempty"`

	// 传输模式
	TransformProtocol *UpdateIpsecPolicyTransformProtocol `json:"transform_protocol,omitempty"`

	// 表示配置IPSec连接建立的隧道以时间为基准的生存周期
	LifetimeSeconds *int32 `json:"lifetime_seconds,omitempty"`

	// 封装模式,当前只有tunnel模式
	EncapsulationMode *UpdateIpsecPolicyEncapsulationMode `json:"encapsulation_mode,omitempty"`
}

func (UpdateIpsecPolicy) String

func (o UpdateIpsecPolicy) String() string

type UpdateIpsecPolicyAuthenticationAlgorithm

type UpdateIpsecPolicyAuthenticationAlgorithm struct {
	// contains filtered or unexported fields
}

func (UpdateIpsecPolicyAuthenticationAlgorithm) MarshalJSON

func (*UpdateIpsecPolicyAuthenticationAlgorithm) UnmarshalJSON

func (c *UpdateIpsecPolicyAuthenticationAlgorithm) UnmarshalJSON(b []byte) error

func (UpdateIpsecPolicyAuthenticationAlgorithm) Value

type UpdateIpsecPolicyEncapsulationMode

type UpdateIpsecPolicyEncapsulationMode struct {
	// contains filtered or unexported fields
}

func (UpdateIpsecPolicyEncapsulationMode) MarshalJSON

func (c UpdateIpsecPolicyEncapsulationMode) MarshalJSON() ([]byte, error)

func (*UpdateIpsecPolicyEncapsulationMode) UnmarshalJSON

func (c *UpdateIpsecPolicyEncapsulationMode) UnmarshalJSON(b []byte) error

func (UpdateIpsecPolicyEncapsulationMode) Value

type UpdateIpsecPolicyEncapsulationModeEnum

type UpdateIpsecPolicyEncapsulationModeEnum struct {
	TUNNEL UpdateIpsecPolicyEncapsulationMode
}

func GetUpdateIpsecPolicyEncapsulationModeEnum

func GetUpdateIpsecPolicyEncapsulationModeEnum() UpdateIpsecPolicyEncapsulationModeEnum

type UpdateIpsecPolicyEncryptionAlgorithm

type UpdateIpsecPolicyEncryptionAlgorithm struct {
	// contains filtered or unexported fields
}

func (UpdateIpsecPolicyEncryptionAlgorithm) MarshalJSON

func (c UpdateIpsecPolicyEncryptionAlgorithm) MarshalJSON() ([]byte, error)

func (*UpdateIpsecPolicyEncryptionAlgorithm) UnmarshalJSON

func (c *UpdateIpsecPolicyEncryptionAlgorithm) UnmarshalJSON(b []byte) error

func (UpdateIpsecPolicyEncryptionAlgorithm) Value

type UpdateIpsecPolicyTransformProtocol

type UpdateIpsecPolicyTransformProtocol struct {
	// contains filtered or unexported fields
}

func (UpdateIpsecPolicyTransformProtocol) MarshalJSON

func (c UpdateIpsecPolicyTransformProtocol) MarshalJSON() ([]byte, error)

func (*UpdateIpsecPolicyTransformProtocol) UnmarshalJSON

func (c *UpdateIpsecPolicyTransformProtocol) UnmarshalJSON(b []byte) error

func (UpdateIpsecPolicyTransformProtocol) Value

type UpdateIpsecPolicyTransformProtocolEnum

type UpdateIpsecPolicyTransformProtocolEnum struct {
	ESP UpdateIpsecPolicyTransformProtocol
}

func GetUpdateIpsecPolicyTransformProtocolEnum

func GetUpdateIpsecPolicyTransformProtocolEnum() UpdateIpsecPolicyTransformProtocolEnum

type UpdateP2cVgwRequest added in v0.1.106

type UpdateP2cVgwRequest struct {

	// P2C VPN网关实例ID
	P2cVgwId string `json:"p2c_vgw_id"`

	Body *UpdateP2cVgwRequestBody `json:"body,omitempty"`
}

UpdateP2cVgwRequest Request Object

func (UpdateP2cVgwRequest) String added in v0.1.106

func (o UpdateP2cVgwRequest) String() string

type UpdateP2cVgwRequestBody added in v0.1.106

type UpdateP2cVgwRequestBody struct {
	P2cVpnGateway *UpdateP2cVgwRequestBodyContent `json:"p2c_vpn_gateway"`
}

func (UpdateP2cVgwRequestBody) String added in v0.1.106

func (o UpdateP2cVgwRequestBody) String() string

type UpdateP2cVgwRequestBodyContent added in v0.1.106

type UpdateP2cVgwRequestBodyContent struct {

	// P2C VPN网关名称。1-64字符,中文、英文、数字包含下划线
	Name *string `json:"name,omitempty"`

	// eip的ID。用于给P2C VPN网关绑定新的EIP,需要先解绑当前的EIP
	EipId *string `json:"eip_id,omitempty"`
}

func (UpdateP2cVgwRequestBodyContent) String added in v0.1.106

type UpdateP2cVgwResponse added in v0.1.106

type UpdateP2cVgwResponse struct {
	P2cVpnGateway *ResponseP2cVgw `json:"p2c_vpn_gateway,omitempty"`

	// 请求ID
	RequestId *string `json:"request_id,omitempty"`

	HeaderResponseToken *string `json:"header-response-token,omitempty"`
	HttpStatusCode      int     `json:"-"`
}

UpdateP2cVgwResponse Response Object

func (UpdateP2cVgwResponse) String added in v0.1.106

func (o UpdateP2cVgwResponse) String() string

type UpdatePostpaidVgwSpecificationRequest added in v0.1.110

type UpdatePostpaidVgwSpecificationRequest struct {

	// VPN网关实例ID
	VgwId string `json:"vgw_id"`

	Body *UpdateVgwSpecificationRequestBody `json:"body,omitempty"`
}

UpdatePostpaidVgwSpecificationRequest Request Object

func (UpdatePostpaidVgwSpecificationRequest) String added in v0.1.110

type UpdatePostpaidVgwSpecificationResponse added in v0.1.110

type UpdatePostpaidVgwSpecificationResponse struct {
	VpnGateway *UpdateResponseVpnGateway `json:"vpn_gateway,omitempty"`

	// 请求ID
	RequestId *string `json:"request_id,omitempty"`

	HeaderResponseToken *string `json:"header-response-token,omitempty"`
	HttpStatusCode      int     `json:"-"`
}

UpdatePostpaidVgwSpecificationResponse Response Object

func (UpdatePostpaidVgwSpecificationResponse) String added in v0.1.110

type UpdateRequestPolicyTemplate added in v0.1.78

type UpdateRequestPolicyTemplate struct {
	IkePolicy *UpdateVgwIkePolicy `json:"ike_policy,omitempty"`

	IpsecPolicy *UpdateVgwIpsecPolicy `json:"ipsec_policy,omitempty"`
}

func (UpdateRequestPolicyTemplate) String added in v0.1.78

type UpdateResponseVpnConnection

type UpdateResponseVpnConnection struct {

	// VPN连接ID
	Id *string `json:"id,omitempty"`

	// VPN连接名称
	Name *string `json:"name,omitempty"`

	// VPN网关ID
	VgwId *string `json:"vgw_id,omitempty"`

	// VGW IP
	VgwIp *string `json:"vgw_ip,omitempty"`

	// 连接模式 允许范围[POLICY, STATIC, BGP] POLICY: 策略模式 STATIC: 静态路由模式 BGP: bgp路由模式
	Style *UpdateResponseVpnConnectionStyle `json:"style,omitempty"`

	// 对端网关ID
	CgwId *string `json:"cgw_id,omitempty"`

	// 对端网段
	PeerSubnets *[]string `json:"peer_subnets,omitempty"`

	// 本端隧道口地址
	TunnelLocalAddress *string `json:"tunnel_local_address,omitempty"`

	// 对端隧道口地址
	TunnelPeerAddress *string `json:"tunnel_peer_address,omitempty"`

	// 开启NQA检测
	EnableNqa *bool `json:"enable_nqa,omitempty"`

	// 策略模式的策略规则组
	PolicyRules *[]PolicyRule `json:"policy_rules,omitempty"`

	Ikepolicy *IkePolicy `json:"ikepolicy,omitempty"`

	Ipsecpolicy *IpsecPolicy `json:"ipsecpolicy,omitempty"`

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

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

	// 企业项目ID
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 连接监控ID
	ConnectionMonitorId *string `json:"connection_monitor_id,omitempty"`

	// 连接的HA角色
	HaRole *string `json:"ha_role,omitempty"`

	// 标签
	Tags *[]VpnResourceTag `json:"tags,omitempty"`
}

func (UpdateResponseVpnConnection) String

type UpdateResponseVpnConnectionStyle

type UpdateResponseVpnConnectionStyle struct {
	// contains filtered or unexported fields
}

func (UpdateResponseVpnConnectionStyle) MarshalJSON

func (c UpdateResponseVpnConnectionStyle) MarshalJSON() ([]byte, error)

func (*UpdateResponseVpnConnectionStyle) UnmarshalJSON

func (c *UpdateResponseVpnConnectionStyle) UnmarshalJSON(b []byte) error

func (UpdateResponseVpnConnectionStyle) Value

type UpdateResponseVpnGateway

type UpdateResponseVpnGateway struct {

	// VPN网关ID
	Id *string `json:"id,omitempty"`

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

	// 关联模式
	AttachmentType *UpdateResponseVpnGatewayAttachmentType `json:"attachment_type,omitempty"`

	CertificateId *string `json:"certificate_id,omitempty"`

	// VPN网关所连接的ER实例的ID
	ErId *string `json:"er_id,omitempty"`

	// VPN网关所连接的VPC的ID
	VpcId *string `json:"vpc_id,omitempty"`

	// 本端子网
	LocalSubnets *[]string `json:"local_subnets,omitempty"`

	// VPN网关所使用的VPC子网ID
	ConnectSubnet *string `json:"connect_subnet,omitempty"`

	// VPN网关的网络类型,默认为公网(public)
	NetworkType *UpdateResponseVpnGatewayNetworkType `json:"network_type,omitempty"`

	// VPN网关北向接入VPC ID,不填时默认使用vpc_id字段的值
	AccessVpcId *string `json:"access_vpc_id,omitempty"`

	// VPN网关北向接入VPC中的接入子网ID
	AccessSubnetId *string `json:"access_subnet_id,omitempty"`

	// 私网类型VPN网关的接入私网IP,VPN网关使用该私网IP与对端网关建连。双活网关表示使用的第一个私网地址,主备表示主私网地址。
	AccessPrivateIp1 *string `json:"access_private_ip_1,omitempty"`

	// 私网类型VPN网关的接入私网IP,VPN网关使用该私网IP与对端网关建连。双活网关表示使用的第二个私网地址,主备表示备私网地址。
	AccessPrivateIp2 *string `json:"access_private_ip_2,omitempty"`

	// bgp所使用的asn号
	BgpAsn *int64 `json:"bgp_asn,omitempty"`

	// VPN网关的规格类型
	Flavor *string `json:"flavor,omitempty"`

	// 可用区列表
	AvailabilityZoneIds *[]string `json:"availability_zone_ids,omitempty"`

	// 最大可创建的VPN连接数
	ConnectionNumber *int32 `json:"connection_number,omitempty"`

	// 当前已经使用的VPN连接数
	UsedConnectionNumber *int32 `json:"used_connection_number,omitempty"`

	// 当前已经使用的VPN连接组个数
	UsedConnectionGroup *int32 `json:"used_connection_group,omitempty"`

	// 企业项目ID
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// ha模式
	HaMode *string `json:"ha_mode,omitempty"`

	Eip1 *ResponseEip `json:"eip1,omitempty"`

	Eip2 *ResponseEip `json:"eip2,omitempty"`

	// 创建时间
	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	// 更新时间
	UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"`

	PolicyTemplate *PolicyTemplate `json:"policy_template,omitempty"`

	// 标签
	Tags *[]VpnResourceTag `json:"tags,omitempty"`
}

func (UpdateResponseVpnGateway) String

func (o UpdateResponseVpnGateway) String() string

type UpdateResponseVpnGatewayAttachmentType

type UpdateResponseVpnGatewayAttachmentType struct {
	// contains filtered or unexported fields
}

func (UpdateResponseVpnGatewayAttachmentType) MarshalJSON

func (c UpdateResponseVpnGatewayAttachmentType) MarshalJSON() ([]byte, error)

func (*UpdateResponseVpnGatewayAttachmentType) UnmarshalJSON

func (c *UpdateResponseVpnGatewayAttachmentType) UnmarshalJSON(b []byte) error

func (UpdateResponseVpnGatewayAttachmentType) Value

type UpdateResponseVpnGatewayNetworkType

type UpdateResponseVpnGatewayNetworkType struct {
	// contains filtered or unexported fields
}

func (UpdateResponseVpnGatewayNetworkType) MarshalJSON

func (c UpdateResponseVpnGatewayNetworkType) MarshalJSON() ([]byte, error)

func (*UpdateResponseVpnGatewayNetworkType) UnmarshalJSON

func (c *UpdateResponseVpnGatewayNetworkType) UnmarshalJSON(b []byte) error

func (UpdateResponseVpnGatewayNetworkType) Value

type UpdateResponseVpnGatewayNetworkTypeEnum

type UpdateResponseVpnGatewayNetworkTypeEnum struct {
	PUBLIC  UpdateResponseVpnGatewayNetworkType
	PRIVATE UpdateResponseVpnGatewayNetworkType
}

func GetUpdateResponseVpnGatewayNetworkTypeEnum

func GetUpdateResponseVpnGatewayNetworkTypeEnum() UpdateResponseVpnGatewayNetworkTypeEnum

type UpdateServerRequest added in v0.1.106

type UpdateServerRequest struct {

	// 客户端网段
	ClientCidr *string `json:"client_cidr,omitempty"`

	// 本端网段列表,至少有一个本端网段
	LocalSubnets *[]string `json:"local_subnets,omitempty"`

	ServerCertificate *UpdateServerRequestServerCertificate `json:"server_certificate,omitempty"`

	SslOptions *UpdateServerRequestSslOptions `json:"ssl_options,omitempty"`

	// 客户端认证类型
	ClientAuthType *UpdateServerRequestClientAuthType `json:"client_auth_type,omitempty"`
}

func (UpdateServerRequest) String added in v0.1.106

func (o UpdateServerRequest) String() string

type UpdateServerRequestBody added in v0.1.106

type UpdateServerRequestBody struct {
	VpnServer *UpdateServerRequest `json:"vpn_server,omitempty"`
}

func (UpdateServerRequestBody) String added in v0.1.106

func (o UpdateServerRequestBody) String() string

type UpdateServerRequestClientAuthType added in v0.1.106

type UpdateServerRequestClientAuthType struct {
	// contains filtered or unexported fields
}

func (UpdateServerRequestClientAuthType) MarshalJSON added in v0.1.106

func (c UpdateServerRequestClientAuthType) MarshalJSON() ([]byte, error)

func (*UpdateServerRequestClientAuthType) UnmarshalJSON added in v0.1.106

func (c *UpdateServerRequestClientAuthType) UnmarshalJSON(b []byte) error

func (UpdateServerRequestClientAuthType) Value added in v0.1.106

type UpdateServerRequestClientAuthTypeEnum added in v0.1.106

type UpdateServerRequestClientAuthTypeEnum struct {
	CERT           UpdateServerRequestClientAuthType
	LOCAL_PASSWORD UpdateServerRequestClientAuthType
}

func GetUpdateServerRequestClientAuthTypeEnum added in v0.1.106

func GetUpdateServerRequestClientAuthTypeEnum() UpdateServerRequestClientAuthTypeEnum

type UpdateServerRequestServerCertificate added in v0.1.106

type UpdateServerRequestServerCertificate struct {

	// 服务端证书ID,为CCM服务中的证书ID
	Id *string `json:"id,omitempty"`
}

UpdateServerRequestServerCertificate 服务端证书

func (UpdateServerRequestServerCertificate) String added in v0.1.106

type UpdateServerRequestSslOptions added in v0.1.106

type UpdateServerRequestSslOptions struct {

	// 协议
	Protocol *UpdateServerRequestSslOptionsProtocol `json:"protocol,omitempty"`

	// 端口
	Port *UpdateServerRequestSslOptionsPort `json:"port,omitempty"`

	// 加密算法
	EncryptionAlgorithm *UpdateServerRequestSslOptionsEncryptionAlgorithm `json:"encryption_algorithm,omitempty"`
}

UpdateServerRequestSslOptions SSL隧道协议的可选配置项

func (UpdateServerRequestSslOptions) String added in v0.1.106

type UpdateServerRequestSslOptionsEncryptionAlgorithm added in v0.1.106

type UpdateServerRequestSslOptionsEncryptionAlgorithm struct {
	// contains filtered or unexported fields
}

func (UpdateServerRequestSslOptionsEncryptionAlgorithm) MarshalJSON added in v0.1.106

func (*UpdateServerRequestSslOptionsEncryptionAlgorithm) UnmarshalJSON added in v0.1.106

func (UpdateServerRequestSslOptionsEncryptionAlgorithm) Value added in v0.1.106

type UpdateServerRequestSslOptionsEncryptionAlgorithmEnum added in v0.1.106

type UpdateServerRequestSslOptionsEncryptionAlgorithmEnum struct {
	AES_128_GCM UpdateServerRequestSslOptionsEncryptionAlgorithm
	AES_256_GCM UpdateServerRequestSslOptionsEncryptionAlgorithm
}

func GetUpdateServerRequestSslOptionsEncryptionAlgorithmEnum added in v0.1.106

func GetUpdateServerRequestSslOptionsEncryptionAlgorithmEnum() UpdateServerRequestSslOptionsEncryptionAlgorithmEnum

type UpdateServerRequestSslOptionsPort added in v0.1.106

type UpdateServerRequestSslOptionsPort struct {
	// contains filtered or unexported fields
}

func (UpdateServerRequestSslOptionsPort) MarshalJSON added in v0.1.106

func (c UpdateServerRequestSslOptionsPort) MarshalJSON() ([]byte, error)

func (*UpdateServerRequestSslOptionsPort) UnmarshalJSON added in v0.1.106

func (c *UpdateServerRequestSslOptionsPort) UnmarshalJSON(b []byte) error

func (UpdateServerRequestSslOptionsPort) Value added in v0.1.106

type UpdateServerRequestSslOptionsPortEnum added in v0.1.106

type UpdateServerRequestSslOptionsPortEnum struct {
	E_443  UpdateServerRequestSslOptionsPort
	E_1194 UpdateServerRequestSslOptionsPort
}

func GetUpdateServerRequestSslOptionsPortEnum added in v0.1.106

func GetUpdateServerRequestSslOptionsPortEnum() UpdateServerRequestSslOptionsPortEnum

type UpdateServerRequestSslOptionsProtocol added in v0.1.106

type UpdateServerRequestSslOptionsProtocol struct {
	// contains filtered or unexported fields
}

func (UpdateServerRequestSslOptionsProtocol) MarshalJSON added in v0.1.106

func (c UpdateServerRequestSslOptionsProtocol) MarshalJSON() ([]byte, error)

func (*UpdateServerRequestSslOptionsProtocol) UnmarshalJSON added in v0.1.106

func (c *UpdateServerRequestSslOptionsProtocol) UnmarshalJSON(b []byte) error

func (UpdateServerRequestSslOptionsProtocol) Value added in v0.1.106

type UpdateServerRequestSslOptionsProtocolEnum added in v0.1.106

type UpdateServerRequestSslOptionsProtocolEnum struct {
	TCP UpdateServerRequestSslOptionsProtocol
}

func GetUpdateServerRequestSslOptionsProtocolEnum added in v0.1.106

func GetUpdateServerRequestSslOptionsProtocolEnum() UpdateServerRequestSslOptionsProtocolEnum

type UpdateVgwCertificateRequest

type UpdateVgwCertificateRequest struct {

	// VPN网关实例ID
	VgwId string `json:"vgw_id"`

	// VPN网关证书ID
	CertificateId string `json:"certificate_id"`

	Body *UpdateVpnGatewayCertificateRequestBody `json:"body,omitempty"`
}

UpdateVgwCertificateRequest Request Object

func (UpdateVgwCertificateRequest) String

type UpdateVgwCertificateResponse

type UpdateVgwCertificateResponse struct {
	Certificate *VpnGatewayCertificateConfig `json:"certificate,omitempty"`

	// 请求id
	RequestId *string `json:"request_id,omitempty"`

	HeaderResponseToken *string `json:"header-response-token,omitempty"`
	HttpStatusCode      int     `json:"-"`
}

UpdateVgwCertificateResponse Response Object

func (UpdateVgwCertificateResponse) String

type UpdateVgwIkePolicy added in v0.1.78

type UpdateVgwIkePolicy struct {

	// 加密算法
	AuthenticationAlgorithm *UpdateVgwIkePolicyAuthenticationAlgorithm `json:"authentication_algorithm,omitempty"`

	// 加密算法
	EncryptionAlgorithm *UpdateVgwIkePolicyEncryptionAlgorithm `json:"encryption_algorithm,omitempty"`

	// DH密钥组
	DhGroup *UpdateVgwIkePolicyDhGroup `json:"dh_group,omitempty"`

	// 表示SA的生存周期,当该生存周期超时后IKE SA将自动更新
	LifetimeSeconds *int32 `json:"lifetime_seconds,omitempty"`
}

func (UpdateVgwIkePolicy) String added in v0.1.78

func (o UpdateVgwIkePolicy) String() string

type UpdateVgwIkePolicyAuthenticationAlgorithm added in v0.1.78

type UpdateVgwIkePolicyAuthenticationAlgorithm struct {
	// contains filtered or unexported fields
}

func (UpdateVgwIkePolicyAuthenticationAlgorithm) MarshalJSON added in v0.1.78

func (*UpdateVgwIkePolicyAuthenticationAlgorithm) UnmarshalJSON added in v0.1.78

func (UpdateVgwIkePolicyAuthenticationAlgorithm) Value added in v0.1.78

type UpdateVgwIkePolicyAuthenticationAlgorithmEnum added in v0.1.78

type UpdateVgwIkePolicyAuthenticationAlgorithmEnum struct {
	SHA2_256 UpdateVgwIkePolicyAuthenticationAlgorithm
	SHA2_384 UpdateVgwIkePolicyAuthenticationAlgorithm
	SHA2_512 UpdateVgwIkePolicyAuthenticationAlgorithm
}

func GetUpdateVgwIkePolicyAuthenticationAlgorithmEnum added in v0.1.78

func GetUpdateVgwIkePolicyAuthenticationAlgorithmEnum() UpdateVgwIkePolicyAuthenticationAlgorithmEnum

type UpdateVgwIkePolicyDhGroup added in v0.1.78

type UpdateVgwIkePolicyDhGroup struct {
	// contains filtered or unexported fields
}

func (UpdateVgwIkePolicyDhGroup) MarshalJSON added in v0.1.78

func (c UpdateVgwIkePolicyDhGroup) MarshalJSON() ([]byte, error)

func (*UpdateVgwIkePolicyDhGroup) UnmarshalJSON added in v0.1.78

func (c *UpdateVgwIkePolicyDhGroup) UnmarshalJSON(b []byte) error

func (UpdateVgwIkePolicyDhGroup) Value added in v0.1.78

type UpdateVgwIkePolicyDhGroupEnum added in v0.1.78

type UpdateVgwIkePolicyDhGroupEnum struct {
	GROUP14 UpdateVgwIkePolicyDhGroup
	GROUP15 UpdateVgwIkePolicyDhGroup
	GROUP16 UpdateVgwIkePolicyDhGroup
	GROUP19 UpdateVgwIkePolicyDhGroup
	GROUP20 UpdateVgwIkePolicyDhGroup
	GROUP21 UpdateVgwIkePolicyDhGroup
}

func GetUpdateVgwIkePolicyDhGroupEnum added in v0.1.78

func GetUpdateVgwIkePolicyDhGroupEnum() UpdateVgwIkePolicyDhGroupEnum

type UpdateVgwIkePolicyEncryptionAlgorithm added in v0.1.78

type UpdateVgwIkePolicyEncryptionAlgorithm struct {
	// contains filtered or unexported fields
}

func (UpdateVgwIkePolicyEncryptionAlgorithm) MarshalJSON added in v0.1.78

func (c UpdateVgwIkePolicyEncryptionAlgorithm) MarshalJSON() ([]byte, error)

func (*UpdateVgwIkePolicyEncryptionAlgorithm) UnmarshalJSON added in v0.1.78

func (c *UpdateVgwIkePolicyEncryptionAlgorithm) UnmarshalJSON(b []byte) error

func (UpdateVgwIkePolicyEncryptionAlgorithm) Value added in v0.1.78

type UpdateVgwIkePolicyEncryptionAlgorithmEnum added in v0.1.78

func GetUpdateVgwIkePolicyEncryptionAlgorithmEnum added in v0.1.78

func GetUpdateVgwIkePolicyEncryptionAlgorithmEnum() UpdateVgwIkePolicyEncryptionAlgorithmEnum

type UpdateVgwIpsecPolicy added in v0.1.78

type UpdateVgwIpsecPolicy struct {

	// 加密算法
	AuthenticationAlgorithm *UpdateVgwIpsecPolicyAuthenticationAlgorithm `json:"authentication_algorithm,omitempty"`

	// 加密算法
	EncryptionAlgorithm *UpdateVgwIpsecPolicyEncryptionAlgorithm `json:"encryption_algorithm,omitempty"`

	// PFS使用的DH密钥组
	Pfs *UpdateVgwIpsecPolicyPfs `json:"pfs,omitempty"`

	// 表示配置IPSec连接建立的隧道以时间为基准的生存周期
	LifetimeSeconds *int32 `json:"lifetime_seconds,omitempty"`
}

func (UpdateVgwIpsecPolicy) String added in v0.1.78

func (o UpdateVgwIpsecPolicy) String() string

type UpdateVgwIpsecPolicyAuthenticationAlgorithm added in v0.1.78

type UpdateVgwIpsecPolicyAuthenticationAlgorithm struct {
	// contains filtered or unexported fields
}

func (UpdateVgwIpsecPolicyAuthenticationAlgorithm) MarshalJSON added in v0.1.78

func (*UpdateVgwIpsecPolicyAuthenticationAlgorithm) UnmarshalJSON added in v0.1.78

func (UpdateVgwIpsecPolicyAuthenticationAlgorithm) Value added in v0.1.78

type UpdateVgwIpsecPolicyAuthenticationAlgorithmEnum added in v0.1.78

type UpdateVgwIpsecPolicyAuthenticationAlgorithmEnum struct {
	SHA2_256 UpdateVgwIpsecPolicyAuthenticationAlgorithm
	SHA2_384 UpdateVgwIpsecPolicyAuthenticationAlgorithm
	SHA2_512 UpdateVgwIpsecPolicyAuthenticationAlgorithm
}

func GetUpdateVgwIpsecPolicyAuthenticationAlgorithmEnum added in v0.1.78

func GetUpdateVgwIpsecPolicyAuthenticationAlgorithmEnum() UpdateVgwIpsecPolicyAuthenticationAlgorithmEnum

type UpdateVgwIpsecPolicyEncryptionAlgorithm added in v0.1.78

type UpdateVgwIpsecPolicyEncryptionAlgorithm struct {
	// contains filtered or unexported fields
}

func (UpdateVgwIpsecPolicyEncryptionAlgorithm) MarshalJSON added in v0.1.78

func (c UpdateVgwIpsecPolicyEncryptionAlgorithm) MarshalJSON() ([]byte, error)

func (*UpdateVgwIpsecPolicyEncryptionAlgorithm) UnmarshalJSON added in v0.1.78

func (c *UpdateVgwIpsecPolicyEncryptionAlgorithm) UnmarshalJSON(b []byte) error

func (UpdateVgwIpsecPolicyEncryptionAlgorithm) Value added in v0.1.78

type UpdateVgwIpsecPolicyEncryptionAlgorithmEnum added in v0.1.78

func GetUpdateVgwIpsecPolicyEncryptionAlgorithmEnum added in v0.1.78

func GetUpdateVgwIpsecPolicyEncryptionAlgorithmEnum() UpdateVgwIpsecPolicyEncryptionAlgorithmEnum

type UpdateVgwIpsecPolicyPfs added in v0.1.78

type UpdateVgwIpsecPolicyPfs struct {
	// contains filtered or unexported fields
}

func (UpdateVgwIpsecPolicyPfs) MarshalJSON added in v0.1.78

func (c UpdateVgwIpsecPolicyPfs) MarshalJSON() ([]byte, error)

func (*UpdateVgwIpsecPolicyPfs) UnmarshalJSON added in v0.1.78

func (c *UpdateVgwIpsecPolicyPfs) UnmarshalJSON(b []byte) error

func (UpdateVgwIpsecPolicyPfs) Value added in v0.1.78

func (c UpdateVgwIpsecPolicyPfs) Value() string

type UpdateVgwIpsecPolicyPfsEnum added in v0.1.78

type UpdateVgwIpsecPolicyPfsEnum struct {
	GROUP14 UpdateVgwIpsecPolicyPfs
	GROUP15 UpdateVgwIpsecPolicyPfs
	GROUP16 UpdateVgwIpsecPolicyPfs
	GROUP19 UpdateVgwIpsecPolicyPfs
	GROUP20 UpdateVgwIpsecPolicyPfs
	GROUP21 UpdateVgwIpsecPolicyPfs
	DISABLE UpdateVgwIpsecPolicyPfs
}

func GetUpdateVgwIpsecPolicyPfsEnum added in v0.1.78

func GetUpdateVgwIpsecPolicyPfsEnum() UpdateVgwIpsecPolicyPfsEnum

type UpdateVgwRequest

type UpdateVgwRequest struct {

	// VPN网关实例ID
	VgwId string `json:"vgw_id"`

	Body *UpdateVgwRequestBody `json:"body,omitempty"`
}

UpdateVgwRequest Request Object

func (UpdateVgwRequest) String

func (o UpdateVgwRequest) String() string

type UpdateVgwRequestBody

type UpdateVgwRequestBody struct {
	VpnGateway *UpdateVgwRequestBodyContent `json:"vpn_gateway"`
}

func (UpdateVgwRequestBody) String

func (o UpdateVgwRequestBody) String() string

type UpdateVgwRequestBodyContent

type UpdateVgwRequestBodyContent struct {

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

	// 本端子网
	LocalSubnets *[]string `json:"local_subnets,omitempty"`

	// 有效的EIP的ID,表示绑定新的EIP作为双活VPN网关使用的第一个EIP或主备VPN网关的主EIP。
	EipId1 *string `json:"eip_id_1,omitempty"`

	// 有效的EIP的ID,表示绑定新的EIP作为双活VPN网关使用的第二个EIP或主备VPN网关的备EIP。
	EipId2 *string `json:"eip_id_2,omitempty"`

	PolicyTemplate *UpdateRequestPolicyTemplate `json:"policy_template,omitempty"`
}

func (UpdateVgwRequestBodyContent) String

type UpdateVgwResponse

type UpdateVgwResponse struct {
	VpnGateway *UpdateResponseVpnGateway `json:"vpn_gateway,omitempty"`

	// 请求ID
	RequestId *string `json:"request_id,omitempty"`

	HeaderResponseToken *string `json:"header-response-token,omitempty"`
	HttpStatusCode      int     `json:"-"`
}

UpdateVgwResponse Response Object

func (UpdateVgwResponse) String

func (o UpdateVgwResponse) String() string

type UpdateVgwSpecificationRequestBody added in v0.1.110

type UpdateVgwSpecificationRequestBody struct {
	VpnGateway *UpdateVgwSpecificationRequestBodyContent `json:"vpn_gateway"`
}

func (UpdateVgwSpecificationRequestBody) String added in v0.1.110

type UpdateVgwSpecificationRequestBodyContent added in v0.1.110

type UpdateVgwSpecificationRequestBodyContent struct {

	// 修改后的VPN网关的规格类型
	Flavor UpdateVgwSpecificationRequestBodyContentFlavor `json:"flavor"`
}

func (UpdateVgwSpecificationRequestBodyContent) String added in v0.1.110

type UpdateVgwSpecificationRequestBodyContentFlavor added in v0.1.110

type UpdateVgwSpecificationRequestBodyContentFlavor struct {
	// contains filtered or unexported fields
}

func (UpdateVgwSpecificationRequestBodyContentFlavor) MarshalJSON added in v0.1.110

func (*UpdateVgwSpecificationRequestBodyContentFlavor) UnmarshalJSON added in v0.1.110

func (UpdateVgwSpecificationRequestBodyContentFlavor) Value added in v0.1.110

type UpdateVgwSpecificationRequestBodyContentFlavorEnum added in v0.1.110

type UpdateVgwSpecificationRequestBodyContentFlavorEnum struct {
	BASIC                      UpdateVgwSpecificationRequestBodyContentFlavor
	PROFESSIONAL1              UpdateVgwSpecificationRequestBodyContentFlavor
	PROFESSIONAL2              UpdateVgwSpecificationRequestBodyContentFlavor
	PROFESSIONAL1_NON_FIXED_IP UpdateVgwSpecificationRequestBodyContentFlavor
	PROFESSIONAL2_NON_FIXED_IP UpdateVgwSpecificationRequestBodyContentFlavor
}

func GetUpdateVgwSpecificationRequestBodyContentFlavorEnum added in v0.1.110

func GetUpdateVgwSpecificationRequestBodyContentFlavorEnum() UpdateVgwSpecificationRequestBodyContentFlavorEnum

type UpdateVpnAccessPolicyRequest added in v0.1.106

type UpdateVpnAccessPolicyRequest struct {

	// VPN服务端 ID
	VpnServerId string `json:"vpn_server_id"`

	// VPN访问策略ID
	PolicyId string `json:"policy_id"`

	Body *UpdateVpnAccessPolicyRequestBody `json:"body,omitempty"`
}

UpdateVpnAccessPolicyRequest Request Object

func (UpdateVpnAccessPolicyRequest) String added in v0.1.106

type UpdateVpnAccessPolicyRequestBody added in v0.1.106

type UpdateVpnAccessPolicyRequestBody struct {
	AccessPolicy *UpdateVpnAccessPolicyRequestBodyContent `json:"access_policy"`
}

func (UpdateVpnAccessPolicyRequestBody) String added in v0.1.106

type UpdateVpnAccessPolicyRequestBodyContent added in v0.1.106

type UpdateVpnAccessPolicyRequestBodyContent struct {

	// 访问策略名称
	Name *string `json:"name,omitempty"`

	// 关联用户组ID
	UserGroupId *string `json:"user_group_id,omitempty"`

	// 访问策略描述
	Description *string `json:"description,omitempty"`

	// 目的IP网段列表,至少有一个网段
	DestIpCidrs *[]string `json:"dest_ip_cidrs,omitempty"`
}

func (UpdateVpnAccessPolicyRequestBodyContent) String added in v0.1.106

type UpdateVpnAccessPolicyResponse added in v0.1.106

type UpdateVpnAccessPolicyResponse struct {
	AccessPolicy *VpnAccessPolicy `json:"access_policy,omitempty"`

	// 请求id
	RequestId *string `json:"request_id,omitempty"`

	HeaderResponseToken *string `json:"header-response-token,omitempty"`
	HttpStatusCode      int     `json:"-"`
}

UpdateVpnAccessPolicyResponse Response Object

func (UpdateVpnAccessPolicyResponse) String added in v0.1.106

type UpdateVpnConnectionRequest

type UpdateVpnConnectionRequest struct {

	// vpn连接ID
	VpnConnectionId string `json:"vpn_connection_id"`

	Body *UpdateVpnConnectionRequestBody `json:"body,omitempty"`
}

UpdateVpnConnectionRequest Request Object

func (UpdateVpnConnectionRequest) String

type UpdateVpnConnectionRequestBody

type UpdateVpnConnectionRequestBody struct {
	VpnConnection *UpdateVpnConnectionRequestBodyContent `json:"vpn_connection"`
}

func (UpdateVpnConnectionRequestBody) String

type UpdateVpnConnectionRequestBodyContent

type UpdateVpnConnectionRequestBodyContent struct {

	// VPN连接名称
	Name *string `json:"name,omitempty"`

	// 对端网关ID
	CgwId *string `json:"cgw_id,omitempty"`

	// 对端网段
	PeerSubnets *[]string `json:"peer_subnets,omitempty"`

	// 本端隧道口地址
	TunnelLocalAddress *string `json:"tunnel_local_address,omitempty"`

	// 对端隧道口地址
	TunnelPeerAddress *string `json:"tunnel_peer_address,omitempty"`

	// 预共享密钥,只能包含大写字母、小写字母、数字和特殊字符(~!@#$%^()-_+={ },./:;)且至少包含四种字符的三种
	Psk *string `json:"psk,omitempty"`

	// 策略模式的策略规则组
	PolicyRules *[]PolicyRule `json:"policy_rules,omitempty"`

	Ikepolicy *UpdateIkePolicy `json:"ikepolicy,omitempty"`

	Ipsecpolicy *UpdateIpsecPolicy `json:"ipsecpolicy,omitempty"`
}

func (UpdateVpnConnectionRequestBodyContent) String

type UpdateVpnConnectionResponse

type UpdateVpnConnectionResponse struct {
	VpnConnection *UpdateResponseVpnConnection `json:"vpn_connection,omitempty"`

	// 请求ID
	RequestId *string `json:"request_id,omitempty"`

	HeaderResponseToken *string `json:"header-response-token,omitempty"`
	HttpStatusCode      int     `json:"-"`
}

UpdateVpnConnectionResponse Response Object

func (UpdateVpnConnectionResponse) String

type UpdateVpnGatewayCertificateRequestBody added in v0.1.81

type UpdateVpnGatewayCertificateRequestBody struct {
	Certificate *UpdateVpnGatewayCertificateRequestBodyContent `json:"certificate"`
}

func (UpdateVpnGatewayCertificateRequestBody) String added in v0.1.81

type UpdateVpnGatewayCertificateRequestBodyContent added in v0.1.81

type UpdateVpnGatewayCertificateRequestBodyContent struct {

	// VPN网关证书名称
	Name *string `json:"name,omitempty"`

	// 证书内容,国密证书时为签名证书内容
	Certificate *string `json:"certificate,omitempty"`

	// 证书私钥,国密证书时为签名证书私钥
	PrivateKey *string `json:"private_key,omitempty"`

	// VPN网关CA证书内容
	CertificateChain *string `json:"certificate_chain,omitempty"`

	// 国密证书的加密证书内容
	EncCertificate *string `json:"enc_certificate,omitempty"`

	// 国密证书的加密证书私钥
	EncPrivateKey *string `json:"enc_private_key,omitempty"`
}

func (UpdateVpnGatewayCertificateRequestBodyContent) String added in v0.1.81

type UpdateVpnServerRequest added in v0.1.106

type UpdateVpnServerRequest struct {

	// VPN服务端 ID
	VpnServerId string `json:"vpn_server_id"`

	Body *UpdateServerRequestBody `json:"body,omitempty"`
}

UpdateVpnServerRequest Request Object

func (UpdateVpnServerRequest) String added in v0.1.106

func (o UpdateVpnServerRequest) String() string

type UpdateVpnServerResponse added in v0.1.106

type UpdateVpnServerResponse struct {

	// 请求id
	RequestId *string `json:"request_id,omitempty"`

	HeaderResponseToken *string `json:"header-response-token,omitempty"`
	HttpStatusCode      int     `json:"-"`
}

UpdateVpnServerResponse Response Object

func (UpdateVpnServerResponse) String added in v0.1.106

func (o UpdateVpnServerResponse) String() string

type UpdateVpnUserGroupRequest added in v0.1.106

type UpdateVpnUserGroupRequest struct {

	// VPN服务端 ID
	VpnServerId string `json:"vpn_server_id"`

	// 用户组ID
	GroupId string `json:"group_id"`

	Body *UpdateVpnUserGroupRequestBody `json:"body,omitempty"`
}

UpdateVpnUserGroupRequest Request Object

func (UpdateVpnUserGroupRequest) String added in v0.1.106

func (o UpdateVpnUserGroupRequest) String() string

type UpdateVpnUserGroupRequestBody added in v0.1.106

type UpdateVpnUserGroupRequestBody struct {
	UserGroup *UpdateVpnUserGroupRequestBodyContent `json:"user_group,omitempty"`
}

func (UpdateVpnUserGroupRequestBody) String added in v0.1.106

type UpdateVpnUserGroupRequestBodyContent added in v0.1.106

type UpdateVpnUserGroupRequestBodyContent struct {

	// 用户组名
	Name *string `json:"name,omitempty"`

	// 用户组描述
	Description *string `json:"description,omitempty"`
}

func (UpdateVpnUserGroupRequestBodyContent) String added in v0.1.106

type UpdateVpnUserGroupResponse added in v0.1.106

type UpdateVpnUserGroupResponse struct {
	UserGroup *VpnUserGroup `json:"user_group,omitempty"`

	// 请求ID
	RequestId *string `json:"request_id,omitempty"`

	HeaderResponseToken *string `json:"header-response-token,omitempty"`
	HttpStatusCode      int     `json:"-"`
}

UpdateVpnUserGroupResponse Response Object

func (UpdateVpnUserGroupResponse) String added in v0.1.106

type UpdateVpnUserPasswordRequest added in v0.1.106

type UpdateVpnUserPasswordRequest struct {

	// VPN服务端 ID
	VpnServerId string `json:"vpn_server_id"`

	// 用户ID
	UserId string `json:"user_id"`

	Body *UpdateVpnUserPasswordRequestBody `json:"body,omitempty"`
}

UpdateVpnUserPasswordRequest Request Object

func (UpdateVpnUserPasswordRequest) String added in v0.1.106

type UpdateVpnUserPasswordRequestBody added in v0.1.106

type UpdateVpnUserPasswordRequestBody struct {

	// 用户旧密码
	OldPassword string `json:"old_password"`

	// 用户新密码
	NewPassword string `json:"new_password"`
}

func (UpdateVpnUserPasswordRequestBody) String added in v0.1.106

type UpdateVpnUserPasswordResponse added in v0.1.106

type UpdateVpnUserPasswordResponse struct {

	// 请求ID
	RequestId *string `json:"request_id,omitempty"`

	HeaderResponseToken *string `json:"header-response-token,omitempty"`
	HttpStatusCode      int     `json:"-"`
}

UpdateVpnUserPasswordResponse Response Object

func (UpdateVpnUserPasswordResponse) String added in v0.1.106

type UpdateVpnUserRequest added in v0.1.106

type UpdateVpnUserRequest struct {

	// VPN服务端 ID
	VpnServerId string `json:"vpn_server_id"`

	// 用户ID
	UserId string `json:"user_id"`

	Body *UpdateVpnUserRequestBody `json:"body,omitempty"`
}

UpdateVpnUserRequest Request Object

func (UpdateVpnUserRequest) String added in v0.1.106

func (o UpdateVpnUserRequest) String() string

type UpdateVpnUserRequestBody added in v0.1.106

type UpdateVpnUserRequestBody struct {
	User *UpdateVpnUserRequestBodyContent `json:"user"`
}

func (UpdateVpnUserRequestBody) String added in v0.1.106

func (o UpdateVpnUserRequestBody) String() string

type UpdateVpnUserRequestBodyContent added in v0.1.106

type UpdateVpnUserRequestBodyContent struct {

	// 用户描述
	Description *string `json:"description,omitempty"`

	// 所属用户组ID
	UserGroupId *string `json:"user_group_id,omitempty"`
}

func (UpdateVpnUserRequestBodyContent) String added in v0.1.106

type UpdateVpnUserResponse added in v0.1.106

type UpdateVpnUserResponse struct {
	User *VpnUser `json:"user,omitempty"`

	// 请求ID
	RequestId *string `json:"request_id,omitempty"`

	HeaderResponseToken *string `json:"header-response-token,omitempty"`
	HttpStatusCode      int     `json:"-"`
}

UpdateVpnUserResponse Response Object

func (UpdateVpnUserResponse) String added in v0.1.106

func (o UpdateVpnUserResponse) String() string

type VgwIkePolicy added in v0.1.78

type VgwIkePolicy struct {

	// 加密算法
	EncryptionAlgorithm *string `json:"encryption_algorithm,omitempty"`

	// DH密钥组
	DhGroup *string `json:"dh_group,omitempty"`

	// 认证算法
	AuthenticationAlgorithm *string `json:"authentication_algorithm,omitempty"`

	// 表示SA的生存周期,当该生存周期超时后IKE SA将自动更新
	LifetimeSeconds *int32 `json:"lifetime_seconds,omitempty"`
}

func (VgwIkePolicy) String added in v0.1.78

func (o VgwIkePolicy) String() string

type VgwIpsecPolicy added in v0.1.78

type VgwIpsecPolicy struct {

	// 认证算法
	AuthenticationAlgorithm *string `json:"authentication_algorithm,omitempty"`

	// 加密算法
	EncryptionAlgorithm *string `json:"encryption_algorithm,omitempty"`

	// DH密钥组
	Pfs *string `json:"pfs,omitempty"`

	// 表示配置IPSec连接建立的隧道以时间为基准的生存周期
	LifetimeSeconds *int32 `json:"lifetime_seconds,omitempty"`
}

func (VgwIpsecPolicy) String added in v0.1.78

func (o VgwIpsecPolicy) String() string

type VpnAccessPolicy added in v0.1.106

type VpnAccessPolicy struct {

	// 访问策略ID
	Id *string `json:"id,omitempty"`

	// 访问策略名称
	Name *string `json:"name,omitempty"`

	// 关联用户组ID
	UserGroupId *string `json:"user_group_id,omitempty"`

	// 关联用户组名称
	UserGroupName *string `json:"user_group_name,omitempty"`

	// 访问策略描述
	Description *string `json:"description,omitempty"`

	// 目的IP网段列表
	DestIpCidrs *[]string `json:"dest_ip_cidrs,omitempty"`

	// 创建时间
	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	// 更新时间
	UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"`
}

func (VpnAccessPolicy) String added in v0.1.106

func (o VpnAccessPolicy) String() string

type VpnGatewayAvailabilityZones

type VpnGatewayAvailabilityZones struct {

	// VPC关联类型的可用区列表
	Vpc *[]string `json:"vpc,omitempty"`

	// ER关联类型的可用区列表
	Er *[]string `json:"er,omitempty"`
}

func (VpnGatewayAvailabilityZones) String

type VpnGatewayCertificate

type VpnGatewayCertificate struct {

	// VPN网关证书ID
	Id *string `json:"id,omitempty"`

	// VPN网关证书名称
	Name *string `json:"name,omitempty"`

	// 租户的项目ID
	ProjectId *string `json:"project_id,omitempty"`

	// VPN网关ID
	VgwId *string `json:"vgw_id,omitempty"`

	// 网关证书状态
	Status *VpnGatewayCertificateStatus `json:"status,omitempty"`

	// 证书颁发者,国密证书时为签名证书颁发者
	Issuer *string `json:"issuer,omitempty"`

	// 证书签名算法,国密证书时为签名证书签名算法
	SignatureAlgorithm *string `json:"signature_algorithm,omitempty"`

	// 证书序列号,国密证书时为签名证书序列号
	CertificateSerialNumber *string `json:"certificate_serial_number,omitempty"`

	// 证书主题,国密证书时为签名证书主题
	CertificateSubject *string `json:"certificate_subject,omitempty"`

	// 证书过期时间,国密证书时为签名证书过期时间
	CertificateExpireTime *sdktime.SdkTime `json:"certificate_expire_time,omitempty"`

	// CA证书序列号
	CertificateChainSerialNumber *string `json:"certificate_chain_serial_number,omitempty"`

	// CA证书主题
	CertificateChainSubject *string `json:"certificate_chain_subject,omitempty"`

	// CA证书过期时间
	CertificateChainExpireTime *sdktime.SdkTime `json:"certificate_chain_expire_time,omitempty"`

	// 国密证书的加密证书序列号,
	EncCertificateSerialNumber *string `json:"enc_certificate_serial_number,omitempty"`

	// 国密证书的加密证书主题
	EncCertificateSubject *string `json:"enc_certificate_subject,omitempty"`

	// 国密证书的加密证书过期时间
	EncCertificateExpireTime *sdktime.SdkTime `json:"enc_certificate_expire_time,omitempty"`

	// 创建时间
	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	// 更新时间
	UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"`
}

func (VpnGatewayCertificate) String

func (o VpnGatewayCertificate) String() string

type VpnGatewayCertificateConfig

type VpnGatewayCertificateConfig struct {

	// VPN网关证书ID
	Id *string `json:"id,omitempty"`

	// VPN网关证书名称
	Name *string `json:"name,omitempty"`

	// VPN网关ID
	VgwId *string `json:"vgw_id,omitempty"`

	// 证书颁发者,国密证书时为签名证书颁发者
	Issuer *string `json:"issuer,omitempty"`

	// 证书签名算法,国密证书时为签名证书签名算法
	SignatureAlgorithm *string `json:"signature_algorithm,omitempty"`

	// 证书序列号,国密证书时为签名证书序列号
	CertificateSerialNumber *string `json:"certificate_serial_number,omitempty"`

	// 证书主题,国密证书时为签名证书主题
	CertificateSubject *string `json:"certificate_subject,omitempty"`

	// 证书过期时间,国密证书时为签名证书过期时间
	CertificateExpireTime *sdktime.SdkTime `json:"certificate_expire_time,omitempty"`

	// CA证书序列号
	CertificateChainSerialNumber *string `json:"certificate_chain_serial_number,omitempty"`

	// CA证书主题
	CertificateChainSubject *string `json:"certificate_chain_subject,omitempty"`

	// CA证书过期时间
	CertificateChainExpireTime *sdktime.SdkTime `json:"certificate_chain_expire_time,omitempty"`

	// 国密证书的加密证书序列号,
	EncCertificateSerialNumber *string `json:"enc_certificate_serial_number,omitempty"`

	// 国密证书的加密证书主题
	EncCertificateSubject *string `json:"enc_certificate_subject,omitempty"`

	// 国密证书的加密证书过期时间
	EncCertificateExpireTime *sdktime.SdkTime `json:"enc_certificate_expire_time,omitempty"`

	// 创建时间
	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`
}

func (VpnGatewayCertificateConfig) String

type VpnGatewayCertificateStatus

type VpnGatewayCertificateStatus struct {
	// contains filtered or unexported fields
}

func (VpnGatewayCertificateStatus) MarshalJSON

func (c VpnGatewayCertificateStatus) MarshalJSON() ([]byte, error)

func (*VpnGatewayCertificateStatus) UnmarshalJSON

func (c *VpnGatewayCertificateStatus) UnmarshalJSON(b []byte) error

func (VpnGatewayCertificateStatus) Value

type VpnGatewayCertificateStatusEnum

type VpnGatewayCertificateStatusEnum struct {
	BOUND   VpnGatewayCertificateStatus
	FAULT   VpnGatewayCertificateStatus
	BINDING VpnGatewayCertificateStatus
}

func GetVpnGatewayCertificateStatusEnum

func GetVpnGatewayCertificateStatusEnum() VpnGatewayCertificateStatusEnum

type VpnResourceTag added in v0.1.78

type VpnResourceTag struct {

	// 标签的key
	Key string `json:"key"`

	// 标签的value
	Value string `json:"value"`
}

func (VpnResourceTag) String added in v0.1.78

func (o VpnResourceTag) String() string

type VpnUser added in v0.1.106

type VpnUser struct {

	// 用户ID
	Id *string `json:"id,omitempty"`

	// 用户名称
	Name *string `json:"name,omitempty"`

	// 用户描述
	Description *string `json:"description,omitempty"`

	// 所属用户组ID
	UserGroupId *string `json:"user_group_id,omitempty"`

	// 所属用户组名称
	UserGroupName *string `json:"user_group_name,omitempty"`

	// 创建时间
	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	// 更新时间
	UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"`
}

func (VpnUser) String added in v0.1.106

func (o VpnUser) String() string

type VpnUserGroup added in v0.1.106

type VpnUserGroup struct {

	// 用户组ID
	Id *string `json:"id,omitempty"`

	// 用户组名称
	Name *string `json:"name,omitempty"`

	// 用户组描述
	Description *string `json:"description,omitempty"`

	// 用户组类型
	Type *string `json:"type,omitempty"`

	// 用户数量
	UserNumber *int32 `json:"user_number,omitempty"`

	// 创建时间
	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	// 更新时间
	UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"`
}

func (VpnUserGroup) String added in v0.1.106

func (o VpnUserGroup) String() string

type VpnUserInGroup added in v0.1.106

type VpnUserInGroup struct {

	// 用户ID
	Id *string `json:"id,omitempty"`

	// 用户名称
	Name *string `json:"name,omitempty"`

	// 用户描述
	Description *string `json:"description,omitempty"`
}

func (VpnUserInGroup) String added in v0.1.106

func (o VpnUserInGroup) String() string

Source Files

Jump to

Keyboard shortcuts

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