Documentation ¶
Index ¶
- type AddVpnUserToGroupRequestBody
- type AddVpnUsersToGroupRequest
- type AddVpnUsersToGroupResponse
- type AvailabilityZones
- type BatchCreateResourceTagsRequest
- type BatchCreateResourceTagsRequestResourceType
- type BatchCreateResourceTagsRequestResourceTypeEnum
- type BatchCreateResourceTagsResponse
- type BatchDeleteResourceTagsRequest
- type BatchDeleteResourceTagsRequestResourceType
- type BatchDeleteResourceTagsRequestResourceTypeEnum
- type BatchDeleteResourceTagsResponse
- type CaCertificate
- type CaCertificateRequest
- type CheckClientCaCertificateRequest
- type CheckClientCaCertificateResponse
- type Connection
- type ConnectionMonitorInfo
- type CountResourcesByTagsRequest
- type CountResourcesByTagsRequestResourceType
- type CountResourcesByTagsRequestResourceTypeEnum
- type CountResourcesByTagsResponse
- type CreateCgwRequest
- type CreateCgwRequestBody
- type CreateCgwRequestBodyContent
- type CreateCgwRequestBodyContentIdType
- type CreateCgwRequestBodyContentIdTypeEnum
- type CreateCgwResponse
- type CreateConnectionMonitorInfo
- type CreateConnectionMonitorRequest
- type CreateConnectionMonitorRequestBody
- type CreateConnectionMonitorRequestBodyContent
- type CreateConnectionMonitorResponse
- type CreateRequestEip
- type CreateRequestEipChargeMode
- type CreateRequestEipChargeModeEnum
- type CreateResourcesTagsRequestBody
- type CreateResponseVpnConnection
- type CreateResponseVpnConnectionStyle
- type CreateResponseVpnConnectionStyleEnum
- type CreateResponseVpnGateway
- type CreateResponseVpnGatewayAttachmentType
- type CreateResponseVpnGatewayAttachmentTypeEnum
- type CreateResponseVpnGatewayNetworkType
- type CreateResponseVpnGatewayNetworkTypeEnum
- type CreateServerRequest
- type CreateServerRequestBody
- type CreateServerRequestClientAuthType
- type CreateServerRequestClientAuthTypeEnum
- type CreateServerRequestClientCaCertificates
- type CreateServerRequestServerCertificate
- type CreateServerRequestSslOptions
- type CreateServerRequestSslOptionsEncryptionAlgorithm
- type CreateServerRequestSslOptionsEncryptionAlgorithmEnum
- type CreateServerRequestSslOptionsPort
- type CreateServerRequestSslOptionsPortEnum
- type CreateServerRequestSslOptionsProtocol
- type CreateServerRequestSslOptionsProtocolEnum
- type CreateServerRequestTunnelProtocol
- type CreateServerRequestTunnelProtocolEnum
- type CreateServerResponseBodyVpnServer
- type CreateVgwCertificateRequest
- type CreateVgwCertificateResponse
- type CreateVgwRequest
- type CreateVgwRequestBody
- type CreateVgwRequestBodyContent
- type CreateVgwRequestBodyContentAttachmentType
- type CreateVgwRequestBodyContentAttachmentTypeEnum
- type CreateVgwRequestBodyContentFlavor
- type CreateVgwRequestBodyContentFlavorEnum
- type CreateVgwRequestBodyContentHaMode
- type CreateVgwRequestBodyContentHaModeEnum
- type CreateVgwRequestBodyContentNetworkType
- type CreateVgwRequestBodyContentNetworkTypeEnum
- type CreateVgwResponse
- type CreateVpnAccessPolicyRequest
- type CreateVpnAccessPolicyRequestBody
- type CreateVpnAccessPolicyRequestBodyContent
- type CreateVpnAccessPolicyResponse
- type CreateVpnAccessPolicyResponseBodyAccessPolicy
- type CreateVpnConnectionRequest
- type CreateVpnConnectionRequestBody
- type CreateVpnConnectionRequestBodyContent
- type CreateVpnConnectionRequestBodyContentHaRole
- type CreateVpnConnectionRequestBodyContentHaRoleEnum
- type CreateVpnConnectionRequestBodyContentStyle
- type CreateVpnConnectionRequestBodyContentStyleEnum
- type CreateVpnConnectionResponse
- type CreateVpnGatewayCertificateRequestBody
- type CreateVpnGatewayCertificateRequestBodyContent
- type CreateVpnServerRequest
- type CreateVpnServerResponse
- type CreateVpnUserGroupRequest
- type CreateVpnUserGroupRequestBody
- type CreateVpnUserGroupRequestBodyContent
- type CreateVpnUserGroupResponse
- type CreateVpnUserGroupResponseBodyUserGroup
- type CreateVpnUserRequest
- type CreateVpnUserRequestBody
- type CreateVpnUserRequestBodyContent
- type CreateVpnUserResponse
- type CreateVpnUserResponseBodyUser
- type DeleteCgwRequest
- type DeleteCgwResponse
- type DeleteClientCaRequest
- type DeleteClientCaResponse
- type DeleteConnectionMonitorRequest
- type DeleteConnectionMonitorResponse
- type DeleteResourcesTagsRequestBody
- type DeleteVgwRequest
- type DeleteVgwResponse
- type DeleteVpnAccessPolicyRequest
- type DeleteVpnAccessPolicyResponse
- type DeleteVpnConnectionRequest
- type DeleteVpnConnectionResponse
- type DeleteVpnUserGroupRequest
- type DeleteVpnUserGroupResponse
- type DeleteVpnUserRequest
- type DeleteVpnUserResponse
- type Dpd
- type DpdMsg
- type DpdMsgEnum
- type ExportClientConfigRequest
- type ExportClientConfigResponse
- type IkePolicy
- type IkePolicyAuthenticationAlgorithm
- type IkePolicyAuthenticationAlgorithmEnum
- type IkePolicyAuthenticationMethod
- type IkePolicyAuthenticationMethodEnum
- type IkePolicyEncryptionAlgorithm
- type IkePolicyEncryptionAlgorithmEnum
- type IkePolicyIkeVersion
- type IkePolicyIkeVersionEnum
- type IkePolicyLocalIdType
- type IkePolicyLocalIdTypeEnum
- type IkePolicyPeerIdType
- type IkePolicyPeerIdTypeEnum
- type IkePolicyPhase1NegotiationMode
- type IkePolicyPhase1NegotiationModeEnum
- type ImportClientCaCertificateRequestBody
- type ImportClientCaCertificateRequestBodyClientCaCertificate
- type ImportClientCaCertificateResponseBodyClientCaCertificate
- type ImportClientCaRequest
- type ImportClientCaResponse
- type IpsecPolicy
- type IpsecPolicyAuthenticationAlgorithm
- type IpsecPolicyAuthenticationAlgorithmEnum
- type IpsecPolicyEncapsulationMode
- type IpsecPolicyEncapsulationModeEnum
- type IpsecPolicyEncryptionAlgorithm
- type IpsecPolicyEncryptionAlgorithmEnum
- type IpsecPolicyTransformProtocol
- type IpsecPolicyTransformProtocolEnum
- type ListAvailabilityZonesRequest
- type ListAvailabilityZonesResponse
- type ListCgwsRequest
- type ListCgwsResponse
- type ListConnectionMonitorsRequest
- type ListConnectionMonitorsResponse
- type ListP2cVgwAvailabilityZonesRequest
- type ListP2cVgwAvailabilityZonesRequestFlavor
- type ListP2cVgwAvailabilityZonesRequestFlavorEnum
- type ListP2cVgwAvailabilityZonesResponse
- type ListP2cVgwConnectionsRequest
- type ListP2cVgwConnectionsResponse
- type ListP2cVgwsRequest
- type ListP2cVgwsResponse
- type ListProjectTagsRequest
- type ListProjectTagsRequestResourceType
- type ListProjectTagsRequestResourceTypeEnum
- type ListProjectTagsResponse
- type ListResourcesByTagsRequest
- type ListResourcesByTagsRequestResourceType
- type ListResourcesByTagsRequestResourceTypeEnum
- type ListResourcesByTagsResponse
- type ListVgwsRequest
- type ListVgwsResponse
- type ListVpnAccessPoliciesRequest
- type ListVpnAccessPoliciesResponse
- type ListVpnConnectionsRequest
- type ListVpnConnectionsResponse
- type ListVpnServersByProjectRequest
- type ListVpnServersByProjectResponse
- type ListVpnServersByVgwRequest
- type ListVpnServersByVgwResponse
- type ListVpnUserGroupsRequest
- type ListVpnUserGroupsResponse
- type ListVpnUsersInGroupRequest
- type ListVpnUsersInGroupResponse
- type ListVpnUsersRequest
- type ListVpnUsersResponse
- type Match
- type MatchKey
- type MatchKeyEnum
- type OpVpnUser
- type PageInfo
- type PolicyRule
- type PolicyTemplate
- type QueryClientCaCertificateBody
- type QueryResourcesRequestBody
- type QuotaInfo
- type Quotas
- type RemoveVpnUserFromGroupRequestBody
- type RemoveVpnUsersFromGroupRequest
- type RemoveVpnUsersFromGroupResponse
- type ResetVpnUserPasswordRequest
- type ResetVpnUserPasswordRequestBody
- type ResetVpnUserPasswordResponse
- type Resource
- type ResourceTag
- type ResponseCustomerGateway
- type ResponseEip
- type ResponseEipChargeMode
- type ResponseEipChargeModeEnum
- type ResponseEipInfo
- type ResponseEipInfoChargeMode
- type ResponseEipInfoChargeModeEnum
- type ResponseP2cVgw
- type ResponseVpnConnection
- type ResponseVpnConnectionStyle
- type ResponseVpnConnectionStyleEnum
- type ResponseVpnGateway
- type ResponseVpnGatewayAttachmentType
- type ResponseVpnGatewayAttachmentTypeEnum
- type ResponseVpnGatewayNetworkType
- type ResponseVpnGatewayNetworkTypeEnum
- type ShowCgwRequest
- type ShowCgwResponse
- type ShowClientCaRequest
- type ShowClientCaResponse
- type ShowConnectionMonitorRequest
- type ShowConnectionMonitorResponse
- type ShowP2cVgwRequest
- type ShowP2cVgwResponse
- type ShowQuotasInfoRequest
- type ShowQuotasInfoResponse
- type ShowResourceTagsRequest
- type ShowResourceTagsRequestResourceType
- type ShowResourceTagsRequestResourceTypeEnum
- type ShowResourceTagsResponse
- type ShowResponseP2cVgw
- type ShowServerResponse
- type ShowServerResponseServerCertificate
- type ShowServerResponseSslOptions
- type ShowVgwRequest
- type ShowVgwResponse
- type ShowVpnAccessPolicyRequest
- type ShowVpnAccessPolicyResponse
- type ShowVpnConnectionRequest
- type ShowVpnConnectionResponse
- type ShowVpnGatewayCertificateRequest
- type ShowVpnGatewayCertificateResponse
- type ShowVpnUserGroupRequest
- type ShowVpnUserGroupResponse
- type ShowVpnUserRequest
- type ShowVpnUserResponse
- type Tag
- type UpdateCgwRequest
- type UpdateCgwRequestBody
- type UpdateCgwRequestBodyContent
- type UpdateCgwResponse
- type UpdateClientCaCertificateRequestBody
- type UpdateClientCaCertificateRequestBodyClientCaCertificate
- type UpdateClientCaRequest
- type UpdateClientCaResponse
- type UpdateDpd
- type UpdateDpdMsg
- type UpdateDpdMsgEnum
- type UpdateIkePolicy
- type UpdateIkePolicyAuthenticationAlgorithm
- type UpdateIkePolicyAuthenticationAlgorithmEnum
- type UpdateIkePolicyEncryptionAlgorithm
- type UpdateIkePolicyEncryptionAlgorithmEnum
- type UpdateIkePolicyIkeVersion
- type UpdateIkePolicyIkeVersionEnum
- type UpdateIkePolicyLocalIdType
- type UpdateIkePolicyLocalIdTypeEnum
- type UpdateIkePolicyPeerIdType
- type UpdateIkePolicyPeerIdTypeEnum
- type UpdateIkePolicyPhase1NegotiationMode
- type UpdateIkePolicyPhase1NegotiationModeEnum
- type UpdateIpsecPolicy
- type UpdateIpsecPolicyAuthenticationAlgorithm
- type UpdateIpsecPolicyAuthenticationAlgorithmEnum
- type UpdateIpsecPolicyEncapsulationMode
- type UpdateIpsecPolicyEncapsulationModeEnum
- type UpdateIpsecPolicyEncryptionAlgorithm
- type UpdateIpsecPolicyEncryptionAlgorithmEnum
- type UpdateIpsecPolicyTransformProtocol
- type UpdateIpsecPolicyTransformProtocolEnum
- type UpdateP2cVgwRequest
- type UpdateP2cVgwRequestBody
- type UpdateP2cVgwRequestBodyContent
- type UpdateP2cVgwResponse
- type UpdateRequestPolicyTemplate
- type UpdateResponseVpnConnection
- type UpdateResponseVpnConnectionStyle
- type UpdateResponseVpnConnectionStyleEnum
- type UpdateResponseVpnGateway
- type UpdateResponseVpnGatewayAttachmentType
- type UpdateResponseVpnGatewayAttachmentTypeEnum
- type UpdateResponseVpnGatewayNetworkType
- type UpdateResponseVpnGatewayNetworkTypeEnum
- type UpdateServerRequest
- type UpdateServerRequestBody
- type UpdateServerRequestClientAuthType
- type UpdateServerRequestClientAuthTypeEnum
- type UpdateServerRequestServerCertificate
- type UpdateServerRequestSslOptions
- type UpdateServerRequestSslOptionsEncryptionAlgorithm
- type UpdateServerRequestSslOptionsEncryptionAlgorithmEnum
- type UpdateServerRequestSslOptionsPort
- type UpdateServerRequestSslOptionsPortEnum
- type UpdateServerRequestSslOptionsProtocol
- type UpdateServerRequestSslOptionsProtocolEnum
- type UpdateVgwCertificateRequest
- type UpdateVgwCertificateResponse
- type UpdateVgwIkePolicy
- type UpdateVgwIkePolicyAuthenticationAlgorithm
- type UpdateVgwIkePolicyAuthenticationAlgorithmEnum
- type UpdateVgwIkePolicyDhGroup
- type UpdateVgwIkePolicyDhGroupEnum
- type UpdateVgwIkePolicyEncryptionAlgorithm
- type UpdateVgwIkePolicyEncryptionAlgorithmEnum
- type UpdateVgwIpsecPolicy
- type UpdateVgwIpsecPolicyAuthenticationAlgorithm
- type UpdateVgwIpsecPolicyAuthenticationAlgorithmEnum
- type UpdateVgwIpsecPolicyEncryptionAlgorithm
- type UpdateVgwIpsecPolicyEncryptionAlgorithmEnum
- type UpdateVgwIpsecPolicyPfs
- type UpdateVgwIpsecPolicyPfsEnum
- type UpdateVgwRequest
- type UpdateVgwRequestBody
- type UpdateVgwRequestBodyContent
- type UpdateVgwResponse
- type UpdateVpnAccessPolicyRequest
- type UpdateVpnAccessPolicyRequestBody
- type UpdateVpnAccessPolicyRequestBodyContent
- type UpdateVpnAccessPolicyResponse
- type UpdateVpnConnectionRequest
- type UpdateVpnConnectionRequestBody
- type UpdateVpnConnectionRequestBodyContent
- type UpdateVpnConnectionResponse
- type UpdateVpnGatewayCertificateRequestBody
- type UpdateVpnGatewayCertificateRequestBodyContent
- type UpdateVpnServerRequest
- type UpdateVpnServerResponse
- type UpdateVpnUserGroupRequest
- type UpdateVpnUserGroupRequestBody
- type UpdateVpnUserGroupRequestBodyContent
- type UpdateVpnUserGroupResponse
- type UpdateVpnUserPasswordRequest
- type UpdateVpnUserPasswordRequestBody
- type UpdateVpnUserPasswordResponse
- type UpdateVpnUserRequest
- type UpdateVpnUserRequestBody
- type UpdateVpnUserRequestBodyContent
- type UpdateVpnUserResponse
- type VgwIkePolicy
- type VgwIpsecPolicy
- type VpnAccessPolicy
- type VpnGatewayAvailabilityZones
- type VpnGatewayCertificate
- type VpnGatewayCertificateConfig
- type VpnGatewayCertificateStatus
- type VpnGatewayCertificateStatusEnum
- type VpnResourceTag
- type VpnUser
- type VpnUserGroup
- type VpnUserInGroup
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
func (o AddVpnUserToGroupRequestBody) String() string
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
func (o AddVpnUsersToGroupResponse) String() string
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
func (o BatchCreateResourceTagsRequest) String() string
type BatchCreateResourceTagsRequestResourceType ¶ added in v0.1.78
type BatchCreateResourceTagsRequestResourceType struct {
// contains filtered or unexported fields
}
func (BatchCreateResourceTagsRequestResourceType) MarshalJSON ¶ added in v0.1.78
func (c BatchCreateResourceTagsRequestResourceType) MarshalJSON() ([]byte, error)
func (*BatchCreateResourceTagsRequestResourceType) UnmarshalJSON ¶ added in v0.1.78
func (c *BatchCreateResourceTagsRequestResourceType) UnmarshalJSON(b []byte) error
func (BatchCreateResourceTagsRequestResourceType) Value ¶ added in v0.1.78
func (c BatchCreateResourceTagsRequestResourceType) Value() string
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
func (o BatchCreateResourceTagsResponse) String() string
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
func (o BatchDeleteResourceTagsRequest) String() string
type BatchDeleteResourceTagsRequestResourceType ¶ added in v0.1.78
type BatchDeleteResourceTagsRequestResourceType struct {
// contains filtered or unexported fields
}
func (BatchDeleteResourceTagsRequestResourceType) MarshalJSON ¶ added in v0.1.78
func (c BatchDeleteResourceTagsRequestResourceType) MarshalJSON() ([]byte, error)
func (*BatchDeleteResourceTagsRequestResourceType) UnmarshalJSON ¶ added in v0.1.78
func (c *BatchDeleteResourceTagsRequestResourceType) UnmarshalJSON(b []byte) error
func (BatchDeleteResourceTagsRequestResourceType) Value ¶ added in v0.1.78
func (c BatchDeleteResourceTagsRequestResourceType) Value() string
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
func (o BatchDeleteResourceTagsResponse) String() string
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
func (o CheckClientCaCertificateRequest) String() string
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
func (o CheckClientCaCertificateResponse) String() string
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
func (o CountResourcesByTagsRequest) String() string
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
func (c CountResourcesByTagsRequestResourceType) Value() string
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
func (o CountResourcesByTagsResponse) String() string
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 ¶
func (o CreateCgwRequestBodyContent) String() 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
func (c CreateCgwRequestBodyContentIdType) Value() string
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 ¶
func (o CreateConnectionMonitorInfo) String() string
type CreateConnectionMonitorRequest ¶
type CreateConnectionMonitorRequest struct {
Body *CreateConnectionMonitorRequestBody `json:"body,omitempty"`
}
CreateConnectionMonitorRequest Request Object
func (CreateConnectionMonitorRequest) String ¶
func (o CreateConnectionMonitorRequest) String() string
type CreateConnectionMonitorRequestBody ¶
type CreateConnectionMonitorRequestBody struct {
ConnectionMonitor *CreateConnectionMonitorRequestBodyContent `json:"connection_monitor"`
}
func (CreateConnectionMonitorRequestBody) String ¶
func (o CreateConnectionMonitorRequestBody) String() string
type CreateConnectionMonitorRequestBodyContent ¶
type CreateConnectionMonitorRequestBodyContent struct { // VPN连接监控对应的VPN连接ID VpnConnectionId string `json:"vpn_connection_id"` }
CreateConnectionMonitorRequestBodyContent 创建连接监控请求体
func (CreateConnectionMonitorRequestBodyContent) String ¶
func (o CreateConnectionMonitorRequestBodyContent) String() 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 ¶
func (o CreateConnectionMonitorResponse) String() 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 ¶
func (c CreateRequestEipChargeMode) Value() string
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
func (o CreateResourcesTagsRequestBody) String() string
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 ¶
func (o CreateResponseVpnConnection) String() 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 ¶
func (c CreateResponseVpnConnectionStyle) Value() string
type CreateResponseVpnConnectionStyleEnum ¶
type CreateResponseVpnConnectionStyleEnum struct { POLICY CreateResponseVpnConnectionStyle STATIC CreateResponseVpnConnectionStyle BGP CreateResponseVpnConnectionStyle }
func GetCreateResponseVpnConnectionStyleEnum ¶
func GetCreateResponseVpnConnectionStyleEnum() CreateResponseVpnConnectionStyleEnum
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 ¶
func (c CreateResponseVpnGatewayAttachmentType) Value() string
type CreateResponseVpnGatewayAttachmentTypeEnum ¶
type CreateResponseVpnGatewayAttachmentTypeEnum struct { VPC CreateResponseVpnGatewayAttachmentType ER CreateResponseVpnGatewayAttachmentType }
func GetCreateResponseVpnGatewayAttachmentTypeEnum ¶
func GetCreateResponseVpnGatewayAttachmentTypeEnum() CreateResponseVpnGatewayAttachmentTypeEnum
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 ¶
func (c CreateResponseVpnGatewayNetworkType) Value() string
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
func (c CreateServerRequestClientAuthType) Value() string
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
func (o CreateServerRequestClientCaCertificates) String() string
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
func (o CreateServerRequestServerCertificate) String() string
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
func (o CreateServerRequestSslOptions) String() string
type CreateServerRequestSslOptionsEncryptionAlgorithm ¶ added in v0.1.106
type CreateServerRequestSslOptionsEncryptionAlgorithm struct {
// contains filtered or unexported fields
}
func (CreateServerRequestSslOptionsEncryptionAlgorithm) MarshalJSON ¶ added in v0.1.106
func (c CreateServerRequestSslOptionsEncryptionAlgorithm) MarshalJSON() ([]byte, error)
func (*CreateServerRequestSslOptionsEncryptionAlgorithm) UnmarshalJSON ¶ added in v0.1.106
func (c *CreateServerRequestSslOptionsEncryptionAlgorithm) UnmarshalJSON(b []byte) error
func (CreateServerRequestSslOptionsEncryptionAlgorithm) Value ¶ added in v0.1.106
func (c CreateServerRequestSslOptionsEncryptionAlgorithm) Value() string
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
func (c CreateServerRequestSslOptionsPort) Value() int32
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
func (c CreateServerRequestSslOptionsProtocol) Value() string
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
func (c CreateServerRequestTunnelProtocol) Value() string
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
func (o CreateServerResponseBodyVpnServer) String() string
type CreateVgwCertificateRequest ¶
type CreateVgwCertificateRequest struct { // VPN网关实例ID VgwId string `json:"vgw_id"` Body *CreateVpnGatewayCertificateRequestBody `json:"body,omitempty"` }
CreateVgwCertificateRequest Request Object
func (CreateVgwCertificateRequest) String ¶
func (o CreateVgwCertificateRequest) String() 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 ¶
func (o CreateVgwCertificateResponse) String() 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 ¶
func (o CreateVgwRequestBodyContent) String() string
type CreateVgwRequestBodyContentAttachmentType ¶
type CreateVgwRequestBodyContentAttachmentType struct {
// contains filtered or unexported fields
}
func (CreateVgwRequestBodyContentAttachmentType) MarshalJSON ¶
func (c CreateVgwRequestBodyContentAttachmentType) MarshalJSON() ([]byte, error)
func (*CreateVgwRequestBodyContentAttachmentType) UnmarshalJSON ¶
func (c *CreateVgwRequestBodyContentAttachmentType) UnmarshalJSON(b []byte) error
func (CreateVgwRequestBodyContentAttachmentType) Value ¶
func (c CreateVgwRequestBodyContentAttachmentType) Value() string
type CreateVgwRequestBodyContentAttachmentTypeEnum ¶
type CreateVgwRequestBodyContentAttachmentTypeEnum struct { VPC CreateVgwRequestBodyContentAttachmentType ER CreateVgwRequestBodyContentAttachmentType }
func GetCreateVgwRequestBodyContentAttachmentTypeEnum ¶
func GetCreateVgwRequestBodyContentAttachmentTypeEnum() CreateVgwRequestBodyContentAttachmentTypeEnum
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 ¶
func (c CreateVgwRequestBodyContentFlavor) Value() string
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 ¶
func (c CreateVgwRequestBodyContentHaMode) Value() string
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 ¶
func (c CreateVgwRequestBodyContentNetworkType) Value() string
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
func (o CreateVpnAccessPolicyRequest) String() string
type CreateVpnAccessPolicyRequestBody ¶ added in v0.1.106
type CreateVpnAccessPolicyRequestBody struct {
AccessPolicy *CreateVpnAccessPolicyRequestBodyContent `json:"access_policy"`
}
func (CreateVpnAccessPolicyRequestBody) String ¶ added in v0.1.106
func (o CreateVpnAccessPolicyRequestBody) String() string
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
func (o CreateVpnAccessPolicyRequestBodyContent) String() string
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
func (o CreateVpnAccessPolicyResponse) String() string
type CreateVpnAccessPolicyResponseBodyAccessPolicy ¶ added in v0.1.106
type CreateVpnAccessPolicyResponseBodyAccessPolicy struct { // 访问策略ID Id *string `json:"id,omitempty"` }
func (CreateVpnAccessPolicyResponseBodyAccessPolicy) String ¶ added in v0.1.106
func (o CreateVpnAccessPolicyResponseBodyAccessPolicy) String() string
type CreateVpnConnectionRequest ¶
type CreateVpnConnectionRequest struct {
Body *CreateVpnConnectionRequestBody `json:"body,omitempty"`
}
CreateVpnConnectionRequest Request Object
func (CreateVpnConnectionRequest) String ¶
func (o CreateVpnConnectionRequest) String() string
type CreateVpnConnectionRequestBody ¶
type CreateVpnConnectionRequestBody struct {
VpnConnection *CreateVpnConnectionRequestBodyContent `json:"vpn_connection"`
}
func (CreateVpnConnectionRequestBody) String ¶
func (o CreateVpnConnectionRequestBody) String() 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 ¶
func (o CreateVpnConnectionRequestBodyContent) String() string
type CreateVpnConnectionRequestBodyContentHaRole ¶
type CreateVpnConnectionRequestBodyContentHaRole struct {
// contains filtered or unexported fields
}
func (CreateVpnConnectionRequestBodyContentHaRole) MarshalJSON ¶
func (c CreateVpnConnectionRequestBodyContentHaRole) MarshalJSON() ([]byte, error)
func (*CreateVpnConnectionRequestBodyContentHaRole) UnmarshalJSON ¶
func (c *CreateVpnConnectionRequestBodyContentHaRole) UnmarshalJSON(b []byte) error
func (CreateVpnConnectionRequestBodyContentHaRole) Value ¶
func (c CreateVpnConnectionRequestBodyContentHaRole) Value() string
type CreateVpnConnectionRequestBodyContentHaRoleEnum ¶
type CreateVpnConnectionRequestBodyContentHaRoleEnum struct { MASTER CreateVpnConnectionRequestBodyContentHaRole SLAVE CreateVpnConnectionRequestBodyContentHaRole }
func GetCreateVpnConnectionRequestBodyContentHaRoleEnum ¶
func GetCreateVpnConnectionRequestBodyContentHaRoleEnum() CreateVpnConnectionRequestBodyContentHaRoleEnum
type CreateVpnConnectionRequestBodyContentStyle ¶
type CreateVpnConnectionRequestBodyContentStyle struct {
// contains filtered or unexported fields
}
func (CreateVpnConnectionRequestBodyContentStyle) MarshalJSON ¶
func (c CreateVpnConnectionRequestBodyContentStyle) MarshalJSON() ([]byte, error)
func (*CreateVpnConnectionRequestBodyContentStyle) UnmarshalJSON ¶
func (c *CreateVpnConnectionRequestBodyContentStyle) UnmarshalJSON(b []byte) error
func (CreateVpnConnectionRequestBodyContentStyle) Value ¶
func (c CreateVpnConnectionRequestBodyContentStyle) Value() string
type CreateVpnConnectionRequestBodyContentStyleEnum ¶
type CreateVpnConnectionRequestBodyContentStyleEnum struct { POLICY CreateVpnConnectionRequestBodyContentStyle STATIC CreateVpnConnectionRequestBodyContentStyle BGP CreateVpnConnectionRequestBodyContentStyle }
func GetCreateVpnConnectionRequestBodyContentStyleEnum ¶
func GetCreateVpnConnectionRequestBodyContentStyleEnum() CreateVpnConnectionRequestBodyContentStyleEnum
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 ¶
func (o CreateVpnConnectionResponse) String() string
type CreateVpnGatewayCertificateRequestBody ¶ added in v0.1.81
type CreateVpnGatewayCertificateRequestBody struct {
Certificate *CreateVpnGatewayCertificateRequestBodyContent `json:"certificate"`
}
func (CreateVpnGatewayCertificateRequestBody) String ¶ added in v0.1.81
func (o CreateVpnGatewayCertificateRequestBody) String() string
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
func (o CreateVpnGatewayCertificateRequestBodyContent) String() string
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
func (o CreateVpnUserGroupRequestBody) String() string
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
func (o CreateVpnUserGroupRequestBodyContent) String() string
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
func (o CreateVpnUserGroupResponse) String() string
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
func (o CreateVpnUserGroupResponseBodyUserGroup) String() string
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
func (o CreateVpnUserRequestBodyContent) String() string
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
func (o CreateVpnUserResponseBodyUser) String() string
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 ¶
func (o DeleteConnectionMonitorRequest) String() string
type DeleteConnectionMonitorResponse ¶
type DeleteConnectionMonitorResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteConnectionMonitorResponse Response Object
func (DeleteConnectionMonitorResponse) String ¶
func (o DeleteConnectionMonitorResponse) String() string
type DeleteResourcesTagsRequestBody ¶ added in v0.1.78
type DeleteResourcesTagsRequestBody struct {
Tags []ResourceTag `json:"tags"`
}
func (DeleteResourcesTagsRequestBody) String ¶ added in v0.1.78
func (o DeleteResourcesTagsRequestBody) String() string
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
func (o DeleteVpnAccessPolicyRequest) String() string
type DeleteVpnAccessPolicyResponse ¶ added in v0.1.106
type DeleteVpnAccessPolicyResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteVpnAccessPolicyResponse Response Object
func (DeleteVpnAccessPolicyResponse) String ¶ added in v0.1.106
func (o DeleteVpnAccessPolicyResponse) String() string
type DeleteVpnConnectionRequest ¶
type DeleteVpnConnectionRequest struct { // vpn连接ID VpnConnectionId string `json:"vpn_connection_id"` }
DeleteVpnConnectionRequest Request Object
func (DeleteVpnConnectionRequest) String ¶
func (o DeleteVpnConnectionRequest) String() string
type DeleteVpnConnectionResponse ¶
type DeleteVpnConnectionResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteVpnConnectionResponse Response Object
func (DeleteVpnConnectionResponse) String ¶
func (o DeleteVpnConnectionResponse) String() 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
func (o DeleteVpnUserGroupResponse) String() string
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 DpdMsg ¶
type DpdMsg struct {
// contains filtered or unexported fields
}
func (DpdMsg) MarshalJSON ¶
func (*DpdMsg) UnmarshalJSON ¶
type DpdMsgEnum ¶
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
func (o ExportClientConfigResponse) String() string
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"` }
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 ¶
func (c IkePolicyAuthenticationAlgorithm) Value() string
type IkePolicyAuthenticationAlgorithmEnum ¶
type IkePolicyAuthenticationAlgorithmEnum struct { SHA1 IkePolicyAuthenticationAlgorithm MD5 IkePolicyAuthenticationAlgorithm SHA2_256 IkePolicyAuthenticationAlgorithm SHA2_384 IkePolicyAuthenticationAlgorithm SHA2_512 IkePolicyAuthenticationAlgorithm }
func GetIkePolicyAuthenticationAlgorithmEnum ¶
func GetIkePolicyAuthenticationAlgorithmEnum() IkePolicyAuthenticationAlgorithmEnum
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 ¶
func (c IkePolicyAuthenticationMethod) Value() string
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 ¶
func (c IkePolicyEncryptionAlgorithm) Value() string
type IkePolicyEncryptionAlgorithmEnum ¶
type IkePolicyEncryptionAlgorithmEnum struct { E_3DES IkePolicyEncryptionAlgorithm AES_128 IkePolicyEncryptionAlgorithm AES_192 IkePolicyEncryptionAlgorithm AES_256 IkePolicyEncryptionAlgorithm AES_128_GCM_16 IkePolicyEncryptionAlgorithm AES_256_GCM_16 IkePolicyEncryptionAlgorithm AES_128_GCM_128 IkePolicyEncryptionAlgorithm AES_256_GCM_128 IkePolicyEncryptionAlgorithm }
func GetIkePolicyEncryptionAlgorithmEnum ¶
func GetIkePolicyEncryptionAlgorithmEnum() IkePolicyEncryptionAlgorithmEnum
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 ¶
func (c IkePolicyPhase1NegotiationMode) Value() string
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
func (o ImportClientCaCertificateRequestBody) String() string
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
func (o ImportClientCaCertificateRequestBodyClientCaCertificate) String() string
type ImportClientCaCertificateResponseBodyClientCaCertificate ¶ added in v0.1.106
type ImportClientCaCertificateResponseBodyClientCaCertificate struct { // ID Id *string `json:"id,omitempty"` }
func (ImportClientCaCertificateResponseBodyClientCaCertificate) String ¶ added in v0.1.106
func (o ImportClientCaCertificateResponseBodyClientCaCertificate) String() string
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 ¶
func (c IpsecPolicyAuthenticationAlgorithm) Value() string
type IpsecPolicyAuthenticationAlgorithmEnum ¶
type IpsecPolicyAuthenticationAlgorithmEnum struct { SHA1 IpsecPolicyAuthenticationAlgorithm MD5 IpsecPolicyAuthenticationAlgorithm SHA2_256 IpsecPolicyAuthenticationAlgorithm SHA2_384 IpsecPolicyAuthenticationAlgorithm SHA2_512 IpsecPolicyAuthenticationAlgorithm }
func GetIpsecPolicyAuthenticationAlgorithmEnum ¶
func GetIpsecPolicyAuthenticationAlgorithmEnum() IpsecPolicyAuthenticationAlgorithmEnum
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 ¶
func (c IpsecPolicyEncapsulationMode) Value() string
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 ¶
func (c IpsecPolicyEncryptionAlgorithm) Value() string
type IpsecPolicyEncryptionAlgorithmEnum ¶
type IpsecPolicyEncryptionAlgorithmEnum struct { E_3DES IpsecPolicyEncryptionAlgorithm AES_128 IpsecPolicyEncryptionAlgorithm AES_192 IpsecPolicyEncryptionAlgorithm AES_256 IpsecPolicyEncryptionAlgorithm AES_128_GCM_16 IpsecPolicyEncryptionAlgorithm AES_256_GCM_16 IpsecPolicyEncryptionAlgorithm AES_128_GCM_128 IpsecPolicyEncryptionAlgorithm AES_256_GCM_128 IpsecPolicyEncryptionAlgorithm }
func GetIpsecPolicyEncryptionAlgorithmEnum ¶
func GetIpsecPolicyEncryptionAlgorithmEnum() IpsecPolicyEncryptionAlgorithmEnum
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 ¶
func (c IpsecPolicyTransformProtocol) Value() string
type IpsecPolicyTransformProtocolEnum ¶
type IpsecPolicyTransformProtocolEnum struct {
ESP IpsecPolicyTransformProtocol
}
func GetIpsecPolicyTransformProtocolEnum ¶
func GetIpsecPolicyTransformProtocolEnum() IpsecPolicyTransformProtocolEnum
type ListAvailabilityZonesRequest ¶
type ListAvailabilityZonesRequest struct { }
ListAvailabilityZonesRequest Request Object
func (ListAvailabilityZonesRequest) String ¶
func (o ListAvailabilityZonesRequest) String() 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 ¶
func (o ListAvailabilityZonesResponse) String() 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 ¶
func (o ListConnectionMonitorsRequest) String() 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 ¶
func (o ListConnectionMonitorsResponse) String() 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
func (o ListP2cVgwAvailabilityZonesRequest) String() string
type ListP2cVgwAvailabilityZonesRequestFlavor ¶ added in v0.1.106
type ListP2cVgwAvailabilityZonesRequestFlavor struct {
// contains filtered or unexported fields
}
func (ListP2cVgwAvailabilityZonesRequestFlavor) MarshalJSON ¶ added in v0.1.106
func (c ListP2cVgwAvailabilityZonesRequestFlavor) MarshalJSON() ([]byte, error)
func (*ListP2cVgwAvailabilityZonesRequestFlavor) UnmarshalJSON ¶ added in v0.1.106
func (c *ListP2cVgwAvailabilityZonesRequestFlavor) UnmarshalJSON(b []byte) error
func (ListP2cVgwAvailabilityZonesRequestFlavor) Value ¶ added in v0.1.106
func (c ListP2cVgwAvailabilityZonesRequestFlavor) Value() string
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
func (o ListP2cVgwAvailabilityZonesResponse) String() string
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
func (o ListP2cVgwConnectionsRequest) String() string
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
func (o ListP2cVgwConnectionsResponse) String() string
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
func (c ListProjectTagsRequestResourceType) Value() string
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
func (o ListResourcesByTagsRequest) String() string
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
func (c ListResourcesByTagsRequestResourceType) Value() string
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
func (o ListResourcesByTagsResponse) String() string
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
func (o ListVpnAccessPoliciesRequest) String() string
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
func (o ListVpnAccessPoliciesResponse) String() string
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 ¶
func (o ListVpnConnectionsResponse) String() string
type ListVpnServersByProjectRequest ¶ added in v0.1.106
type ListVpnServersByProjectRequest struct { }
ListVpnServersByProjectRequest Request Object
func (ListVpnServersByProjectRequest) String ¶ added in v0.1.106
func (o ListVpnServersByProjectRequest) String() string
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
func (o ListVpnServersByProjectResponse) String() string
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
func (o ListVpnServersByVgwRequest) String() string
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
func (o ListVpnServersByVgwResponse) String() string
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
func (o ListVpnUsersInGroupRequest) String() string
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
func (o ListVpnUsersInGroupResponse) String() string
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 MatchKey ¶ added in v0.1.78
type MatchKey struct {
// contains filtered or unexported fields
}
func (MatchKey) MarshalJSON ¶ added in v0.1.78
func (*MatchKey) UnmarshalJSON ¶ added in v0.1.78
type MatchKeyEnum ¶ added in v0.1.78
type MatchKeyEnum struct {
RESOURCE_NAME MatchKey
}
func GetMatchKeyEnum ¶ added in v0.1.78
func GetMatchKeyEnum() MatchKeyEnum
type PageInfo ¶
type PageInfo struct { // 下一页的marker,值为上一次查询响应中最后一个资源的创建时间 NextMarker *string `json:"next_marker,omitempty"` // 当前列表中资源数量 CurrentCount *int32 `json:"current_count,omitempty"` }
PageInfo 分页查询页的信息
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
func (o QueryClientCaCertificateBody) String() string
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 RemoveVpnUserFromGroupRequestBody ¶ added in v0.1.106
type RemoveVpnUserFromGroupRequestBody struct { // 用户列表信息 Users []OpVpnUser `json:"users"` }
func (RemoveVpnUserFromGroupRequestBody) String ¶ added in v0.1.106
func (o RemoveVpnUserFromGroupRequestBody) String() string
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
func (o RemoveVpnUsersFromGroupRequest) String() string
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
func (o RemoveVpnUsersFromGroupResponse) String() string
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
func (o ResetVpnUserPasswordRequest) String() string
type ResetVpnUserPasswordRequestBody ¶ added in v0.1.106
type ResetVpnUserPasswordRequestBody struct { // 用户新密码 NewPassword string `json:"new_password"` }
func (ResetVpnUserPasswordRequestBody) String ¶ added in v0.1.106
func (o ResetVpnUserPasswordRequestBody) String() string
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
func (o ResetVpnUserPasswordResponse) String() string
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"` }
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"` 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
func (c ResponseEipInfoChargeMode) Value() string
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 ¶
func (c ResponseVpnConnectionStyle) Value() string
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 ¶
func (c ResponseVpnGatewayAttachmentType) Value() string
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 ¶
func (c ResponseVpnGatewayNetworkType) Value() string
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 ¶
func (o ShowConnectionMonitorRequest) String() 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 ¶
func (o ShowConnectionMonitorResponse) String() 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
func (c ShowResourceTagsRequestResourceType) Value() string
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
func (o ShowServerResponseServerCertificate) String() string
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
func (o ShowServerResponseSslOptions) String() string
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
func (o ShowVpnAccessPolicyRequest) String() string
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
func (o ShowVpnAccessPolicyResponse) String() string
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 ¶
func (o ShowVpnGatewayCertificateRequest) String() 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 ¶
func (o ShowVpnGatewayCertificateResponse) String() 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 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 ¶
func (o UpdateCgwRequestBodyContent) String() 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
func (o UpdateClientCaCertificateRequestBody) String() string
type UpdateClientCaCertificateRequestBodyClientCaCertificate ¶ added in v0.1.106
type UpdateClientCaCertificateRequestBodyClientCaCertificate struct { // 客户端 CA 证书名 Name *string `json:"name,omitempty"` }
func (UpdateClientCaCertificateRequestBodyClientCaCertificate) String ¶ added in v0.1.106
func (o UpdateClientCaCertificateRequestBodyClientCaCertificate) String() string
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"` }
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 ¶
func (c UpdateIkePolicyAuthenticationAlgorithm) Value() string
type UpdateIkePolicyAuthenticationAlgorithmEnum ¶
type UpdateIkePolicyAuthenticationAlgorithmEnum struct { SHA1 UpdateIkePolicyAuthenticationAlgorithm MD5 UpdateIkePolicyAuthenticationAlgorithm SHA2_256 UpdateIkePolicyAuthenticationAlgorithm SHA2_384 UpdateIkePolicyAuthenticationAlgorithm SHA2_512 UpdateIkePolicyAuthenticationAlgorithm }
func GetUpdateIkePolicyAuthenticationAlgorithmEnum ¶
func GetUpdateIkePolicyAuthenticationAlgorithmEnum() UpdateIkePolicyAuthenticationAlgorithmEnum
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 ¶
func (c UpdateIkePolicyEncryptionAlgorithm) Value() string
type UpdateIkePolicyEncryptionAlgorithmEnum ¶
type UpdateIkePolicyEncryptionAlgorithmEnum struct { E_3DES UpdateIkePolicyEncryptionAlgorithm AES_128 UpdateIkePolicyEncryptionAlgorithm AES_192 UpdateIkePolicyEncryptionAlgorithm AES_256 UpdateIkePolicyEncryptionAlgorithm AES_128_GCM_16 UpdateIkePolicyEncryptionAlgorithm AES_256_GCM_16 UpdateIkePolicyEncryptionAlgorithm AES_128_GCM_128 UpdateIkePolicyEncryptionAlgorithm AES_256_GCM_128 UpdateIkePolicyEncryptionAlgorithm }
func GetUpdateIkePolicyEncryptionAlgorithmEnum ¶
func GetUpdateIkePolicyEncryptionAlgorithmEnum() UpdateIkePolicyEncryptionAlgorithmEnum
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 ¶
func (c UpdateIkePolicyIkeVersion) Value() string
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 ¶
func (c UpdateIkePolicyLocalIdType) Value() string
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 ¶
func (c UpdateIkePolicyPeerIdType) Value() string
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 ¶
func (c UpdateIkePolicyPhase1NegotiationMode) Value() string
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 (c UpdateIpsecPolicyAuthenticationAlgorithm) MarshalJSON() ([]byte, error)
func (*UpdateIpsecPolicyAuthenticationAlgorithm) UnmarshalJSON ¶
func (c *UpdateIpsecPolicyAuthenticationAlgorithm) UnmarshalJSON(b []byte) error
func (UpdateIpsecPolicyAuthenticationAlgorithm) Value ¶
func (c UpdateIpsecPolicyAuthenticationAlgorithm) Value() string
type UpdateIpsecPolicyAuthenticationAlgorithmEnum ¶
type UpdateIpsecPolicyAuthenticationAlgorithmEnum struct { SHA1 UpdateIpsecPolicyAuthenticationAlgorithm MD5 UpdateIpsecPolicyAuthenticationAlgorithm SHA2_256 UpdateIpsecPolicyAuthenticationAlgorithm SHA2_384 UpdateIpsecPolicyAuthenticationAlgorithm SHA2_512 UpdateIpsecPolicyAuthenticationAlgorithm }
func GetUpdateIpsecPolicyAuthenticationAlgorithmEnum ¶
func GetUpdateIpsecPolicyAuthenticationAlgorithmEnum() UpdateIpsecPolicyAuthenticationAlgorithmEnum
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 ¶
func (c UpdateIpsecPolicyEncapsulationMode) Value() string
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 ¶
func (c UpdateIpsecPolicyEncryptionAlgorithm) Value() string
type UpdateIpsecPolicyEncryptionAlgorithmEnum ¶
type UpdateIpsecPolicyEncryptionAlgorithmEnum struct { E_3DES UpdateIpsecPolicyEncryptionAlgorithm AES_128 UpdateIpsecPolicyEncryptionAlgorithm AES_192 UpdateIpsecPolicyEncryptionAlgorithm AES_256 UpdateIpsecPolicyEncryptionAlgorithm AES_128_GCM_16 UpdateIpsecPolicyEncryptionAlgorithm AES_256_GCM_16 UpdateIpsecPolicyEncryptionAlgorithm AES_128_GCM_128 UpdateIpsecPolicyEncryptionAlgorithm AES_256_GCM_128 UpdateIpsecPolicyEncryptionAlgorithm }
func GetUpdateIpsecPolicyEncryptionAlgorithmEnum ¶
func GetUpdateIpsecPolicyEncryptionAlgorithmEnum() UpdateIpsecPolicyEncryptionAlgorithmEnum
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 ¶
func (c UpdateIpsecPolicyTransformProtocol) Value() string
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
func (o UpdateP2cVgwRequestBodyContent) String() string
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 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
func (o UpdateRequestPolicyTemplate) String() string
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 ¶
func (o UpdateResponseVpnConnection) String() 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 ¶
func (c UpdateResponseVpnConnectionStyle) Value() string
type UpdateResponseVpnConnectionStyleEnum ¶
type UpdateResponseVpnConnectionStyleEnum struct { POLICY UpdateResponseVpnConnectionStyle STATIC UpdateResponseVpnConnectionStyle BGP UpdateResponseVpnConnectionStyle }
func GetUpdateResponseVpnConnectionStyleEnum ¶
func GetUpdateResponseVpnConnectionStyleEnum() UpdateResponseVpnConnectionStyleEnum
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 ¶
func (c UpdateResponseVpnGatewayAttachmentType) Value() string
type UpdateResponseVpnGatewayAttachmentTypeEnum ¶
type UpdateResponseVpnGatewayAttachmentTypeEnum struct { VPC UpdateResponseVpnGatewayAttachmentType ER UpdateResponseVpnGatewayAttachmentType }
func GetUpdateResponseVpnGatewayAttachmentTypeEnum ¶
func GetUpdateResponseVpnGatewayAttachmentTypeEnum() UpdateResponseVpnGatewayAttachmentTypeEnum
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 ¶
func (c UpdateResponseVpnGatewayNetworkType) Value() string
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
func (c UpdateServerRequestClientAuthType) Value() string
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
func (o UpdateServerRequestServerCertificate) String() string
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
func (o UpdateServerRequestSslOptions) String() string
type UpdateServerRequestSslOptionsEncryptionAlgorithm ¶ added in v0.1.106
type UpdateServerRequestSslOptionsEncryptionAlgorithm struct {
// contains filtered or unexported fields
}
func (UpdateServerRequestSslOptionsEncryptionAlgorithm) MarshalJSON ¶ added in v0.1.106
func (c UpdateServerRequestSslOptionsEncryptionAlgorithm) MarshalJSON() ([]byte, error)
func (*UpdateServerRequestSslOptionsEncryptionAlgorithm) UnmarshalJSON ¶ added in v0.1.106
func (c *UpdateServerRequestSslOptionsEncryptionAlgorithm) UnmarshalJSON(b []byte) error
func (UpdateServerRequestSslOptionsEncryptionAlgorithm) Value ¶ added in v0.1.106
func (c UpdateServerRequestSslOptionsEncryptionAlgorithm) Value() string
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
func (c UpdateServerRequestSslOptionsPort) Value() int32
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
func (c UpdateServerRequestSslOptionsProtocol) Value() string
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 ¶
func (o UpdateVgwCertificateRequest) String() 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 ¶
func (o UpdateVgwCertificateResponse) String() 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 (c UpdateVgwIkePolicyAuthenticationAlgorithm) MarshalJSON() ([]byte, error)
func (*UpdateVgwIkePolicyAuthenticationAlgorithm) UnmarshalJSON ¶ added in v0.1.78
func (c *UpdateVgwIkePolicyAuthenticationAlgorithm) UnmarshalJSON(b []byte) error
func (UpdateVgwIkePolicyAuthenticationAlgorithm) Value ¶ added in v0.1.78
func (c UpdateVgwIkePolicyAuthenticationAlgorithm) Value() string
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
func (c UpdateVgwIkePolicyDhGroup) Value() string
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
func (c UpdateVgwIkePolicyEncryptionAlgorithm) Value() string
type UpdateVgwIkePolicyEncryptionAlgorithmEnum ¶ added in v0.1.78
type UpdateVgwIkePolicyEncryptionAlgorithmEnum struct { AES_128 UpdateVgwIkePolicyEncryptionAlgorithm AES_192 UpdateVgwIkePolicyEncryptionAlgorithm AES_256 UpdateVgwIkePolicyEncryptionAlgorithm AES_128_GCM_16 UpdateVgwIkePolicyEncryptionAlgorithm AES_256_GCM_16 UpdateVgwIkePolicyEncryptionAlgorithm }
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 (c UpdateVgwIpsecPolicyAuthenticationAlgorithm) MarshalJSON() ([]byte, error)
func (*UpdateVgwIpsecPolicyAuthenticationAlgorithm) UnmarshalJSON ¶ added in v0.1.78
func (c *UpdateVgwIpsecPolicyAuthenticationAlgorithm) UnmarshalJSON(b []byte) error
func (UpdateVgwIpsecPolicyAuthenticationAlgorithm) Value ¶ added in v0.1.78
func (c UpdateVgwIpsecPolicyAuthenticationAlgorithm) Value() string
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
func (c UpdateVgwIpsecPolicyEncryptionAlgorithm) Value() string
type UpdateVgwIpsecPolicyEncryptionAlgorithmEnum ¶ added in v0.1.78
type UpdateVgwIpsecPolicyEncryptionAlgorithmEnum struct { AES_128 UpdateVgwIpsecPolicyEncryptionAlgorithm AES_192 UpdateVgwIpsecPolicyEncryptionAlgorithm AES_256 UpdateVgwIpsecPolicyEncryptionAlgorithm AES_128_GCM_16 UpdateVgwIpsecPolicyEncryptionAlgorithm AES_256_GCM_16 UpdateVgwIpsecPolicyEncryptionAlgorithm }
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 ¶
func (o UpdateVgwRequestBodyContent) String() 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 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
func (o UpdateVpnAccessPolicyRequest) String() string
type UpdateVpnAccessPolicyRequestBody ¶ added in v0.1.106
type UpdateVpnAccessPolicyRequestBody struct {
AccessPolicy *UpdateVpnAccessPolicyRequestBodyContent `json:"access_policy"`
}
func (UpdateVpnAccessPolicyRequestBody) String ¶ added in v0.1.106
func (o UpdateVpnAccessPolicyRequestBody) String() string
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
func (o UpdateVpnAccessPolicyRequestBodyContent) String() string
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
func (o UpdateVpnAccessPolicyResponse) String() string
type UpdateVpnConnectionRequest ¶
type UpdateVpnConnectionRequest struct { // vpn连接ID VpnConnectionId string `json:"vpn_connection_id"` Body *UpdateVpnConnectionRequestBody `json:"body,omitempty"` }
UpdateVpnConnectionRequest Request Object
func (UpdateVpnConnectionRequest) String ¶
func (o UpdateVpnConnectionRequest) String() string
type UpdateVpnConnectionRequestBody ¶
type UpdateVpnConnectionRequestBody struct {
VpnConnection *UpdateVpnConnectionRequestBodyContent `json:"vpn_connection"`
}
func (UpdateVpnConnectionRequestBody) String ¶
func (o UpdateVpnConnectionRequestBody) String() 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 ¶
func (o UpdateVpnConnectionRequestBodyContent) String() 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 ¶
func (o UpdateVpnConnectionResponse) String() string
type UpdateVpnGatewayCertificateRequestBody ¶ added in v0.1.81
type UpdateVpnGatewayCertificateRequestBody struct {
Certificate *UpdateVpnGatewayCertificateRequestBodyContent `json:"certificate"`
}
func (UpdateVpnGatewayCertificateRequestBody) String ¶ added in v0.1.81
func (o UpdateVpnGatewayCertificateRequestBody) String() string
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
func (o UpdateVpnGatewayCertificateRequestBodyContent) String() string
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
func (o UpdateVpnUserGroupRequestBody) String() string
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
func (o UpdateVpnUserGroupRequestBodyContent) String() string
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
func (o UpdateVpnUserGroupResponse) String() string
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
func (o UpdateVpnUserPasswordRequest) String() string
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
func (o UpdateVpnUserPasswordRequestBody) String() string
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
func (o UpdateVpnUserPasswordResponse) String() string
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
func (o UpdateVpnUserRequestBodyContent) String() string
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 ¶
func (o VpnGatewayAvailabilityZones) String() 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 ¶
func (o VpnGatewayCertificateConfig) String() 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 ¶
func (c VpnGatewayCertificateStatus) Value() string
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"` }
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 ¶
- model_add_vpn_user_to_group_request_body.go
- model_add_vpn_users_to_group_request.go
- model_add_vpn_users_to_group_response.go
- model_availability_zones.go
- model_batch_create_resource_tags_request.go
- model_batch_create_resource_tags_response.go
- model_batch_delete_resource_tags_request.go
- model_batch_delete_resource_tags_response.go
- model_ca_certificate.go
- model_ca_certificate_request.go
- model_check_client_ca_certificate_request.go
- model_check_client_ca_certificate_response.go
- model_connection.go
- model_connection_monitor_info.go
- model_count_resources_by_tags_request.go
- model_count_resources_by_tags_response.go
- model_create_cgw_request.go
- model_create_cgw_request_body.go
- model_create_cgw_request_body_content.go
- model_create_cgw_response.go
- model_create_connection_monitor_info.go
- model_create_connection_monitor_request.go
- model_create_connection_monitor_request_body.go
- model_create_connection_monitor_request_body_content.go
- model_create_connection_monitor_response.go
- model_create_request_eip.go
- model_create_resources_tags_request_body.go
- model_create_response_vpn_connection.go
- model_create_response_vpn_gateway.go
- model_create_server_request.go
- model_create_server_request_body.go
- model_create_server_request_client_ca_certificates.go
- model_create_server_request_server_certificate.go
- model_create_server_request_ssl_options.go
- model_create_server_response_body_vpn_server.go
- model_create_vgw_certificate_request.go
- model_create_vgw_certificate_response.go
- model_create_vgw_request.go
- model_create_vgw_request_body.go
- model_create_vgw_request_body_content.go
- model_create_vgw_response.go
- model_create_vpn_access_policy_request.go
- model_create_vpn_access_policy_request_body.go
- model_create_vpn_access_policy_request_body_content.go
- model_create_vpn_access_policy_response.go
- model_create_vpn_access_policy_response_body_access_policy.go
- model_create_vpn_connection_request.go
- model_create_vpn_connection_request_body.go
- model_create_vpn_connection_request_body_content.go
- model_create_vpn_connection_response.go
- model_create_vpn_gateway_certificate_request_body.go
- model_create_vpn_gateway_certificate_request_body_content.go
- model_create_vpn_server_request.go
- model_create_vpn_server_response.go
- model_create_vpn_user_group_request.go
- model_create_vpn_user_group_request_body.go
- model_create_vpn_user_group_request_body_content.go
- model_create_vpn_user_group_response.go
- model_create_vpn_user_group_response_body_user_group.go
- model_create_vpn_user_request.go
- model_create_vpn_user_request_body.go
- model_create_vpn_user_request_body_content.go
- model_create_vpn_user_response.go
- model_create_vpn_user_response_body_user.go
- model_delete_cgw_request.go
- model_delete_cgw_response.go
- model_delete_client_ca_request.go
- model_delete_client_ca_response.go
- model_delete_connection_monitor_request.go
- model_delete_connection_monitor_response.go
- model_delete_resources_tags_request_body.go
- model_delete_vgw_request.go
- model_delete_vgw_response.go
- model_delete_vpn_access_policy_request.go
- model_delete_vpn_access_policy_response.go
- model_delete_vpn_connection_request.go
- model_delete_vpn_connection_response.go
- model_delete_vpn_user_group_request.go
- model_delete_vpn_user_group_response.go
- model_delete_vpn_user_request.go
- model_delete_vpn_user_response.go
- model_dpd.go
- model_export_client_config_request.go
- model_export_client_config_response.go
- model_ike_policy.go
- model_import_client_ca_certificate_request_body.go
- model_import_client_ca_certificate_request_body_client_ca_certificate.go
- model_import_client_ca_certificate_response_body_client_ca_certificate.go
- model_import_client_ca_request.go
- model_import_client_ca_response.go
- model_ipsec_policy.go
- model_list_availability_zones_request.go
- model_list_availability_zones_response.go
- model_list_cgws_request.go
- model_list_cgws_response.go
- model_list_connection_monitors_request.go
- model_list_connection_monitors_response.go
- model_list_p2c_vgw_availability_zones_request.go
- model_list_p2c_vgw_availability_zones_response.go
- model_list_p2c_vgw_connections_request.go
- model_list_p2c_vgw_connections_response.go
- model_list_p2c_vgws_request.go
- model_list_p2c_vgws_response.go
- model_list_project_tags_request.go
- model_list_project_tags_response.go
- model_list_resources_by_tags_request.go
- model_list_resources_by_tags_response.go
- model_list_vgws_request.go
- model_list_vgws_response.go
- model_list_vpn_access_policies_request.go
- model_list_vpn_access_policies_response.go
- model_list_vpn_connections_request.go
- model_list_vpn_connections_response.go
- model_list_vpn_servers_by_project_request.go
- model_list_vpn_servers_by_project_response.go
- model_list_vpn_servers_by_vgw_request.go
- model_list_vpn_servers_by_vgw_response.go
- model_list_vpn_user_groups_request.go
- model_list_vpn_user_groups_response.go
- model_list_vpn_users_in_group_request.go
- model_list_vpn_users_in_group_response.go
- model_list_vpn_users_request.go
- model_list_vpn_users_response.go
- model_match.go
- model_op_vpn_user.go
- model_page_info.go
- model_policy_rule.go
- model_policy_template.go
- model_query_client_ca_certificate_body.go
- model_query_resources_request_body.go
- model_quota_info.go
- model_quotas.go
- model_remove_vpn_user_from_group_request_body.go
- model_remove_vpn_users_from_group_request.go
- model_remove_vpn_users_from_group_response.go
- model_reset_vpn_user_password_request.go
- model_reset_vpn_user_password_request_body.go
- model_reset_vpn_user_password_response.go
- model_resource.go
- model_resource_tag.go
- model_response_customer_gateway.go
- model_response_eip.go
- model_response_eip_info.go
- model_response_p2c_vgw.go
- model_response_vpn_connection.go
- model_response_vpn_gateway.go
- model_show_cgw_request.go
- model_show_cgw_response.go
- model_show_client_ca_request.go
- model_show_client_ca_response.go
- model_show_connection_monitor_request.go
- model_show_connection_monitor_response.go
- model_show_p2c_vgw_request.go
- model_show_p2c_vgw_response.go
- model_show_quotas_info_request.go
- model_show_quotas_info_response.go
- model_show_resource_tags_request.go
- model_show_resource_tags_response.go
- model_show_response_p2c_vgw.go
- model_show_server_response.go
- model_show_server_response_server_certificate.go
- model_show_server_response_ssl_options.go
- model_show_vgw_request.go
- model_show_vgw_response.go
- model_show_vpn_access_policy_request.go
- model_show_vpn_access_policy_response.go
- model_show_vpn_connection_request.go
- model_show_vpn_connection_response.go
- model_show_vpn_gateway_certificate_request.go
- model_show_vpn_gateway_certificate_response.go
- model_show_vpn_user_group_request.go
- model_show_vpn_user_group_response.go
- model_show_vpn_user_request.go
- model_show_vpn_user_response.go
- model_tag.go
- model_update_cgw_request.go
- model_update_cgw_request_body.go
- model_update_cgw_request_body_content.go
- model_update_cgw_response.go
- model_update_client_ca_certificate_request_body.go
- model_update_client_ca_certificate_request_body_client_ca_certificate.go
- model_update_client_ca_request.go
- model_update_client_ca_response.go
- model_update_dpd.go
- model_update_ike_policy.go
- model_update_ipsec_policy.go
- model_update_p2c_vgw_request.go
- model_update_p2c_vgw_request_body.go
- model_update_p2c_vgw_request_body_content.go
- model_update_p2c_vgw_response.go
- model_update_request_policy_template.go
- model_update_response_vpn_connection.go
- model_update_response_vpn_gateway.go
- model_update_server_request.go
- model_update_server_request_body.go
- model_update_server_request_server_certificate.go
- model_update_server_request_ssl_options.go
- model_update_vgw_certificate_request.go
- model_update_vgw_certificate_response.go
- model_update_vgw_ike_policy.go
- model_update_vgw_ipsec_policy.go
- model_update_vgw_request.go
- model_update_vgw_request_body.go
- model_update_vgw_request_body_content.go
- model_update_vgw_response.go
- model_update_vpn_access_policy_request.go
- model_update_vpn_access_policy_request_body.go
- model_update_vpn_access_policy_request_body_content.go
- model_update_vpn_access_policy_response.go
- model_update_vpn_connection_request.go
- model_update_vpn_connection_request_body.go
- model_update_vpn_connection_request_body_content.go
- model_update_vpn_connection_response.go
- model_update_vpn_gateway_certificate_request_body.go
- model_update_vpn_gateway_certificate_request_body_content.go
- model_update_vpn_server_request.go
- model_update_vpn_server_response.go
- model_update_vpn_user_group_request.go
- model_update_vpn_user_group_request_body.go
- model_update_vpn_user_group_request_body_content.go
- model_update_vpn_user_group_response.go
- model_update_vpn_user_password_request.go
- model_update_vpn_user_password_request_body.go
- model_update_vpn_user_password_response.go
- model_update_vpn_user_request.go
- model_update_vpn_user_request_body.go
- model_update_vpn_user_request_body_content.go
- model_update_vpn_user_response.go
- model_vgw_ike_policy.go
- model_vgw_ipsec_policy.go
- model_vpn_access_policy.go
- model_vpn_gateway_availability_zones.go
- model_vpn_gateway_certificate.go
- model_vpn_gateway_certificate_config.go
- model_vpn_resource_tag.go
- model_vpn_user.go
- model_vpn_user_group.go
- model_vpn_user_in_group.go