v20180410

package
v3.0.926+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// CAM signature/authentication error
	AUTHFAILURE = "AuthFailure"

	// Unauthorized operation: CAM signature or authentication error.
	AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"

	// Operation failed.
	FAILEDOPERATION = "FailedOperation"

	// An internal error occurred.
	INTERNALERROR = "InternalError"

	// Invalid parameter.
	INVALIDPARAMETER = "InvalidParameter"

	// Wrong IP address.
	INVALIDPARAMETER_ADDRESSERROR = "InvalidParameter.AddressError"

	// The connection does not belong to this account.
	INVALIDPARAMETER_DIRECTCONNECTIDISNOTUIN = "InvalidParameter.DirectConnectIdIsNotUin"

	// The account ID does not exist.
	INVALIDPARAMETER_UINISNOTEXIST = "InvalidParameter.UinIsNotExist"

	// VLAN conflict.
	INVALIDPARAMETER_VLANCONFLICT = "InvalidParameter.VlanConflict"

	// The parameter value is invalid.
	INVALIDPARAMETERVALUE = "InvalidParameterValue"

	// VLAN conflict.
	INVALIDPARAMETERVALUE_VLANCONFLICT = "InvalidParameterValue.VlanConfLict"

	// The quota limit is exceeded.
	LIMITEXCEEDED = "LimitExceeded"

	// The number of connections has reached the upper limit.
	LIMITEXCEEDED_DIRECTCONNECTLIMITEXCEEDED = "LimitExceeded.DirectConnectLimitExceeded"

	// The number of the dedicated tunnels of the connection has reached the upper limit.
	LIMITEXCEEDED_DIRECTCONNECTTUNNELLIMITEXCEEDED = "LimitExceeded.DirectConnectTunnelLimitExceeded"

	// Missing parameter.
	MISSINGPARAMETER = "MissingParameter"

	// The connection VPC already exists.
	RESOURCEINUSE_DCVPCISEXIST = "ResourceInUse.DcVpcIsExist"

	// The resource does not exist.
	RESOURCENOTFOUND = "ResourceNotFound"

	// The dedicated tunnel does not exist.
	RESOURCENOTFOUND_DIRECTCONNECTTUNNELIDISNOTEXIST = "ResourceNotFound.DirectConnectTunnelIdIsNotExist"

	// The resource is unavailable.
	RESOURCEUNAVAILABLE = "ResourceUnavailable"

	// Your account is in arrears, and the service cannot be activated. Please top up your account first.
	RESOURCEUNAVAILABLE_INSUFFICIENTBALANCE = "ResourceUnavailable.InsufficientBalance"

	// The operation is unauthorized.
	UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

	// Unsupported operation.
	UNSUPPORTEDOPERATION = "UnsupportedOperation"

	// Cross-border dedicated tunnel is not allowed. Please contact us.
	UNSUPPORTEDOPERATION_CROSSBORDERDIRECTCONNECTTUNNEL = "UnsupportedOperation.CrossBorderDirectConnectTunnel"

	// Status conflict.
	UNSUPPORTEDOPERATION_STATECONFLICT = "UnsupportedOperation.StateConfLict"
)
View Source
const APIVersion = "2018-04-10"

Variables

This section is empty.

Functions

This section is empty.

Types

type AcceptDirectConnectTunnelRequest

type AcceptDirectConnectTunnelRequest struct {
	*tchttp.BaseRequest

	// The connection owner accepts an application for sharing the dedicated tunnel
	DirectConnectTunnelId *string `json:"DirectConnectTunnelId,omitnil,omitempty" name:"DirectConnectTunnelId"`
}

func NewAcceptDirectConnectTunnelRequest

func NewAcceptDirectConnectTunnelRequest() (request *AcceptDirectConnectTunnelRequest)

func (*AcceptDirectConnectTunnelRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AcceptDirectConnectTunnelRequest) ToJsonString

func (r *AcceptDirectConnectTunnelRequest) ToJsonString() string

type AcceptDirectConnectTunnelRequestParams

type AcceptDirectConnectTunnelRequestParams struct {
	// The connection owner accepts an application for sharing the dedicated tunnel
	DirectConnectTunnelId *string `json:"DirectConnectTunnelId,omitnil,omitempty" name:"DirectConnectTunnelId"`
}

Predefined struct for user

type AcceptDirectConnectTunnelResponse

type AcceptDirectConnectTunnelResponse struct {
	*tchttp.BaseResponse
	Response *AcceptDirectConnectTunnelResponseParams `json:"Response"`
}

func NewAcceptDirectConnectTunnelResponse

func NewAcceptDirectConnectTunnelResponse() (response *AcceptDirectConnectTunnelResponse)

func (*AcceptDirectConnectTunnelResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AcceptDirectConnectTunnelResponse) ToJsonString

func (r *AcceptDirectConnectTunnelResponse) ToJsonString() string

type AcceptDirectConnectTunnelResponseParams

type AcceptDirectConnectTunnelResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type AccessPoint

type AccessPoint struct {
	// Access point name.
	AccessPointName *string `json:"AccessPointName,omitnil,omitempty" name:"AccessPointName"`

	// Unique access point ID.
	AccessPointId *string `json:"AccessPointId,omitnil,omitempty" name:"AccessPointId"`

	// Access point status. Valid values: available, unavailable.
	State *string `json:"State,omitnil,omitempty" name:"State"`

	// Access point location.
	Location *string `json:"Location,omitnil,omitempty" name:"Location"`

	// List of ISPs supported by access point.
	LineOperator []*string `json:"LineOperator,omitnil,omitempty" name:"LineOperator"`

	// ID of the region that manages the access point.
	RegionId *string `json:"RegionId,omitnil,omitempty" name:"RegionId"`

	// Available port type at the access point. Valid values: 1000BASE-T: gigabit electrical port; 1000BASE-LX: 10 km gigabit single-mode optical port; 1000BASE-ZX: 80 km gigabit single-mode optical port; 10GBASE-LR: 10 km 10-gigabit single-mode optical port; 10GBASE-ZR: 80 km 10-gigabit single-mode optical port; 10GBASE-LH: 40 km 10-gigabit single-mode optical port; 100GBASE-LR4: 10 km 100-gigabit single-mode optical portfiber optic port.
	// Note: this field may return `null`, indicating that no valid value is obtained.
	AvailablePortType []*string `json:"AvailablePortType,omitnil,omitempty" name:"AvailablePortType"`

	// Latitude and longitude of the access point
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Coordinate *Coordinate `json:"Coordinate,omitnil,omitempty" name:"Coordinate"`

	// City where the access point is located
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	City *string `json:"City,omitnil,omitempty" name:"City"`

	// Access point region
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`

	// Access point type. Valid values: `VXLAN`, `QCPL`, and `QCAR`.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	AccessPointType *string `json:"AccessPointType,omitnil,omitempty" name:"AccessPointType"`
}

type ApplyInternetAddressRequest

type ApplyInternetAddressRequest struct {
	*tchttp.BaseRequest

	// Mask length of a CIDR block
	MaskLen *int64 `json:"MaskLen,omitnil,omitempty" name:"MaskLen"`

	// Address type. Valid values: 0: BGP
	// 1: China Telecom
	// 2: China Mobile
	// 3: China Unicom
	AddrType *int64 `json:"AddrType,omitnil,omitempty" name:"AddrType"`

	// Address protocol. Valid values: 0: IPv4
	// 1: IPv6
	AddrProto *int64 `json:"AddrProto,omitnil,omitempty" name:"AddrProto"`
}

func NewApplyInternetAddressRequest

func NewApplyInternetAddressRequest() (request *ApplyInternetAddressRequest)

func (*ApplyInternetAddressRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ApplyInternetAddressRequest) ToJsonString

func (r *ApplyInternetAddressRequest) ToJsonString() string

type ApplyInternetAddressRequestParams

type ApplyInternetAddressRequestParams struct {
	// Mask length of a CIDR block
	MaskLen *int64 `json:"MaskLen,omitnil,omitempty" name:"MaskLen"`

	// Address type. Valid values: 0: BGP
	// 1: China Telecom
	// 2: China Mobile
	// 3: China Unicom
	AddrType *int64 `json:"AddrType,omitnil,omitempty" name:"AddrType"`

	// Address protocol. Valid values: 0: IPv4
	// 1: IPv6
	AddrProto *int64 `json:"AddrProto,omitnil,omitempty" name:"AddrProto"`
}

Predefined struct for user

type ApplyInternetAddressResponse

type ApplyInternetAddressResponse struct {
	*tchttp.BaseResponse
	Response *ApplyInternetAddressResponseParams `json:"Response"`
}

func NewApplyInternetAddressResponse

func NewApplyInternetAddressResponse() (response *ApplyInternetAddressResponse)

func (*ApplyInternetAddressResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ApplyInternetAddressResponse) ToJsonString

func (r *ApplyInternetAddressResponse) ToJsonString() string

type ApplyInternetAddressResponseParams

type ApplyInternetAddressResponseParams struct {
	// ID of the internet tunnel’s public IP address
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type BFDInfo

type BFDInfo struct {
	// Number of health checks
	ProbeFailedTimes *int64 `json:"ProbeFailedTimes,omitnil,omitempty" name:"ProbeFailedTimes"`

	// Health check interval
	Interval *int64 `json:"Interval,omitnil,omitempty" name:"Interval"`
}

type BgpPeer

type BgpPeer struct {
	// User-side BGP Asn.
	Asn *int64 `json:"Asn,omitnil,omitempty" name:"Asn"`

	// User-side BGP key.
	AuthKey *string `json:"AuthKey,omitnil,omitempty" name:"AuthKey"`
}

type Client

type Client struct {
	common.Client
}

func NewClient

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

func NewClientWithSecretId

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

Deprecated

func (*Client) AcceptDirectConnectTunnel

func (c *Client) AcceptDirectConnectTunnel(request *AcceptDirectConnectTunnelRequest) (response *AcceptDirectConnectTunnelResponse, err error)

AcceptDirectConnectTunnel This API is used to accept an application for a dedicated tunnel.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_DIRECTCONNECTTUNNELIDISNOTEXIST = "ResourceNotFound.DirectConnectTunnelIdIsNotExist"
UNSUPPORTEDOPERATION_STATECONFLICT = "UnsupportedOperation.StateConfLict"

func (*Client) AcceptDirectConnectTunnelWithContext

func (c *Client) AcceptDirectConnectTunnelWithContext(ctx context.Context, request *AcceptDirectConnectTunnelRequest) (response *AcceptDirectConnectTunnelResponse, err error)

AcceptDirectConnectTunnel This API is used to accept an application for a dedicated tunnel.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_DIRECTCONNECTTUNNELIDISNOTEXIST = "ResourceNotFound.DirectConnectTunnelIdIsNotExist"
UNSUPPORTEDOPERATION_STATECONFLICT = "UnsupportedOperation.StateConfLict"

func (*Client) ApplyInternetAddress

func (c *Client) ApplyInternetAddress(request *ApplyInternetAddressRequest) (response *ApplyInternetAddressResponse, err error)

ApplyInternetAddress This API is used to apply for an internet tunnel’s CIDR block.

error code that may be returned:

LIMITEXCEEDED = "LimitExceeded"

func (*Client) ApplyInternetAddressWithContext

func (c *Client) ApplyInternetAddressWithContext(ctx context.Context, request *ApplyInternetAddressRequest) (response *ApplyInternetAddressResponse, err error)

ApplyInternetAddress This API is used to apply for an internet tunnel’s CIDR block.

error code that may be returned:

LIMITEXCEEDED = "LimitExceeded"

func (*Client) CreateDirectConnect

func (c *Client) CreateDirectConnect(request *CreateDirectConnectRequest) (response *CreateDirectConnectResponse, err error)

CreateDirectConnect This API is used to apply for a connection.

When calling this API, please note that:

You need to complete identity verification for your account; otherwise, you cannot apply for a connection;

If there is any connection in arrears under your account, you cannot apply for more connections.

error code that may be returned:

INTERNALERROR = "InternalError"
LIMITEXCEEDED = "LimitExceeded"
LIMITEXCEEDED_DIRECTCONNECTLIMITEXCEEDED = "LimitExceeded.DirectConnectLimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateDirectConnectTunnel

func (c *Client) CreateDirectConnectTunnel(request *CreateDirectConnectTunnelRequest) (response *CreateDirectConnectTunnelResponse, err error)

CreateDirectConnectTunnel This API is used to create a dedicated tunnel.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_ADDRESSERROR = "InvalidParameter.AddressError"
INVALIDPARAMETER_DIRECTCONNECTIDISNOTUIN = "InvalidParameter.DirectConnectIdIsNotUin"
INVALIDPARAMETER_UINISNOTEXIST = "InvalidParameter.UinIsNotExist"
INVALIDPARAMETER_VLANCONFLICT = "InvalidParameter.VlanConflict"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_VLANCONFLICT = "InvalidParameterValue.VlanConfLict"
LIMITEXCEEDED = "LimitExceeded"
LIMITEXCEEDED_DIRECTCONNECTLIMITEXCEEDED = "LimitExceeded.DirectConnectLimitExceeded"
LIMITEXCEEDED_DIRECTCONNECTTUNNELLIMITEXCEEDED = "LimitExceeded.DirectConnectTunnelLimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE_DCVPCISEXIST = "ResourceInUse.DcVpcIsExist"
RESOURCEUNAVAILABLE_INSUFFICIENTBALANCE = "ResourceUnavailable.InsufficientBalance"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_CROSSBORDERDIRECTCONNECTTUNNEL = "UnsupportedOperation.CrossBorderDirectConnectTunnel"

func (*Client) CreateDirectConnectTunnelWithContext

func (c *Client) CreateDirectConnectTunnelWithContext(ctx context.Context, request *CreateDirectConnectTunnelRequest) (response *CreateDirectConnectTunnelResponse, err error)

CreateDirectConnectTunnel This API is used to create a dedicated tunnel.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_ADDRESSERROR = "InvalidParameter.AddressError"
INVALIDPARAMETER_DIRECTCONNECTIDISNOTUIN = "InvalidParameter.DirectConnectIdIsNotUin"
INVALIDPARAMETER_UINISNOTEXIST = "InvalidParameter.UinIsNotExist"
INVALIDPARAMETER_VLANCONFLICT = "InvalidParameter.VlanConflict"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_VLANCONFLICT = "InvalidParameterValue.VlanConfLict"
LIMITEXCEEDED = "LimitExceeded"
LIMITEXCEEDED_DIRECTCONNECTLIMITEXCEEDED = "LimitExceeded.DirectConnectLimitExceeded"
LIMITEXCEEDED_DIRECTCONNECTTUNNELLIMITEXCEEDED = "LimitExceeded.DirectConnectTunnelLimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE_DCVPCISEXIST = "ResourceInUse.DcVpcIsExist"
RESOURCEUNAVAILABLE_INSUFFICIENTBALANCE = "ResourceUnavailable.InsufficientBalance"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_CROSSBORDERDIRECTCONNECTTUNNEL = "UnsupportedOperation.CrossBorderDirectConnectTunnel"

func (*Client) CreateDirectConnectWithContext

func (c *Client) CreateDirectConnectWithContext(ctx context.Context, request *CreateDirectConnectRequest) (response *CreateDirectConnectResponse, err error)

CreateDirectConnect This API is used to apply for a connection.

When calling this API, please note that:

You need to complete identity verification for your account; otherwise, you cannot apply for a connection;

If there is any connection in arrears under your account, you cannot apply for more connections.

error code that may be returned:

INTERNALERROR = "InternalError"
LIMITEXCEEDED = "LimitExceeded"
LIMITEXCEEDED_DIRECTCONNECTLIMITEXCEEDED = "LimitExceeded.DirectConnectLimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteDirectConnect

func (c *Client) DeleteDirectConnect(request *DeleteDirectConnectRequest) (response *DeleteDirectConnectResponse, err error)

DeleteDirectConnect This API is used to delete a connection.

Only connected connections can be deleted.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_DIRECTCONNECTIDISNOTUIN = "InvalidParameter.DirectConnectIdIsNotUin"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_STATECONFLICT = "UnsupportedOperation.StateConfLict"

func (*Client) DeleteDirectConnectTunnel

func (c *Client) DeleteDirectConnectTunnel(request *DeleteDirectConnectTunnelRequest) (response *DeleteDirectConnectTunnelResponse, err error)

DeleteDirectConnectTunnel This API is used to delete a dedicated tunnel.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_DIRECTCONNECTTUNNELIDISNOTEXIST = "ResourceNotFound.DirectConnectTunnelIdIsNotExist"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_STATECONFLICT = "UnsupportedOperation.StateConfLict"

func (*Client) DeleteDirectConnectTunnelWithContext

func (c *Client) DeleteDirectConnectTunnelWithContext(ctx context.Context, request *DeleteDirectConnectTunnelRequest) (response *DeleteDirectConnectTunnelResponse, err error)

DeleteDirectConnectTunnel This API is used to delete a dedicated tunnel.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_DIRECTCONNECTTUNNELIDISNOTEXIST = "ResourceNotFound.DirectConnectTunnelIdIsNotExist"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_STATECONFLICT = "UnsupportedOperation.StateConfLict"

func (*Client) DeleteDirectConnectWithContext

func (c *Client) DeleteDirectConnectWithContext(ctx context.Context, request *DeleteDirectConnectRequest) (response *DeleteDirectConnectResponse, err error)

DeleteDirectConnect This API is used to delete a connection.

Only connected connections can be deleted.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_DIRECTCONNECTIDISNOTUIN = "InvalidParameter.DirectConnectIdIsNotUin"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_STATECONFLICT = "UnsupportedOperation.StateConfLict"

func (*Client) DescribeAccessPoints

func (c *Client) DescribeAccessPoints(request *DescribeAccessPointsRequest) (response *DescribeAccessPointsResponse, err error)

DescribeAccessPoints This API is used to query connection access points.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeAccessPointsWithContext

func (c *Client) DescribeAccessPointsWithContext(ctx context.Context, request *DescribeAccessPointsRequest) (response *DescribeAccessPointsResponse, err error)

DescribeAccessPoints This API is used to query connection access points.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeDirectConnectTunnels

func (c *Client) DescribeDirectConnectTunnels(request *DescribeDirectConnectTunnelsRequest) (response *DescribeDirectConnectTunnelsResponse, err error)

DescribeDirectConnectTunnels This API is used to query the list of dedicated tunnels.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
INTERNALERROR = "InternalError"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_DIRECTCONNECTTUNNELIDISNOTEXIST = "ResourceNotFound.DirectConnectTunnelIdIsNotExist"

func (*Client) DescribeDirectConnectTunnelsWithContext

func (c *Client) DescribeDirectConnectTunnelsWithContext(ctx context.Context, request *DescribeDirectConnectTunnelsRequest) (response *DescribeDirectConnectTunnelsResponse, err error)

DescribeDirectConnectTunnels This API is used to query the list of dedicated tunnels.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
INTERNALERROR = "InternalError"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_DIRECTCONNECTTUNNELIDISNOTEXIST = "ResourceNotFound.DirectConnectTunnelIdIsNotExist"

func (*Client) DescribeDirectConnects

func (c *Client) DescribeDirectConnects(request *DescribeDirectConnectsRequest) (response *DescribeDirectConnectsResponse, err error)

DescribeDirectConnects This API is used to query the list of connections.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeDirectConnectsWithContext

func (c *Client) DescribeDirectConnectsWithContext(ctx context.Context, request *DescribeDirectConnectsRequest) (response *DescribeDirectConnectsResponse, err error)

DescribeDirectConnects This API is used to query the list of connections.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeInternetAddress

func (c *Client) DescribeInternetAddress(request *DescribeInternetAddressRequest) (response *DescribeInternetAddressResponse, err error)

DescribeInternetAddress This API is used to obtain the public IP address of an internet tunnel.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeInternetAddressQuota

func (c *Client) DescribeInternetAddressQuota(request *DescribeInternetAddressQuotaRequest) (response *DescribeInternetAddressQuotaResponse, err error)

DescribeInternetAddressQuota This API is used to obtain the public IP quota of internet tunnels.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeInternetAddressQuotaWithContext

func (c *Client) DescribeInternetAddressQuotaWithContext(ctx context.Context, request *DescribeInternetAddressQuotaRequest) (response *DescribeInternetAddressQuotaResponse, err error)

DescribeInternetAddressQuota This API is used to obtain the public IP quota of internet tunnels.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeInternetAddressStatistics

func (c *Client) DescribeInternetAddressStatistics(request *DescribeInternetAddressStatisticsRequest) (response *DescribeInternetAddressStatisticsResponse, err error)

DescribeInternetAddressStatistics This API is used to obtain the public IP address assignment statistics of internet tunnels.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeInternetAddressStatisticsWithContext

func (c *Client) DescribeInternetAddressStatisticsWithContext(ctx context.Context, request *DescribeInternetAddressStatisticsRequest) (response *DescribeInternetAddressStatisticsResponse, err error)

DescribeInternetAddressStatistics This API is used to obtain the public IP address assignment statistics of internet tunnels.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeInternetAddressWithContext

func (c *Client) DescribeInternetAddressWithContext(ctx context.Context, request *DescribeInternetAddressRequest) (response *DescribeInternetAddressResponse, err error)

DescribeInternetAddress This API is used to obtain the public IP address of an internet tunnel.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DisableInternetAddress

func (c *Client) DisableInternetAddress(request *DisableInternetAddressRequest) (response *DisableInternetAddressResponse, err error)

DisableInternetAddress This API is used to disable a public IP address of internet tunnels.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DisableInternetAddressWithContext

func (c *Client) DisableInternetAddressWithContext(ctx context.Context, request *DisableInternetAddressRequest) (response *DisableInternetAddressResponse, err error)

DisableInternetAddress This API is used to disable a public IP address of internet tunnels.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) EnableInternetAddress

func (c *Client) EnableInternetAddress(request *EnableInternetAddressRequest) (response *EnableInternetAddressResponse, err error)

EnableInternetAddress This API is used to enable a public IP address for internet tunnels.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) EnableInternetAddressWithContext

func (c *Client) EnableInternetAddressWithContext(ctx context.Context, request *EnableInternetAddressRequest) (response *EnableInternetAddressResponse, err error)

EnableInternetAddress This API is used to enable a public IP address for internet tunnels.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyDirectConnectAttribute

func (c *Client) ModifyDirectConnectAttribute(request *ModifyDirectConnectAttributeRequest) (response *ModifyDirectConnectAttributeResponse, err error)

ModifyDirectConnectAttribute This API is used to modify connection attributes.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_DIRECTCONNECTIDISNOTUIN = "InvalidParameter.DirectConnectIdIsNotUin"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_INSUFFICIENTBALANCE = "ResourceUnavailable.InsufficientBalance"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyDirectConnectAttributeWithContext

func (c *Client) ModifyDirectConnectAttributeWithContext(ctx context.Context, request *ModifyDirectConnectAttributeRequest) (response *ModifyDirectConnectAttributeResponse, err error)

ModifyDirectConnectAttribute This API is used to modify connection attributes.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_DIRECTCONNECTIDISNOTUIN = "InvalidParameter.DirectConnectIdIsNotUin"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_INSUFFICIENTBALANCE = "ResourceUnavailable.InsufficientBalance"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyDirectConnectTunnelAttribute

func (c *Client) ModifyDirectConnectTunnelAttribute(request *ModifyDirectConnectTunnelAttributeRequest) (response *ModifyDirectConnectTunnelAttributeResponse, err error)

ModifyDirectConnectTunnelAttribute This API is used to modify the dedicated tunnel attributes.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_DIRECTCONNECTTUNNELIDISNOTEXIST = "ResourceNotFound.DirectConnectTunnelIdIsNotExist"
UNSUPPORTEDOPERATION_STATECONFLICT = "UnsupportedOperation.StateConfLict"

func (*Client) ModifyDirectConnectTunnelAttributeWithContext

func (c *Client) ModifyDirectConnectTunnelAttributeWithContext(ctx context.Context, request *ModifyDirectConnectTunnelAttributeRequest) (response *ModifyDirectConnectTunnelAttributeResponse, err error)

ModifyDirectConnectTunnelAttribute This API is used to modify the dedicated tunnel attributes.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_DIRECTCONNECTTUNNELIDISNOTEXIST = "ResourceNotFound.DirectConnectTunnelIdIsNotExist"
UNSUPPORTEDOPERATION_STATECONFLICT = "UnsupportedOperation.StateConfLict"

func (*Client) RejectDirectConnectTunnel

func (c *Client) RejectDirectConnectTunnel(request *RejectDirectConnectTunnelRequest) (response *RejectDirectConnectTunnelResponse, err error)

RejectDirectConnectTunnel This API is used to reject an application for a dedicated tunnel.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND_DIRECTCONNECTTUNNELIDISNOTEXIST = "ResourceNotFound.DirectConnectTunnelIdIsNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION_STATECONFLICT = "UnsupportedOperation.StateConfLict"

func (*Client) RejectDirectConnectTunnelWithContext

func (c *Client) RejectDirectConnectTunnelWithContext(ctx context.Context, request *RejectDirectConnectTunnelRequest) (response *RejectDirectConnectTunnelResponse, err error)

RejectDirectConnectTunnel This API is used to reject an application for a dedicated tunnel.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND_DIRECTCONNECTTUNNELIDISNOTEXIST = "ResourceNotFound.DirectConnectTunnelIdIsNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION_STATECONFLICT = "UnsupportedOperation.StateConfLict"

func (*Client) ReleaseInternetAddress

func (c *Client) ReleaseInternetAddress(request *ReleaseInternetAddressRequest) (response *ReleaseInternetAddressResponse, err error)

ReleaseInternetAddress This API is used to release an IP address of internet tunnels.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND_DIRECTCONNECTTUNNELIDISNOTEXIST = "ResourceNotFound.DirectConnectTunnelIdIsNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION_STATECONFLICT = "UnsupportedOperation.StateConfLict"

func (*Client) ReleaseInternetAddressWithContext

func (c *Client) ReleaseInternetAddressWithContext(ctx context.Context, request *ReleaseInternetAddressRequest) (response *ReleaseInternetAddressResponse, err error)

ReleaseInternetAddress This API is used to release an IP address of internet tunnels.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND_DIRECTCONNECTTUNNELIDISNOTEXIST = "ResourceNotFound.DirectConnectTunnelIdIsNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION_STATECONFLICT = "UnsupportedOperation.StateConfLict"

type Coordinate

type Coordinate struct {
	// Latitude
	Lat *float64 `json:"Lat,omitnil,omitempty" name:"Lat"`

	// Longitude
	Lng *float64 `json:"Lng,omitnil,omitempty" name:"Lng"`
}

type CreateDirectConnectRequest

type CreateDirectConnectRequest struct {
	*tchttp.BaseRequest

	// Connection name.
	DirectConnectName *string `json:"DirectConnectName,omitnil,omitempty" name:"DirectConnectName"`

	// Access point of connection.
	// You can call `DescribeAccessPoints` to get the region ID. The selected access point must exist and be available.
	AccessPointId *string `json:"AccessPointId,omitnil,omitempty" name:"AccessPointId"`

	// ISP that provides connections. Valid values: ChinaTelecom (China Telecom), ChinaMobile (China Mobile), ChinaUnicom (China Unicom), In-houseWiring (in-house wiring), ChinaOther (other Chinese ISPs), InternationalOperator (international ISPs).
	LineOperator *string `json:"LineOperator,omitnil,omitempty" name:"LineOperator"`

	// Port type of connection. Valid values: 100Base-T (100-Megabit electrical Ethernet interface), 1000Base-T (1-Gigabit electrical Ethernet interface), 1000Base-LX (1-Gigabit single-module optical Ethernet interface; 10 KM), 10GBase-T (10-Gigabit electrical Ethernet interface), 10GBase-LR (10-Gigabit single-module optical Ethernet interface; 10 KM). Default value: 1000Base-LX.
	PortType *string `json:"PortType,omitnil,omitempty" name:"PortType"`

	// Circuit code of a connection, which is provided by the ISP or connection provider.
	CircuitCode *string `json:"CircuitCode,omitnil,omitempty" name:"CircuitCode"`

	// Local IDC location.
	Location *string `json:"Location,omitnil,omitempty" name:"Location"`

	// Connection port bandwidth in Mbps. Value range: [2,10240]. Default value: 1000.
	Bandwidth *int64 `json:"Bandwidth,omitnil,omitempty" name:"Bandwidth"`

	// ID of redundant connection.
	RedundantDirectConnectId *string `json:"RedundantDirectConnectId,omitnil,omitempty" name:"RedundantDirectConnectId"`

	// VLAN for connection debugging, which is enabled and automatically assigned by default.
	Vlan *int64 `json:"Vlan,omitnil,omitempty" name:"Vlan"`

	// Tencent-side IP address for connection debugging, which is automatically assigned by default.
	TencentAddress *string `json:"TencentAddress,omitnil,omitempty" name:"TencentAddress"`

	// User-side IP address for connection debugging, which is automatically assigned by default.
	CustomerAddress *string `json:"CustomerAddress,omitnil,omitempty" name:"CustomerAddress"`

	// Name of connection applicant, which is obtained from the account system by default.
	CustomerName *string `json:"CustomerName,omitnil,omitempty" name:"CustomerName"`

	// Email address of connection applicant, which is obtained from the account system by default.
	CustomerContactMail *string `json:"CustomerContactMail,omitnil,omitempty" name:"CustomerContactMail"`

	// Contact number of connection applicant, which is obtained from the account system by default.
	CustomerContactNumber *string `json:"CustomerContactNumber,omitnil,omitempty" name:"CustomerContactNumber"`

	// Fault reporting contact person.
	FaultReportContactPerson *string `json:"FaultReportContactPerson,omitnil,omitempty" name:"FaultReportContactPerson"`

	// Fault reporting contact number.
	FaultReportContactNumber *string `json:"FaultReportContactNumber,omitnil,omitempty" name:"FaultReportContactNumber"`

	// Whether the connection applicant has signed the service agreement. Default value: true.
	SignLaw *bool `json:"SignLaw,omitnil,omitempty" name:"SignLaw"`
}

func NewCreateDirectConnectRequest

func NewCreateDirectConnectRequest() (request *CreateDirectConnectRequest)

func (*CreateDirectConnectRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateDirectConnectRequest) ToJsonString

func (r *CreateDirectConnectRequest) ToJsonString() string

type CreateDirectConnectRequestParams

type CreateDirectConnectRequestParams struct {
	// Connection name.
	DirectConnectName *string `json:"DirectConnectName,omitnil,omitempty" name:"DirectConnectName"`

	// Access point of connection.
	// You can call `DescribeAccessPoints` to get the region ID. The selected access point must exist and be available.
	AccessPointId *string `json:"AccessPointId,omitnil,omitempty" name:"AccessPointId"`

	// ISP that provides connections. Valid values: ChinaTelecom (China Telecom), ChinaMobile (China Mobile), ChinaUnicom (China Unicom), In-houseWiring (in-house wiring), ChinaOther (other Chinese ISPs), InternationalOperator (international ISPs).
	LineOperator *string `json:"LineOperator,omitnil,omitempty" name:"LineOperator"`

	// Port type of connection. Valid values: 100Base-T (100-Megabit electrical Ethernet interface), 1000Base-T (1-Gigabit electrical Ethernet interface), 1000Base-LX (1-Gigabit single-module optical Ethernet interface; 10 KM), 10GBase-T (10-Gigabit electrical Ethernet interface), 10GBase-LR (10-Gigabit single-module optical Ethernet interface; 10 KM). Default value: 1000Base-LX.
	PortType *string `json:"PortType,omitnil,omitempty" name:"PortType"`

	// Circuit code of a connection, which is provided by the ISP or connection provider.
	CircuitCode *string `json:"CircuitCode,omitnil,omitempty" name:"CircuitCode"`

	// Local IDC location.
	Location *string `json:"Location,omitnil,omitempty" name:"Location"`

	// Connection port bandwidth in Mbps. Value range: [2,10240]. Default value: 1000.
	Bandwidth *int64 `json:"Bandwidth,omitnil,omitempty" name:"Bandwidth"`

	// ID of redundant connection.
	RedundantDirectConnectId *string `json:"RedundantDirectConnectId,omitnil,omitempty" name:"RedundantDirectConnectId"`

	// VLAN for connection debugging, which is enabled and automatically assigned by default.
	Vlan *int64 `json:"Vlan,omitnil,omitempty" name:"Vlan"`

	// Tencent-side IP address for connection debugging, which is automatically assigned by default.
	TencentAddress *string `json:"TencentAddress,omitnil,omitempty" name:"TencentAddress"`

	// User-side IP address for connection debugging, which is automatically assigned by default.
	CustomerAddress *string `json:"CustomerAddress,omitnil,omitempty" name:"CustomerAddress"`

	// Name of connection applicant, which is obtained from the account system by default.
	CustomerName *string `json:"CustomerName,omitnil,omitempty" name:"CustomerName"`

	// Email address of connection applicant, which is obtained from the account system by default.
	CustomerContactMail *string `json:"CustomerContactMail,omitnil,omitempty" name:"CustomerContactMail"`

	// Contact number of connection applicant, which is obtained from the account system by default.
	CustomerContactNumber *string `json:"CustomerContactNumber,omitnil,omitempty" name:"CustomerContactNumber"`

	// Fault reporting contact person.
	FaultReportContactPerson *string `json:"FaultReportContactPerson,omitnil,omitempty" name:"FaultReportContactPerson"`

	// Fault reporting contact number.
	FaultReportContactNumber *string `json:"FaultReportContactNumber,omitnil,omitempty" name:"FaultReportContactNumber"`

	// Whether the connection applicant has signed the service agreement. Default value: true.
	SignLaw *bool `json:"SignLaw,omitnil,omitempty" name:"SignLaw"`
}

Predefined struct for user

type CreateDirectConnectResponse

type CreateDirectConnectResponse struct {
	*tchttp.BaseResponse
	Response *CreateDirectConnectResponseParams `json:"Response"`
}

func NewCreateDirectConnectResponse

func NewCreateDirectConnectResponse() (response *CreateDirectConnectResponse)

func (*CreateDirectConnectResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateDirectConnectResponse) ToJsonString

func (r *CreateDirectConnectResponse) ToJsonString() string

type CreateDirectConnectResponseParams

type CreateDirectConnectResponseParams struct {
	// Connection ID.
	DirectConnectIdSet []*string `json:"DirectConnectIdSet,omitnil,omitempty" name:"DirectConnectIdSet"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateDirectConnectTunnelRequest

type CreateDirectConnectTunnelRequest struct {
	*tchttp.BaseRequest

	// Direct Connect ID, such as `dc-kd7d06of`.
	DirectConnectId *string `json:"DirectConnectId,omitnil,omitempty" name:"DirectConnectId"`

	// Dedicated tunnel name.
	DirectConnectTunnelName *string `json:"DirectConnectTunnelName,omitnil,omitempty" name:"DirectConnectTunnelName"`

	// Connection owner, who is the current customer by default.
	// The developer account ID should be entered for shared connections.
	DirectConnectOwnerAccount *string `json:"DirectConnectOwnerAccount,omitnil,omitempty" name:"DirectConnectOwnerAccount"`

	// Network type. Valid values: VPC, BMVPC, CCN. Default value: VPC.
	// VPC: Virtual Private Cloud.
	// BMVPC: BM VPC.
	// CCN: Cloud Connect Network.
	NetworkType *string `json:"NetworkType,omitnil,omitempty" name:"NetworkType"`

	// Network region.
	NetworkRegion *string `json:"NetworkRegion,omitnil,omitempty" name:"NetworkRegion"`

	// Unified VPC ID or BMVPC ID.
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// Direct connect gateway ID, such as `dcg-d545ddf`.
	DirectConnectGatewayId *string `json:"DirectConnectGatewayId,omitnil,omitempty" name:"DirectConnectGatewayId"`

	// Direct Connect bandwidth in Mbps.
	// Default value: connection bandwidth value.
	Bandwidth *int64 `json:"Bandwidth,omitnil,omitempty" name:"Bandwidth"`

	// BGP: BGP routing.
	// STATIC: Static routing.
	// Default value: BGP routing.
	RouteType *string `json:"RouteType,omitnil,omitempty" name:"RouteType"`

	// BgpPeer, which is BGP information on the user side and includes Asn and AuthKey.
	BgpPeer *BgpPeer `json:"BgpPeer,omitnil,omitempty" name:"BgpPeer"`

	// Static routing, i.e., IP range of the user's IDC.
	RouteFilterPrefixes []*RouteFilterPrefix `json:"RouteFilterPrefixes,omitnil,omitempty" name:"RouteFilterPrefixes"`

	// VLAN. Value range: 0-3,000.
	// 0: sub-interface not enabled.
	// Default value: Non-zero.
	Vlan *int64 `json:"Vlan,omitnil,omitempty" name:"Vlan"`

	// TencentAddress: Tencent-side IP address.
	TencentAddress *string `json:"TencentAddress,omitnil,omitempty" name:"TencentAddress"`

	// CustomerAddress: User-side IP address.
	CustomerAddress *string `json:"CustomerAddress,omitnil,omitempty" name:"CustomerAddress"`

	// TencentBackupAddress, i.e., Tencent-side standby IP address
	TencentBackupAddress *string `json:"TencentBackupAddress,omitnil,omitempty" name:"TencentBackupAddress"`

	// Cloud Attached Connection Service ID
	CloudAttachId *string `json:"CloudAttachId,omitnil,omitempty" name:"CloudAttachId"`

	// Whether to enable BFD
	BfdEnable *int64 `json:"BfdEnable,omitnil,omitempty" name:"BfdEnable"`

	// Whether to enable NQA
	NqaEnable *int64 `json:"NqaEnable,omitnil,omitempty" name:"NqaEnable"`

	// BFD configuration information
	BfdInfo *BFDInfo `json:"BfdInfo,omitnil,omitempty" name:"BfdInfo"`

	// NQA configuration information
	NqaInfo *NQAInfo `json:"NqaInfo,omitnil,omitempty" name:"NqaInfo"`
}

func NewCreateDirectConnectTunnelRequest

func NewCreateDirectConnectTunnelRequest() (request *CreateDirectConnectTunnelRequest)

func (*CreateDirectConnectTunnelRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateDirectConnectTunnelRequest) ToJsonString

func (r *CreateDirectConnectTunnelRequest) ToJsonString() string

type CreateDirectConnectTunnelRequestParams

type CreateDirectConnectTunnelRequestParams struct {
	// Direct Connect ID, such as `dc-kd7d06of`.
	DirectConnectId *string `json:"DirectConnectId,omitnil,omitempty" name:"DirectConnectId"`

	// Dedicated tunnel name.
	DirectConnectTunnelName *string `json:"DirectConnectTunnelName,omitnil,omitempty" name:"DirectConnectTunnelName"`

	// Connection owner, who is the current customer by default.
	// The developer account ID should be entered for shared connections.
	DirectConnectOwnerAccount *string `json:"DirectConnectOwnerAccount,omitnil,omitempty" name:"DirectConnectOwnerAccount"`

	// Network type. Valid values: VPC, BMVPC, CCN. Default value: VPC.
	// VPC: Virtual Private Cloud.
	// BMVPC: BM VPC.
	// CCN: Cloud Connect Network.
	NetworkType *string `json:"NetworkType,omitnil,omitempty" name:"NetworkType"`

	// Network region.
	NetworkRegion *string `json:"NetworkRegion,omitnil,omitempty" name:"NetworkRegion"`

	// Unified VPC ID or BMVPC ID.
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// Direct connect gateway ID, such as `dcg-d545ddf`.
	DirectConnectGatewayId *string `json:"DirectConnectGatewayId,omitnil,omitempty" name:"DirectConnectGatewayId"`

	// Direct Connect bandwidth in Mbps.
	// Default value: connection bandwidth value.
	Bandwidth *int64 `json:"Bandwidth,omitnil,omitempty" name:"Bandwidth"`

	// BGP: BGP routing.
	// STATIC: Static routing.
	// Default value: BGP routing.
	RouteType *string `json:"RouteType,omitnil,omitempty" name:"RouteType"`

	// BgpPeer, which is BGP information on the user side and includes Asn and AuthKey.
	BgpPeer *BgpPeer `json:"BgpPeer,omitnil,omitempty" name:"BgpPeer"`

	// Static routing, i.e., IP range of the user's IDC.
	RouteFilterPrefixes []*RouteFilterPrefix `json:"RouteFilterPrefixes,omitnil,omitempty" name:"RouteFilterPrefixes"`

	// VLAN. Value range: 0-3,000.
	// 0: sub-interface not enabled.
	// Default value: Non-zero.
	Vlan *int64 `json:"Vlan,omitnil,omitempty" name:"Vlan"`

	// TencentAddress: Tencent-side IP address.
	TencentAddress *string `json:"TencentAddress,omitnil,omitempty" name:"TencentAddress"`

	// CustomerAddress: User-side IP address.
	CustomerAddress *string `json:"CustomerAddress,omitnil,omitempty" name:"CustomerAddress"`

	// TencentBackupAddress, i.e., Tencent-side standby IP address
	TencentBackupAddress *string `json:"TencentBackupAddress,omitnil,omitempty" name:"TencentBackupAddress"`

	// Cloud Attached Connection Service ID
	CloudAttachId *string `json:"CloudAttachId,omitnil,omitempty" name:"CloudAttachId"`

	// Whether to enable BFD
	BfdEnable *int64 `json:"BfdEnable,omitnil,omitempty" name:"BfdEnable"`

	// Whether to enable NQA
	NqaEnable *int64 `json:"NqaEnable,omitnil,omitempty" name:"NqaEnable"`

	// BFD configuration information
	BfdInfo *BFDInfo `json:"BfdInfo,omitnil,omitempty" name:"BfdInfo"`

	// NQA configuration information
	NqaInfo *NQAInfo `json:"NqaInfo,omitnil,omitempty" name:"NqaInfo"`
}

Predefined struct for user

type CreateDirectConnectTunnelResponse

type CreateDirectConnectTunnelResponse struct {
	*tchttp.BaseResponse
	Response *CreateDirectConnectTunnelResponseParams `json:"Response"`
}

func NewCreateDirectConnectTunnelResponse

func NewCreateDirectConnectTunnelResponse() (response *CreateDirectConnectTunnelResponse)

func (*CreateDirectConnectTunnelResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateDirectConnectTunnelResponse) ToJsonString

func (r *CreateDirectConnectTunnelResponse) ToJsonString() string

type CreateDirectConnectTunnelResponseParams

type CreateDirectConnectTunnelResponseParams struct {
	// Dedicated tunnel ID.
	DirectConnectTunnelIdSet []*string `json:"DirectConnectTunnelIdSet,omitnil,omitempty" name:"DirectConnectTunnelIdSet"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteDirectConnectRequest

type DeleteDirectConnectRequest struct {
	*tchttp.BaseRequest

	// Connection ID.
	DirectConnectId *string `json:"DirectConnectId,omitnil,omitempty" name:"DirectConnectId"`
}

func NewDeleteDirectConnectRequest

func NewDeleteDirectConnectRequest() (request *DeleteDirectConnectRequest)

func (*DeleteDirectConnectRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteDirectConnectRequest) ToJsonString

func (r *DeleteDirectConnectRequest) ToJsonString() string

type DeleteDirectConnectRequestParams

type DeleteDirectConnectRequestParams struct {
	// Connection ID.
	DirectConnectId *string `json:"DirectConnectId,omitnil,omitempty" name:"DirectConnectId"`
}

Predefined struct for user

type DeleteDirectConnectResponse

type DeleteDirectConnectResponse struct {
	*tchttp.BaseResponse
	Response *DeleteDirectConnectResponseParams `json:"Response"`
}

func NewDeleteDirectConnectResponse

func NewDeleteDirectConnectResponse() (response *DeleteDirectConnectResponse)

func (*DeleteDirectConnectResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteDirectConnectResponse) ToJsonString

func (r *DeleteDirectConnectResponse) ToJsonString() string

type DeleteDirectConnectResponseParams

type DeleteDirectConnectResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteDirectConnectTunnelRequest

type DeleteDirectConnectTunnelRequest struct {
	*tchttp.BaseRequest

	// Dedicated tunnel ID.
	DirectConnectTunnelId *string `json:"DirectConnectTunnelId,omitnil,omitempty" name:"DirectConnectTunnelId"`
}

func NewDeleteDirectConnectTunnelRequest

func NewDeleteDirectConnectTunnelRequest() (request *DeleteDirectConnectTunnelRequest)

func (*DeleteDirectConnectTunnelRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteDirectConnectTunnelRequest) ToJsonString

func (r *DeleteDirectConnectTunnelRequest) ToJsonString() string

type DeleteDirectConnectTunnelRequestParams

type DeleteDirectConnectTunnelRequestParams struct {
	// Dedicated tunnel ID.
	DirectConnectTunnelId *string `json:"DirectConnectTunnelId,omitnil,omitempty" name:"DirectConnectTunnelId"`
}

Predefined struct for user

type DeleteDirectConnectTunnelResponse

type DeleteDirectConnectTunnelResponse struct {
	*tchttp.BaseResponse
	Response *DeleteDirectConnectTunnelResponseParams `json:"Response"`
}

func NewDeleteDirectConnectTunnelResponse

func NewDeleteDirectConnectTunnelResponse() (response *DeleteDirectConnectTunnelResponse)

func (*DeleteDirectConnectTunnelResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteDirectConnectTunnelResponse) ToJsonString

func (r *DeleteDirectConnectTunnelResponse) ToJsonString() string

type DeleteDirectConnectTunnelResponseParams

type DeleteDirectConnectTunnelResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeAccessPointsRequest

type DescribeAccessPointsRequest struct {
	*tchttp.BaseRequest

	// Access point region, which can be queried through `DescribeRegions`.
	//
	// You can call `DescribeRegions` to get the region ID.
	RegionId *string `json:"RegionId,omitnil,omitempty" name:"RegionId"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of results to be returned. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewDescribeAccessPointsRequest

func NewDescribeAccessPointsRequest() (request *DescribeAccessPointsRequest)

func (*DescribeAccessPointsRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAccessPointsRequest) ToJsonString

func (r *DescribeAccessPointsRequest) ToJsonString() string

type DescribeAccessPointsRequestParams

type DescribeAccessPointsRequestParams struct {
	// Access point region, which can be queried through `DescribeRegions`.
	//
	// You can call `DescribeRegions` to get the region ID.
	RegionId *string `json:"RegionId,omitnil,omitempty" name:"RegionId"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of results to be returned. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeAccessPointsResponse

type DescribeAccessPointsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeAccessPointsResponseParams `json:"Response"`
}

func NewDescribeAccessPointsResponse

func NewDescribeAccessPointsResponse() (response *DescribeAccessPointsResponse)

func (*DescribeAccessPointsResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAccessPointsResponse) ToJsonString

func (r *DescribeAccessPointsResponse) ToJsonString() string

type DescribeAccessPointsResponseParams

type DescribeAccessPointsResponseParams struct {
	// Access point information.
	AccessPointSet []*AccessPoint `json:"AccessPointSet,omitnil,omitempty" name:"AccessPointSet"`

	// Number of eligible access points.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDirectConnectTunnelsRequest

type DescribeDirectConnectTunnelsRequest struct {
	*tchttp.BaseRequest

	// Filter conditions:
	// This parameter does not support specifying `DirectConnectTunnelIds` and `Filters` at the same time.
	// <li> direct-connect-tunnel-name: Dedicated tunnel name.</li>
	// <li> direct-connect-tunnel-id: Dedicated tunnel instance ID, such as `dcx-abcdefgh`.</li>
	// <li>direct-connect-id: Connection instance ID, such as `dc-abcdefgh`.</li>
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// Array of dedicated tunnel IDs.
	DirectConnectTunnelIds []*string `json:"DirectConnectTunnelIds,omitnil,omitempty" name:"DirectConnectTunnelIds"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned results. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewDescribeDirectConnectTunnelsRequest

func NewDescribeDirectConnectTunnelsRequest() (request *DescribeDirectConnectTunnelsRequest)

func (*DescribeDirectConnectTunnelsRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDirectConnectTunnelsRequest) ToJsonString

func (r *DescribeDirectConnectTunnelsRequest) ToJsonString() string

type DescribeDirectConnectTunnelsRequestParams

type DescribeDirectConnectTunnelsRequestParams struct {
	// Filter conditions:
	// This parameter does not support specifying `DirectConnectTunnelIds` and `Filters` at the same time.
	// <li> direct-connect-tunnel-name: Dedicated tunnel name.</li>
	// <li> direct-connect-tunnel-id: Dedicated tunnel instance ID, such as `dcx-abcdefgh`.</li>
	// <li>direct-connect-id: Connection instance ID, such as `dc-abcdefgh`.</li>
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// Array of dedicated tunnel IDs.
	DirectConnectTunnelIds []*string `json:"DirectConnectTunnelIds,omitnil,omitempty" name:"DirectConnectTunnelIds"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned results. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeDirectConnectTunnelsResponse

type DescribeDirectConnectTunnelsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDirectConnectTunnelsResponseParams `json:"Response"`
}

func NewDescribeDirectConnectTunnelsResponse

func NewDescribeDirectConnectTunnelsResponse() (response *DescribeDirectConnectTunnelsResponse)

func (*DescribeDirectConnectTunnelsResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDirectConnectTunnelsResponse) ToJsonString

func (r *DescribeDirectConnectTunnelsResponse) ToJsonString() string

type DescribeDirectConnectTunnelsResponseParams

type DescribeDirectConnectTunnelsResponseParams struct {
	// List of dedicated tunnels.
	DirectConnectTunnelSet []*DirectConnectTunnel `json:"DirectConnectTunnelSet,omitnil,omitempty" name:"DirectConnectTunnelSet"`

	// Number of eligible dedicated tunnels.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDirectConnectsRequest

type DescribeDirectConnectsRequest struct {
	*tchttp.BaseRequest

	// Filter conditions:
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// Array of connection IDs.
	DirectConnectIds []*string `json:"DirectConnectIds,omitnil,omitempty" name:"DirectConnectIds"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned results. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewDescribeDirectConnectsRequest

func NewDescribeDirectConnectsRequest() (request *DescribeDirectConnectsRequest)

func (*DescribeDirectConnectsRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDirectConnectsRequest) ToJsonString

func (r *DescribeDirectConnectsRequest) ToJsonString() string

type DescribeDirectConnectsRequestParams

type DescribeDirectConnectsRequestParams struct {
	// Filter conditions:
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// Array of connection IDs.
	DirectConnectIds []*string `json:"DirectConnectIds,omitnil,omitempty" name:"DirectConnectIds"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned results. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeDirectConnectsResponse

type DescribeDirectConnectsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDirectConnectsResponseParams `json:"Response"`
}

func NewDescribeDirectConnectsResponse

func NewDescribeDirectConnectsResponse() (response *DescribeDirectConnectsResponse)

func (*DescribeDirectConnectsResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDirectConnectsResponse) ToJsonString

func (r *DescribeDirectConnectsResponse) ToJsonString() string

type DescribeDirectConnectsResponseParams

type DescribeDirectConnectsResponseParams struct {
	// List of connections.
	DirectConnectSet []*DirectConnect `json:"DirectConnectSet,omitnil,omitempty" name:"DirectConnectSet"`

	// Number of eligible connection lists.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Whether all connections under the account have the service agreement signed.
	// Note: this field may return `null`, indicating that no valid value is obtained.
	AllSignLaw *bool `json:"AllSignLaw,omitnil,omitempty" name:"AllSignLaw"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeInternetAddressQuotaRequest

type DescribeInternetAddressQuotaRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeInternetAddressQuotaRequest

func NewDescribeInternetAddressQuotaRequest() (request *DescribeInternetAddressQuotaRequest)

func (*DescribeInternetAddressQuotaRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInternetAddressQuotaRequest) ToJsonString

func (r *DescribeInternetAddressQuotaRequest) ToJsonString() string

type DescribeInternetAddressQuotaRequestParams

type DescribeInternetAddressQuotaRequestParams struct {
}

Predefined struct for user

type DescribeInternetAddressQuotaResponse

type DescribeInternetAddressQuotaResponse struct {
	*tchttp.BaseResponse
	Response *DescribeInternetAddressQuotaResponseParams `json:"Response"`
}

func NewDescribeInternetAddressQuotaResponse

func NewDescribeInternetAddressQuotaResponse() (response *DescribeInternetAddressQuotaResponse)

func (*DescribeInternetAddressQuotaResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInternetAddressQuotaResponse) ToJsonString

func (r *DescribeInternetAddressQuotaResponse) ToJsonString() string

type DescribeInternetAddressQuotaResponseParams

type DescribeInternetAddressQuotaResponseParams struct {
	// Minimum prefix length allowed for a public IPv6 address
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Ipv6PrefixLen *int64 `json:"Ipv6PrefixLen,omitnil,omitempty" name:"Ipv6PrefixLen"`

	// Quota of BGP IPv4 addresses
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Ipv4BgpQuota *int64 `json:"Ipv4BgpQuota,omitnil,omitempty" name:"Ipv4BgpQuota"`

	// Quota of non-BGP IPv4 addresses
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Ipv4OtherQuota *int64 `json:"Ipv4OtherQuota,omitnil,omitempty" name:"Ipv4OtherQuota"`

	// Used number of BGP IPv4 addresses
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Ipv4BgpNum *int64 `json:"Ipv4BgpNum,omitnil,omitempty" name:"Ipv4BgpNum"`

	// Used number of non-BGP IPv4 addresses
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Ipv4OtherNum *int64 `json:"Ipv4OtherNum,omitnil,omitempty" name:"Ipv4OtherNum"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeInternetAddressRequest

type DescribeInternetAddressRequest struct {
	*tchttp.BaseRequest

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned results. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Filter conditions:
	// <li>AddrType, address type. Valid values: 0: BGP; 1: China Telecom; 2: China Mobile; 3: China Unicom</li>
	// <li>AddrProto, address protocol. Valid values: 0: IPv4; 1: IPv6</li>
	// <li>Status, address status. Valid values: 0: in use; 1: disabled; 2: returned</li>
	// <li>Subnet, public IP address array</li>
	// <InstanceIds>Public IP address ID array</li>
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

func NewDescribeInternetAddressRequest

func NewDescribeInternetAddressRequest() (request *DescribeInternetAddressRequest)

func (*DescribeInternetAddressRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInternetAddressRequest) ToJsonString

func (r *DescribeInternetAddressRequest) ToJsonString() string

type DescribeInternetAddressRequestParams

type DescribeInternetAddressRequestParams struct {
	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned results. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Filter conditions:
	// <li>AddrType, address type. Valid values: 0: BGP; 1: China Telecom; 2: China Mobile; 3: China Unicom</li>
	// <li>AddrProto, address protocol. Valid values: 0: IPv4; 1: IPv6</li>
	// <li>Status, address status. Valid values: 0: in use; 1: disabled; 2: returned</li>
	// <li>Subnet, public IP address array</li>
	// <InstanceIds>Public IP address ID array</li>
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeInternetAddressResponse

type DescribeInternetAddressResponse struct {
	*tchttp.BaseResponse
	Response *DescribeInternetAddressResponseParams `json:"Response"`
}

func NewDescribeInternetAddressResponse

func NewDescribeInternetAddressResponse() (response *DescribeInternetAddressResponse)

func (*DescribeInternetAddressResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInternetAddressResponse) ToJsonString

func (r *DescribeInternetAddressResponse) ToJsonString() string

type DescribeInternetAddressResponseParams

type DescribeInternetAddressResponseParams struct {
	// Number of public IP addresses for internet tunnels
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// List of the public IP addresses for internet tunnels
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Subnets []*InternetAddressDetail `json:"Subnets,omitnil,omitempty" name:"Subnets"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeInternetAddressStatisticsRequest

type DescribeInternetAddressStatisticsRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeInternetAddressStatisticsRequest

func NewDescribeInternetAddressStatisticsRequest() (request *DescribeInternetAddressStatisticsRequest)

func (*DescribeInternetAddressStatisticsRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInternetAddressStatisticsRequest) ToJsonString

type DescribeInternetAddressStatisticsRequestParams

type DescribeInternetAddressStatisticsRequestParams struct {
}

Predefined struct for user

type DescribeInternetAddressStatisticsResponse

type DescribeInternetAddressStatisticsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeInternetAddressStatisticsResponseParams `json:"Response"`
}

func NewDescribeInternetAddressStatisticsResponse

func NewDescribeInternetAddressStatisticsResponse() (response *DescribeInternetAddressStatisticsResponse)

func (*DescribeInternetAddressStatisticsResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInternetAddressStatisticsResponse) ToJsonString

type DescribeInternetAddressStatisticsResponseParams

type DescribeInternetAddressStatisticsResponseParams struct {
	// Number of public IP address statistics for internet tunnels
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// List of the public IP address statistics for internet tunnels
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	InternetAddressStatistics []*InternetAddressStatistics `json:"InternetAddressStatistics,omitnil,omitempty" name:"InternetAddressStatistics"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DirectConnect

type DirectConnect struct {
	// Connection ID.
	DirectConnectId *string `json:"DirectConnectId,omitnil,omitempty" name:"DirectConnectId"`

	// Connection name.
	DirectConnectName *string `json:"DirectConnectName,omitnil,omitempty" name:"DirectConnectName"`

	// Access point ID of a connection.
	AccessPointId *string `json:"AccessPointId,omitnil,omitempty" name:"AccessPointId"`

	// Connection status.
	// PENDING: Applying.
	// REJECTED: Application rejected.
	// TOPAY: Payment pending.
	// PAID: Paid.
	// ALLOCATED: Constructing.
	// AVAILABLE: Available.
	// DELETING: Deleting.
	// DELETED: Deleted.
	State *string `json:"State,omitnil,omitempty" name:"State"`

	// Connection creation time.
	CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"`

	// Connection activation time.
	EnabledTime *string `json:"EnabledTime,omitnil,omitempty" name:"EnabledTime"`

	// ISP that provides connections. Valid values: ChinaTelecom (China Telecom), ChinaMobile (China Mobile), ChinaUnicom (China Unicom), In-houseWiring (in-house wiring), ChinaOther (other Chinese ISPs), InternationalOperator (international ISPs).
	LineOperator *string `json:"LineOperator,omitnil,omitempty" name:"LineOperator"`

	// Location of a local IDC.
	Location *string `json:"Location,omitnil,omitempty" name:"Location"`

	// Connection port bandwidth in Mbps.
	Bandwidth *int64 `json:"Bandwidth,omitnil,omitempty" name:"Bandwidth"`

	// User-side port type of a connection. Valid values: 100Base-T (100-Megabit electrical Ethernet interface), 1000Base-T (1-Gigabit electrical Ethernet interface; it is the default value), 1000Base-LX (1-Gigabit single-mode optical Ethernet interface; 10 KM), 10GBase-T (10-Gigabit electrical Ethernet interface), 10GBase-LR (10-Gigabit single-mode optical Ethernet interface; 10 KM).
	PortType *string `json:"PortType,omitnil,omitempty" name:"PortType"`

	// Circuit code of a connection, which is provided by the ISP or service provider.
	// Note: this field may return null, indicating that no valid values can be obtained.
	CircuitCode *string `json:"CircuitCode,omitnil,omitempty" name:"CircuitCode"`

	// ID of a redundant connection.
	RedundantDirectConnectId *string `json:"RedundantDirectConnectId,omitnil,omitempty" name:"RedundantDirectConnectId"`

	// VLAN for connection debugging, which is enabled and automatically assigned by default.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Vlan *int64 `json:"Vlan,omitnil,omitempty" name:"Vlan"`

	// Tencent-side IP address for connection debugging.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TencentAddress *string `json:"TencentAddress,omitnil,omitempty" name:"TencentAddress"`

	// User-side IP address for connection debugging.
	// Note: this field may return null, indicating that no valid values can be obtained.
	CustomerAddress *string `json:"CustomerAddress,omitnil,omitempty" name:"CustomerAddress"`

	// Name of the connection applicant, which is obtained from the account system by default.
	// Note: this field may return null, indicating that no valid values can be obtained.
	CustomerName *string `json:"CustomerName,omitnil,omitempty" name:"CustomerName"`

	// Email address of the connection applicant, which is obtained from the account system by default.
	// Note: this field may return null, indicating that no valid values can be obtained.
	CustomerContactMail *string `json:"CustomerContactMail,omitnil,omitempty" name:"CustomerContactMail"`

	// Contact number of the connection applicant, which is obtained from the account system by default.
	// Note: this field may return null, indicating that no valid values can be obtained.
	CustomerContactNumber *string `json:"CustomerContactNumber,omitnil,omitempty" name:"CustomerContactNumber"`

	// Connection expiration time.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ExpiredTime *string `json:"ExpiredTime,omitnil,omitempty" name:"ExpiredTime"`

	// Connection billing mode. NON_RECURRING_CHARGE: One-time charge for accessing service
	// Note: this field may return null, indicating that no valid values can be obtained.
	ChargeType *string `json:"ChargeType,omitnil,omitempty" name:"ChargeType"`

	// Fault reporting contact person.
	// Note: this field may return null, indicating that no valid values can be obtained.
	FaultReportContactPerson *string `json:"FaultReportContactPerson,omitnil,omitempty" name:"FaultReportContactPerson"`

	// Fault reporting contact number.
	// Note: this field may return null, indicating that no valid values can be obtained.
	FaultReportContactNumber *string `json:"FaultReportContactNumber,omitnil,omitempty" name:"FaultReportContactNumber"`

	// Tag key-value pair
	// Note: this field may return null, indicating that no valid values can be obtained.
	TagSet []*Tag `json:"TagSet,omitnil,omitempty" name:"TagSet"`

	// Access point type of a connection.
	AccessPointType *string `json:"AccessPointType,omitnil,omitempty" name:"AccessPointType"`

	// IDC city.
	// Note: this field may return null, indicating that no valid values can be obtained.
	IdcCity *string `json:"IdcCity,omitnil,omitempty" name:"IdcCity"`

	// Billing status
	// Note: this field may return null, indicating that no valid values can be obtained.
	ChargeState *string `json:"ChargeState,omitnil,omitempty" name:"ChargeState"`

	// Connection activation time.
	// Note: this field may return null, indicating that no valid values can be obtained.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Whether the connection has the service agreement signed.
	// Note: this field may return `null`, indicating that no valid value is obtained.
	SignLaw *bool `json:"SignLaw,omitnil,omitempty" name:"SignLaw"`

	// Whether the connection is an edge zone.
	// Note: this field may return `null`, indicating that no valid value is obtained.
	LocalZone *bool `json:"LocalZone,omitnil,omitempty" name:"LocalZone"`

	// Number of dedicated tunnels with disabled VLAN in the connection
	// Note: this field may return `null`, indicating that no valid value can be found.
	VlanZeroDirectConnectTunnelCount *uint64 `json:"VlanZeroDirectConnectTunnelCount,omitnil,omitempty" name:"VlanZeroDirectConnectTunnelCount"`

	// Number of dedicated tunnels with enabled VLAN in the connection
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	OtherVlanDirectConnectTunnelCount *uint64 `json:"OtherVlanDirectConnectTunnelCount,omitnil,omitempty" name:"OtherVlanDirectConnectTunnelCount"`

	// Minimum bandwidth of the connection
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	MinBandwidth *uint64 `json:"MinBandwidth,omitnil,omitempty" name:"MinBandwidth"`
}

type DirectConnectTunnel

type DirectConnectTunnel struct {
	// Dedicated tunnel ID.
	DirectConnectTunnelId *string `json:"DirectConnectTunnelId,omitnil,omitempty" name:"DirectConnectTunnelId"`

	// Connection ID.
	DirectConnectId *string `json:"DirectConnectId,omitnil,omitempty" name:"DirectConnectId"`

	// Dedicated tunnel status.
	// AVAILABLE: Ready or connected.
	// PENDING: Applying.
	// ALLOCATING: Configuring.
	// ALLOCATED: Configured.
	// ALTERING: Modifying.
	// DELETING: Deleting.
	// DELETED: Deleted.
	// COMFIRMING: To be accepted.
	// REJECTED: Rejected.
	State *string `json:"State,omitnil,omitempty" name:"State"`

	// Connection owner, i.e., developer account ID.
	DirectConnectOwnerAccount *string `json:"DirectConnectOwnerAccount,omitnil,omitempty" name:"DirectConnectOwnerAccount"`

	// Dedicated tunnel owner, i.e., developer account ID.
	OwnerAccount *string `json:"OwnerAccount,omitnil,omitempty" name:"OwnerAccount"`

	// Network type. Valid values: VPC, BMVPC, CCN.
	//  VPC: Virtual Private Cloud; BMVPC: BM VPC; CCN: Cloud Connect Network.
	NetworkType *string `json:"NetworkType,omitnil,omitempty" name:"NetworkType"`

	// Network of the VPC region, such as `ap-guangzhou`.
	NetworkRegion *string `json:"NetworkRegion,omitnil,omitempty" name:"NetworkRegion"`

	// Unified VPC ID or BMVPC ID.
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// Direct connect gateway ID.
	DirectConnectGatewayId *string `json:"DirectConnectGatewayId,omitnil,omitempty" name:"DirectConnectGatewayId"`

	// BGP: BGP routing; STATIC: Static routing. Default value: BGP routing.
	RouteType *string `json:"RouteType,omitnil,omitempty" name:"RouteType"`

	// User-side BGP, including Asn and AuthKey.
	BgpPeer *BgpPeer `json:"BgpPeer,omitnil,omitempty" name:"BgpPeer"`

	// User-side IP range.
	RouteFilterPrefixes []*RouteFilterPrefix `json:"RouteFilterPrefixes,omitnil,omitempty" name:"RouteFilterPrefixes"`

	// VLAN of a dedicated tunnel.
	Vlan *int64 `json:"Vlan,omitnil,omitempty" name:"Vlan"`

	// TencentAddress: Tencent-side IP address.
	TencentAddress *string `json:"TencentAddress,omitnil,omitempty" name:"TencentAddress"`

	// CustomerAddress: User-side IP address.
	CustomerAddress *string `json:"CustomerAddress,omitnil,omitempty" name:"CustomerAddress"`

	// Dedicated tunnel name.
	DirectConnectTunnelName *string `json:"DirectConnectTunnelName,omitnil,omitempty" name:"DirectConnectTunnelName"`

	// Creation time of a dedicated tunnel.
	CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"`

	// Bandwidth value of a dedicated tunnel.
	Bandwidth *int64 `json:"Bandwidth,omitnil,omitempty" name:"Bandwidth"`

	// Tag value of a dedicated tunnel.
	TagSet []*Tag `json:"TagSet,omitnil,omitempty" name:"TagSet"`

	// Associated custom network probe ID
	// Note: this field may return null, indicating that no valid values can be obtained.
	NetDetectId *string `json:"NetDetectId,omitnil,omitempty" name:"NetDetectId"`

	// BGP community switch
	// Note: this field may return null, indicating that no valid values can be obtained.
	EnableBGPCommunity *bool `json:"EnableBGPCommunity,omitnil,omitempty" name:"EnableBGPCommunity"`

	// Whether it is a NAT tunnel
	// Note: this field may return null, indicating that no valid values can be obtained.
	NatType *int64 `json:"NatType,omitnil,omitempty" name:"NatType"`

	// VPC region abbreviation, such as `gz`, `cd`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	VpcRegion *string `json:"VpcRegion,omitnil,omitempty" name:"VpcRegion"`

	// Whether to enable BFD
	// Note: this field may return null, indicating that no valid values can be obtained.
	BfdEnable *int64 `json:"BfdEnable,omitnil,omitempty" name:"BfdEnable"`

	// Access point type of a dedicated tunnel.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AccessPointType *string `json:"AccessPointType,omitnil,omitempty" name:"AccessPointType"`

	// Direct connect gateway name.
	// Note: this field may return null, indicating that no valid values can be obtained.
	DirectConnectGatewayName *string `json:"DirectConnectGatewayName,omitnil,omitempty" name:"DirectConnectGatewayName"`

	// VPC name.
	// Note: this field may return null, indicating that no valid values can be obtained.
	VpcName *string `json:"VpcName,omitnil,omitempty" name:"VpcName"`

	// Backup IP address on the Tencent side.
	TencentBackupAddress *string `json:"TencentBackupAddress,omitnil,omitempty" name:"TencentBackupAddress"`

	// Whether the connection associated with the dedicated tunnel has the service agreement signed.
	// Note: this field may return `null`, indicating that no valid value is obtained.
	SignLaw *bool `json:"SignLaw,omitnil,omitempty" name:"SignLaw"`

	// Cloud Attached Connection Service ID
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	CloudAttachId *string `json:"CloudAttachId,omitnil,omitempty" name:"CloudAttachId"`
}

type DisableInternetAddressRequest

type DisableInternetAddressRequest struct {
	*tchttp.BaseRequest

	// ID of the internet tunnel’s public IP address
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

func NewDisableInternetAddressRequest

func NewDisableInternetAddressRequest() (request *DisableInternetAddressRequest)

func (*DisableInternetAddressRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DisableInternetAddressRequest) ToJsonString

func (r *DisableInternetAddressRequest) ToJsonString() string

type DisableInternetAddressRequestParams

type DisableInternetAddressRequestParams struct {
	// ID of the internet tunnel’s public IP address
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

Predefined struct for user

type DisableInternetAddressResponse

type DisableInternetAddressResponse struct {
	*tchttp.BaseResponse
	Response *DisableInternetAddressResponseParams `json:"Response"`
}

func NewDisableInternetAddressResponse

func NewDisableInternetAddressResponse() (response *DisableInternetAddressResponse)

func (*DisableInternetAddressResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DisableInternetAddressResponse) ToJsonString

func (r *DisableInternetAddressResponse) ToJsonString() string

type DisableInternetAddressResponseParams

type DisableInternetAddressResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type EnableInternetAddressRequest

type EnableInternetAddressRequest struct {
	*tchttp.BaseRequest

	// ID of the internet tunnel’s public IP address
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

func NewEnableInternetAddressRequest

func NewEnableInternetAddressRequest() (request *EnableInternetAddressRequest)

func (*EnableInternetAddressRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*EnableInternetAddressRequest) ToJsonString

func (r *EnableInternetAddressRequest) ToJsonString() string

type EnableInternetAddressRequestParams

type EnableInternetAddressRequestParams struct {
	// ID of the internet tunnel’s public IP address
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

Predefined struct for user

type EnableInternetAddressResponse

type EnableInternetAddressResponse struct {
	*tchttp.BaseResponse
	Response *EnableInternetAddressResponseParams `json:"Response"`
}

func NewEnableInternetAddressResponse

func NewEnableInternetAddressResponse() (response *EnableInternetAddressResponse)

func (*EnableInternetAddressResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*EnableInternetAddressResponse) ToJsonString

func (r *EnableInternetAddressResponse) ToJsonString() string

type EnableInternetAddressResponseParams

type EnableInternetAddressResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type Filter

type Filter struct {
	// Fields to be filtered.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Filter values of the field.
	Values []*string `json:"Values,omitnil,omitempty" name:"Values"`
}

type InternetAddressDetail

type InternetAddressDetail struct {
	// Internet tunnel’s IP address ID
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Internet tunnel’s network address
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Subnet *string `json:"Subnet,omitnil,omitempty" name:"Subnet"`

	// Mask length of a network address
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	MaskLen *int64 `json:"MaskLen,omitnil,omitempty" name:"MaskLen"`

	// Address type. Valid values: 0: BGP
	// 1: China Telecom
	// 2: China Mobile
	// 3: China Unicom
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	AddrType *int64 `json:"AddrType,omitnil,omitempty" name:"AddrType"`

	// Address status. Valid values: 0: in use
	// 1: disabled
	// 2: returned
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Applied at
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ApplyTime *string `json:"ApplyTime,omitnil,omitempty" name:"ApplyTime"`

	// Disabled at
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	StopTime *string `json:"StopTime,omitnil,omitempty" name:"StopTime"`

	// Returned at
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ReleaseTime *string `json:"ReleaseTime,omitnil,omitempty" name:"ReleaseTime"`

	// Region
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

	// User ID
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	AppId *int64 `json:"AppId,omitnil,omitempty" name:"AppId"`

	// Address protocol. Valid values: 0: IPv4; 1: IPv6
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	AddrProto *int64 `json:"AddrProto,omitnil,omitempty" name:"AddrProto"`

	// Retention period of a released IP address, in days
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ReserveTime *int64 `json:"ReserveTime,omitnil,omitempty" name:"ReserveTime"`
}

type InternetAddressStatistics

type InternetAddressStatistics struct {
	// Region
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

	// Number of public IP addresses for internet tunnels
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	SubnetNum *int64 `json:"SubnetNum,omitnil,omitempty" name:"SubnetNum"`
}

type ModifyDirectConnectAttributeRequest

type ModifyDirectConnectAttributeRequest struct {
	*tchttp.BaseRequest

	// Connection ID.
	DirectConnectId *string `json:"DirectConnectId,omitnil,omitempty" name:"DirectConnectId"`

	// Connection name.
	DirectConnectName *string `json:"DirectConnectName,omitnil,omitempty" name:"DirectConnectName"`

	// Circuit code of a connection, which is provided by the ISP or connection provider.
	CircuitCode *string `json:"CircuitCode,omitnil,omitempty" name:"CircuitCode"`

	// VLAN for connection debugging.
	Vlan *int64 `json:"Vlan,omitnil,omitempty" name:"Vlan"`

	// Tencent-side IP address for connection debugging.
	TencentAddress *string `json:"TencentAddress,omitnil,omitempty" name:"TencentAddress"`

	// User-side IP address for connection debugging.
	CustomerAddress *string `json:"CustomerAddress,omitnil,omitempty" name:"CustomerAddress"`

	// Name of connection applicant, which is obtained from the account system by default.
	CustomerName *string `json:"CustomerName,omitnil,omitempty" name:"CustomerName"`

	// Email address of connection applicant, which is obtained from the account system by default.
	CustomerContactMail *string `json:"CustomerContactMail,omitnil,omitempty" name:"CustomerContactMail"`

	// Contact number of connection applicant, which is obtained from the account system by default.
	CustomerContactNumber *string `json:"CustomerContactNumber,omitnil,omitempty" name:"CustomerContactNumber"`

	// Fault reporting contact person.
	FaultReportContactPerson *string `json:"FaultReportContactPerson,omitnil,omitempty" name:"FaultReportContactPerson"`

	// Fault reporting contact number.
	FaultReportContactNumber *string `json:"FaultReportContactNumber,omitnil,omitempty" name:"FaultReportContactNumber"`

	// Whether the connection applicant has signed the service agreement.
	SignLaw *bool `json:"SignLaw,omitnil,omitempty" name:"SignLaw"`

	// Connection’s bandwidth
	Bandwidth *uint64 `json:"Bandwidth,omitnil,omitempty" name:"Bandwidth"`
}

func NewModifyDirectConnectAttributeRequest

func NewModifyDirectConnectAttributeRequest() (request *ModifyDirectConnectAttributeRequest)

func (*ModifyDirectConnectAttributeRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDirectConnectAttributeRequest) ToJsonString

func (r *ModifyDirectConnectAttributeRequest) ToJsonString() string

type ModifyDirectConnectAttributeRequestParams

type ModifyDirectConnectAttributeRequestParams struct {
	// Connection ID.
	DirectConnectId *string `json:"DirectConnectId,omitnil,omitempty" name:"DirectConnectId"`

	// Connection name.
	DirectConnectName *string `json:"DirectConnectName,omitnil,omitempty" name:"DirectConnectName"`

	// Circuit code of a connection, which is provided by the ISP or connection provider.
	CircuitCode *string `json:"CircuitCode,omitnil,omitempty" name:"CircuitCode"`

	// VLAN for connection debugging.
	Vlan *int64 `json:"Vlan,omitnil,omitempty" name:"Vlan"`

	// Tencent-side IP address for connection debugging.
	TencentAddress *string `json:"TencentAddress,omitnil,omitempty" name:"TencentAddress"`

	// User-side IP address for connection debugging.
	CustomerAddress *string `json:"CustomerAddress,omitnil,omitempty" name:"CustomerAddress"`

	// Name of connection applicant, which is obtained from the account system by default.
	CustomerName *string `json:"CustomerName,omitnil,omitempty" name:"CustomerName"`

	// Email address of connection applicant, which is obtained from the account system by default.
	CustomerContactMail *string `json:"CustomerContactMail,omitnil,omitempty" name:"CustomerContactMail"`

	// Contact number of connection applicant, which is obtained from the account system by default.
	CustomerContactNumber *string `json:"CustomerContactNumber,omitnil,omitempty" name:"CustomerContactNumber"`

	// Fault reporting contact person.
	FaultReportContactPerson *string `json:"FaultReportContactPerson,omitnil,omitempty" name:"FaultReportContactPerson"`

	// Fault reporting contact number.
	FaultReportContactNumber *string `json:"FaultReportContactNumber,omitnil,omitempty" name:"FaultReportContactNumber"`

	// Whether the connection applicant has signed the service agreement.
	SignLaw *bool `json:"SignLaw,omitnil,omitempty" name:"SignLaw"`

	// Connection’s bandwidth
	Bandwidth *uint64 `json:"Bandwidth,omitnil,omitempty" name:"Bandwidth"`
}

Predefined struct for user

type ModifyDirectConnectAttributeResponse

type ModifyDirectConnectAttributeResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDirectConnectAttributeResponseParams `json:"Response"`
}

func NewModifyDirectConnectAttributeResponse

func NewModifyDirectConnectAttributeResponse() (response *ModifyDirectConnectAttributeResponse)

func (*ModifyDirectConnectAttributeResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDirectConnectAttributeResponse) ToJsonString

func (r *ModifyDirectConnectAttributeResponse) ToJsonString() string

type ModifyDirectConnectAttributeResponseParams

type ModifyDirectConnectAttributeResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyDirectConnectTunnelAttributeRequest

type ModifyDirectConnectTunnelAttributeRequest struct {
	*tchttp.BaseRequest

	// Dedicated tunnel ID.
	DirectConnectTunnelId *string `json:"DirectConnectTunnelId,omitnil,omitempty" name:"DirectConnectTunnelId"`

	// Dedicated tunnel name.
	DirectConnectTunnelName *string `json:"DirectConnectTunnelName,omitnil,omitempty" name:"DirectConnectTunnelName"`

	// User-side BGP, including Asn and AuthKey.
	BgpPeer *BgpPeer `json:"BgpPeer,omitnil,omitempty" name:"BgpPeer"`

	// User-side IP range.
	RouteFilterPrefixes []*RouteFilterPrefix `json:"RouteFilterPrefixes,omitnil,omitempty" name:"RouteFilterPrefixes"`

	// Tencent-side IP address.
	TencentAddress *string `json:"TencentAddress,omitnil,omitempty" name:"TencentAddress"`

	// User-side IP address.
	CustomerAddress *string `json:"CustomerAddress,omitnil,omitempty" name:"CustomerAddress"`

	// Bandwidth value of a dedicated tunnel in Mbps.
	Bandwidth *int64 `json:"Bandwidth,omitnil,omitempty" name:"Bandwidth"`

	// Tencent-side standby IP address
	TencentBackupAddress *string `json:"TencentBackupAddress,omitnil,omitempty" name:"TencentBackupAddress"`
}

func NewModifyDirectConnectTunnelAttributeRequest

func NewModifyDirectConnectTunnelAttributeRequest() (request *ModifyDirectConnectTunnelAttributeRequest)

func (*ModifyDirectConnectTunnelAttributeRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDirectConnectTunnelAttributeRequest) ToJsonString

type ModifyDirectConnectTunnelAttributeRequestParams

type ModifyDirectConnectTunnelAttributeRequestParams struct {
	// Dedicated tunnel ID.
	DirectConnectTunnelId *string `json:"DirectConnectTunnelId,omitnil,omitempty" name:"DirectConnectTunnelId"`

	// Dedicated tunnel name.
	DirectConnectTunnelName *string `json:"DirectConnectTunnelName,omitnil,omitempty" name:"DirectConnectTunnelName"`

	// User-side BGP, including Asn and AuthKey.
	BgpPeer *BgpPeer `json:"BgpPeer,omitnil,omitempty" name:"BgpPeer"`

	// User-side IP range.
	RouteFilterPrefixes []*RouteFilterPrefix `json:"RouteFilterPrefixes,omitnil,omitempty" name:"RouteFilterPrefixes"`

	// Tencent-side IP address.
	TencentAddress *string `json:"TencentAddress,omitnil,omitempty" name:"TencentAddress"`

	// User-side IP address.
	CustomerAddress *string `json:"CustomerAddress,omitnil,omitempty" name:"CustomerAddress"`

	// Bandwidth value of a dedicated tunnel in Mbps.
	Bandwidth *int64 `json:"Bandwidth,omitnil,omitempty" name:"Bandwidth"`

	// Tencent-side standby IP address
	TencentBackupAddress *string `json:"TencentBackupAddress,omitnil,omitempty" name:"TencentBackupAddress"`
}

Predefined struct for user

type ModifyDirectConnectTunnelAttributeResponse

type ModifyDirectConnectTunnelAttributeResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDirectConnectTunnelAttributeResponseParams `json:"Response"`
}

func NewModifyDirectConnectTunnelAttributeResponse

func NewModifyDirectConnectTunnelAttributeResponse() (response *ModifyDirectConnectTunnelAttributeResponse)

func (*ModifyDirectConnectTunnelAttributeResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDirectConnectTunnelAttributeResponse) ToJsonString

type ModifyDirectConnectTunnelAttributeResponseParams

type ModifyDirectConnectTunnelAttributeResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type NQAInfo

type NQAInfo struct {
	// Number of health checks
	ProbeFailedTimes *int64 `json:"ProbeFailedTimes,omitnil,omitempty" name:"ProbeFailedTimes"`

	// Health check interval
	Interval *int64 `json:"Interval,omitnil,omitempty" name:"Interval"`

	// IP address for the health check
	DestinationIp *string `json:"DestinationIp,omitnil,omitempty" name:"DestinationIp"`
}

type RejectDirectConnectTunnelRequest

type RejectDirectConnectTunnelRequest struct {
	*tchttp.BaseRequest

	// None.
	DirectConnectTunnelId *string `json:"DirectConnectTunnelId,omitnil,omitempty" name:"DirectConnectTunnelId"`
}

func NewRejectDirectConnectTunnelRequest

func NewRejectDirectConnectTunnelRequest() (request *RejectDirectConnectTunnelRequest)

func (*RejectDirectConnectTunnelRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RejectDirectConnectTunnelRequest) ToJsonString

func (r *RejectDirectConnectTunnelRequest) ToJsonString() string

type RejectDirectConnectTunnelRequestParams

type RejectDirectConnectTunnelRequestParams struct {
	// None.
	DirectConnectTunnelId *string `json:"DirectConnectTunnelId,omitnil,omitempty" name:"DirectConnectTunnelId"`
}

Predefined struct for user

type RejectDirectConnectTunnelResponse

type RejectDirectConnectTunnelResponse struct {
	*tchttp.BaseResponse
	Response *RejectDirectConnectTunnelResponseParams `json:"Response"`
}

func NewRejectDirectConnectTunnelResponse

func NewRejectDirectConnectTunnelResponse() (response *RejectDirectConnectTunnelResponse)

func (*RejectDirectConnectTunnelResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RejectDirectConnectTunnelResponse) ToJsonString

func (r *RejectDirectConnectTunnelResponse) ToJsonString() string

type RejectDirectConnectTunnelResponseParams

type RejectDirectConnectTunnelResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ReleaseInternetAddressRequest

type ReleaseInternetAddressRequest struct {
	*tchttp.BaseRequest

	// ID of the internet tunnel’s public IP address
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

func NewReleaseInternetAddressRequest

func NewReleaseInternetAddressRequest() (request *ReleaseInternetAddressRequest)

func (*ReleaseInternetAddressRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ReleaseInternetAddressRequest) ToJsonString

func (r *ReleaseInternetAddressRequest) ToJsonString() string

type ReleaseInternetAddressRequestParams

type ReleaseInternetAddressRequestParams struct {
	// ID of the internet tunnel’s public IP address
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

Predefined struct for user

type ReleaseInternetAddressResponse

type ReleaseInternetAddressResponse struct {
	*tchttp.BaseResponse
	Response *ReleaseInternetAddressResponseParams `json:"Response"`
}

func NewReleaseInternetAddressResponse

func NewReleaseInternetAddressResponse() (response *ReleaseInternetAddressResponse)

func (*ReleaseInternetAddressResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ReleaseInternetAddressResponse) ToJsonString

func (r *ReleaseInternetAddressResponse) ToJsonString() string

type ReleaseInternetAddressResponseParams

type ReleaseInternetAddressResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type RouteFilterPrefix

type RouteFilterPrefix struct {
	// User-side IP range.
	Cidr *string `json:"Cidr,omitnil,omitempty" name:"Cidr"`
}

type Tag

type Tag struct {
	// Tag key
	// Note: this field may return null, indicating that no valid values can be obtained.
	Key *string `json:"Key,omitnil,omitempty" name:"Key"`

	// Tag value
	// Note: this field may return null, indicating that no valid values can be obtained.
	Value *string `json:"Value,omitnil,omitempty" name:"Value"`
}

Jump to

Keyboard shortcuts

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