model

package
v0.1.126 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BandwidthInfoExternal added in v0.1.125

type BandwidthInfoExternal struct {

	// 带宽值
	BandwidthSize *int64 `json:"bandwidth_size,omitempty"`

	// 带宽包ID
	GcbId *string `json:"gcb_id,omitempty"`

	// 冻结状态
	FreezeStatus *string `json:"freeze_status,omitempty"`
}

func (BandwidthInfoExternal) String added in v0.1.125

func (o BandwidthInfoExternal) String() string

type BatchCreateResourceTagsRequest

type BatchCreateResourceTagsRequest struct {

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

	// - 专线服务资源类型,包括dc-directconnect/dc-vgw/dc-vif - dc-directconnect: 专线物理连接 - dc-vgw: 虚拟网关 - dc-vif: 虚拟接口
	ResourceType BatchCreateResourceTagsRequestResourceType `json:"resource_type"`

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

BatchCreateResourceTagsRequest Request Object

func (BatchCreateResourceTagsRequest) String

type BatchCreateResourceTagsRequestResourceType

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

func (BatchCreateResourceTagsRequestResourceType) MarshalJSON

func (*BatchCreateResourceTagsRequestResourceType) UnmarshalJSON

func (BatchCreateResourceTagsRequestResourceType) Value

type BatchCreateResourceTagsResponse

type BatchCreateResourceTagsResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

BatchCreateResourceTagsResponse Response Object

func (BatchCreateResourceTagsResponse) String

type BatchOperateResourceTagsRequestBody

type BatchOperateResourceTagsRequestBody struct {

	// 功能说明:操作标识。 取值范围: create(创建) delete(删除)
	Action BatchOperateResourceTagsRequestBodyAction `json:"action"`

	// 标签列表。
	Tags *[]Tag `json:"tags,omitempty"`

	// 标签列表。
	SysTags *[]Tag `json:"sys_tags,omitempty"`
}

BatchOperateResourceTagsRequestBody 批量添加删除的请求体。

func (BatchOperateResourceTagsRequestBody) String

type BatchOperateResourceTagsRequestBodyAction

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

func (BatchOperateResourceTagsRequestBodyAction) MarshalJSON

func (*BatchOperateResourceTagsRequestBodyAction) UnmarshalJSON

func (BatchOperateResourceTagsRequestBodyAction) Value

type BatchOperateResourceTagsRequestBodyActionEnum

type BatchOperateResourceTagsRequestBodyActionEnum struct {
	CREATE BatchOperateResourceTagsRequestBodyAction
	DELETE BatchOperateResourceTagsRequestBodyAction
}

func GetBatchOperateResourceTagsRequestBodyActionEnum

func GetBatchOperateResourceTagsRequestBodyActionEnum() BatchOperateResourceTagsRequestBodyActionEnum

type BindGlobalEipsRequest added in v0.1.125

type BindGlobalEipsRequest struct {

	// 互联网关ID
	ConnectGatewayId string `json:"connect_gateway_id"`

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

BindGlobalEipsRequest Request Object

func (BindGlobalEipsRequest) String added in v0.1.125

func (o BindGlobalEipsRequest) String() string

type BindGlobalEipsResponse added in v0.1.125

type BindGlobalEipsResponse struct {

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

	GlobalEips *ListBindingGeip `json:"global_eips,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

BindGlobalEipsResponse Response Object

func (BindGlobalEipsResponse) String added in v0.1.125

func (o BindGlobalEipsResponse) String() string

type BindingGeipBody added in v0.1.125

type BindingGeipBody struct {

	// 全局弹性公网IP的ID
	GlobalEipId string `json:"global_eip_id"`

	// geip子网类型
	Type *BindingGeipBodyType `json:"type,omitempty"`
}

func (BindingGeipBody) String added in v0.1.125

func (o BindingGeipBody) String() string

type BindingGeipBodyType added in v0.1.125

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

func (BindingGeipBodyType) MarshalJSON added in v0.1.125

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

func (*BindingGeipBodyType) UnmarshalJSON added in v0.1.125

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

func (BindingGeipBodyType) Value added in v0.1.125

func (c BindingGeipBodyType) Value() string

type BindingGeipBodyTypeEnum added in v0.1.125

type BindingGeipBodyTypeEnum struct {
	IP_ADDRESS BindingGeipBodyType
	IP_SEGMENT BindingGeipBodyType
}

func GetBindingGeipBodyTypeEnum added in v0.1.125

func GetBindingGeipBodyTypeEnum() BindingGeipBodyTypeEnum

type ConnectGatewayResponse added in v0.1.125

type ConnectGatewayResponse struct {

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

	// 租户项目ID
	TenantId *string `json:"tenant_id,omitempty"`

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

	// 描述信息
	Description *string `json:"description,omitempty"`

	// 地址族信息 - ipv4: 仅支持ipv4模式 - dual: 支持ipv4 和 ipv6 模式
	AddressFamily *ConnectGatewayResponseAddressFamily `json:"address_family,omitempty"`

	// 网关状态 - DOWN 未使用或关联设备状态为DOWN - ACTIVE 正常 - ERROR 异常
	Status *string `json:"status,omitempty"`

	// 网关站点值
	AccessSite *string `json:"access_site,omitempty"`

	// BGP类型AS号
	BgpAsn *int64 `json:"bgp_asn,omitempty"`

	// 当前绑定的global eip数量
	CurrentGeipCount *int32 `json:"current_geip_count,omitempty"`

	// 创建时间
	CreatedTime *sdktime.SdkTime `json:"created_time,omitempty"`

	// 更新时间
	UpdatedTime *sdktime.SdkTime `json:"updated_time,omitempty"`

	// 带宽包id
	GcbId *string `json:"gcb_id,omitempty"`

	// 网关位置
	GatewaySite *string `json:"gateway_site,omitempty"`
}

ConnectGatewayResponse 互联网关的相信信息对象

func (ConnectGatewayResponse) String added in v0.1.125

func (o ConnectGatewayResponse) String() string

type ConnectGatewayResponseAddressFamily added in v0.1.125

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

func (ConnectGatewayResponseAddressFamily) MarshalJSON added in v0.1.125

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

func (*ConnectGatewayResponseAddressFamily) UnmarshalJSON added in v0.1.125

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

func (ConnectGatewayResponseAddressFamily) Value added in v0.1.125

type ConnectGatewayResponseAddressFamilyEnum added in v0.1.125

type ConnectGatewayResponseAddressFamilyEnum struct {
	IPV4 ConnectGatewayResponseAddressFamily
	DUAL ConnectGatewayResponseAddressFamily
}

func GetConnectGatewayResponseAddressFamilyEnum added in v0.1.125

func GetConnectGatewayResponseAddressFamilyEnum() ConnectGatewayResponseAddressFamilyEnum

type CreateBindingGeipRequestBody added in v0.1.125

type CreateBindingGeipRequestBody struct {

	// 带宽包id
	GcbId *string `json:"gcb_id,omitempty"`

	GlobalEips *[]BindingGeipBody `json:"global_eips,omitempty"`
}

func (CreateBindingGeipRequestBody) String added in v0.1.125

type CreateConnectGateway added in v0.1.125

type CreateConnectGateway struct {

	// 网关名字
	Name string `json:"name"`

	// 描述信息
	Description *string `json:"description,omitempty"`

	// 地址族信息 不填默认ipv4
	AddressFamily *CreateConnectGatewayAddressFamily `json:"address_family,omitempty"`
}

CreateConnectGateway 互联网关的实例对象

func (CreateConnectGateway) String added in v0.1.125

func (o CreateConnectGateway) String() string

type CreateConnectGatewayAddressFamily added in v0.1.125

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

func (CreateConnectGatewayAddressFamily) MarshalJSON added in v0.1.125

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

func (*CreateConnectGatewayAddressFamily) UnmarshalJSON added in v0.1.125

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

func (CreateConnectGatewayAddressFamily) Value added in v0.1.125

type CreateConnectGatewayAddressFamilyEnum added in v0.1.125

type CreateConnectGatewayAddressFamilyEnum struct {
	IPV4 CreateConnectGatewayAddressFamily
	DUAL CreateConnectGatewayAddressFamily
}

func GetCreateConnectGatewayAddressFamilyEnum added in v0.1.125

func GetCreateConnectGatewayAddressFamilyEnum() CreateConnectGatewayAddressFamilyEnum

type CreateConnectGatewayRequest added in v0.1.125

type CreateConnectGatewayRequest struct {
	Body *CreateConnectGatewayRequestBody `json:"body,omitempty"`
}

CreateConnectGatewayRequest Request Object

func (CreateConnectGatewayRequest) String added in v0.1.125

type CreateConnectGatewayRequestBody added in v0.1.125

type CreateConnectGatewayRequestBody struct {
	ConnectGateway *CreateConnectGateway `json:"connect_gateway"`
}

func (CreateConnectGatewayRequestBody) String added in v0.1.125

type CreateConnectGatewayResponse added in v0.1.125

type CreateConnectGatewayResponse struct {

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

	ConnectGateway *ConnectGatewayResponse `json:"connect_gateway,omitempty"`
	HttpStatusCode int                     `json:"-"`
}

CreateConnectGatewayResponse Response Object

func (CreateConnectGatewayResponse) String added in v0.1.125

type CreateGlobalDcGatewayRequest added in v0.1.125

type CreateGlobalDcGatewayRequest struct {
	Body *CreateGlobalDcGatewayRequestBody `json:"body,omitempty"`
}

CreateGlobalDcGatewayRequest Request Object

func (CreateGlobalDcGatewayRequest) String added in v0.1.125

type CreateGlobalDcGatewayRequestBody added in v0.1.125

type CreateGlobalDcGatewayRequestBody struct {

	// 空运行 - true 是 - false 否
	DryRun *bool `json:"dry_run,omitempty"`

	GlobalDcGateway *CreateGlobalDcGatewayRequestBodyGlobalDcGateway `json:"global_dc_gateway,omitempty"`
}

CreateGlobalDcGatewayRequestBody 全球接入网关响应体

func (CreateGlobalDcGatewayRequestBody) String added in v0.1.125

type CreateGlobalDcGatewayRequestBodyGlobalDcGateway added in v0.1.125

type CreateGlobalDcGatewayRequestBodyGlobalDcGateway struct {

	// 租户ID
	TenantId *string `json:"tenant_id,omitempty"`

	// 全球接入网关名称
	Name string `json:"name"`

	// 描述信息
	Description *string `json:"description,omitempty"`

	// BGP模式的AS号
	BgpAsn *int64 `json:"bgp_asn,omitempty"`

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

	// 地址簇类型
	AddressFamily *CreateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamily `json:"address_family,omitempty"`

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

func (CreateGlobalDcGatewayRequestBodyGlobalDcGateway) String added in v0.1.125

type CreateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamily added in v0.1.125

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

func (CreateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamily) MarshalJSON added in v0.1.125

func (*CreateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamily) UnmarshalJSON added in v0.1.125

func (CreateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamily) Value added in v0.1.125

type CreateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamilyEnum added in v0.1.125

type CreateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamilyEnum struct {
	IPV4 CreateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamily
	DUAL CreateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamily
}

func GetCreateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamilyEnum added in v0.1.125

func GetCreateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamilyEnum() CreateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamilyEnum

type CreateGlobalDcGatewayRequestBodyGlobalDcGatewayTags added in v0.1.125

type CreateGlobalDcGatewayRequestBodyGlobalDcGatewayTags struct {

	// 键
	Key string `json:"key"`

	// 值
	Value *string `json:"value,omitempty"`
}

func (CreateGlobalDcGatewayRequestBodyGlobalDcGatewayTags) String added in v0.1.125

type CreateGlobalDcGatewayResponse added in v0.1.125

type CreateGlobalDcGatewayResponse struct {

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

	GlobalDcGateway *ExternalCreateGlobalDcGateway `json:"global_dc_gateway,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateGlobalDcGatewayResponse Response Object

func (CreateGlobalDcGatewayResponse) String added in v0.1.125

type CreateHostedDirectConnect

type CreateHostedDirectConnect struct {

	// 托管物理专线的名字。
	Name *string `json:"name,omitempty"`

	// 托管专线的描述信息
	Description *string `json:"description,omitempty"`

	// 指定托管专线接入带宽,单位Mbps
	Bandwidth int32 `json:"bandwidth"`

	// hosted物理专线对应的hosting物理专线的ID
	HostingId string `json:"hosting_id"`

	// 指定托管(hosted)专线预分配的vlan
	Vlan int32 `json:"vlan"`

	// 为其他租户创建托管专线,指定对应的租户ID
	ResourceTenantId string `json:"resource_tenant_id"`

	// 物理专线对端所在的物理位置,省/市/街道或IDC名字。
	PeerLocation *string `json:"peer_location,omitempty"`
}

CreateHostedDirectConnect 创建托管专线参数对象

func (CreateHostedDirectConnect) String

func (o CreateHostedDirectConnect) String() string

type CreateHostedDirectConnectRequest

type CreateHostedDirectConnectRequest struct {
	Body *CreateHostedDirectConnectRequestBody `json:"body,omitempty"`
}

CreateHostedDirectConnectRequest Request Object

func (CreateHostedDirectConnectRequest) String

type CreateHostedDirectConnectRequestBody

type CreateHostedDirectConnectRequestBody struct {
	HostedConnect *CreateHostedDirectConnect `json:"hosted_connect"`
}

CreateHostedDirectConnectRequestBody 创建托管专线对象信息

func (CreateHostedDirectConnectRequestBody) String

type CreateHostedDirectConnectResponse

type CreateHostedDirectConnectResponse struct {

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

	HostedConnect  *HostedDirectConnect `json:"hosted_connect,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

CreateHostedDirectConnectResponse Response Object

func (CreateHostedDirectConnectResponse) String

type CreatePeerLinkRequest added in v0.1.125

type CreatePeerLinkRequest struct {

	// 全球接入网关ID
	GlobalDcGatewayId string `json:"global_dc_gateway_id"`

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

CreatePeerLinkRequest Request Object

func (CreatePeerLinkRequest) String added in v0.1.125

func (o CreatePeerLinkRequest) String() string

type CreatePeerLinkRequestBody added in v0.1.125

type CreatePeerLinkRequestBody struct {

	// 空运行 - true 是 - false 否
	DryRun *bool `json:"dry_run,omitempty"`

	PeerLink *CreatePeerLinkRequestBodyPeerLink `json:"peer_link,omitempty"`
}

func (CreatePeerLinkRequestBody) String added in v0.1.125

func (o CreatePeerLinkRequestBody) String() string
type CreatePeerLinkRequestBodyPeerLink struct {
	Name string `json:"name"`

	Description *string `json:"description,omitempty"`

	PeerSite *CreatePeerLinkRequestBodyPeerLinkPeerSite `json:"peer_site"`
}

func (CreatePeerLinkRequestBodyPeerLink) String added in v0.1.125

type CreatePeerLinkRequestBodyPeerLinkPeerSite added in v0.1.125

type CreatePeerLinkRequestBodyPeerLinkPeerSite struct {
	Type *CreatePeerLinkRequestBodyPeerLinkPeerSiteType `json:"type,omitempty"`

	GatewayId string `json:"gateway_id"`

	ProjectId string `json:"project_id"`

	RegionId string `json:"region_id"`
}

func (CreatePeerLinkRequestBodyPeerLinkPeerSite) String added in v0.1.125

type CreatePeerLinkRequestBodyPeerLinkPeerSiteType added in v0.1.125

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

func (CreatePeerLinkRequestBodyPeerLinkPeerSiteType) MarshalJSON added in v0.1.125

func (*CreatePeerLinkRequestBodyPeerLinkPeerSiteType) UnmarshalJSON added in v0.1.125

func (CreatePeerLinkRequestBodyPeerLinkPeerSiteType) Value added in v0.1.125

type CreatePeerLinkRequestBodyPeerLinkPeerSiteTypeEnum added in v0.1.125

type CreatePeerLinkRequestBodyPeerLinkPeerSiteTypeEnum struct {
	ER CreatePeerLinkRequestBodyPeerLinkPeerSiteType
}

func GetCreatePeerLinkRequestBodyPeerLinkPeerSiteTypeEnum added in v0.1.125

func GetCreatePeerLinkRequestBodyPeerLinkPeerSiteTypeEnum() CreatePeerLinkRequestBodyPeerLinkPeerSiteTypeEnum

type CreatePeerLinkResponse added in v0.1.125

type CreatePeerLinkResponse struct {
	RequestId *string `json:"request_id,omitempty"`

	PeerLink *ExternalCreatePeerLink `json:"peer_link,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreatePeerLinkResponse Response Object

func (CreatePeerLinkResponse) String added in v0.1.125

func (o CreatePeerLinkResponse) String() string

type CreateResourceTagRequest

type CreateResourceTagRequest struct {

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

	// - 专线服务资源类型,包括dc-directconnect/dc-vgw/dc-vif - dc-directconnect: 专线物理连接 - dc-vgw: 虚拟网关 - dc-vif: 虚拟接口
	ResourceType CreateResourceTagRequestResourceType `json:"resource_type"`

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

CreateResourceTagRequest Request Object

func (CreateResourceTagRequest) String

func (o CreateResourceTagRequest) String() string

type CreateResourceTagRequestBody

type CreateResourceTagRequestBody struct {
	Tag *Tag `json:"tag"`
}

CreateResourceTagRequestBody 添加资源标签的请求体。

func (CreateResourceTagRequestBody) String

type CreateResourceTagRequestResourceType

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

func (CreateResourceTagRequestResourceType) MarshalJSON

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

func (*CreateResourceTagRequestResourceType) UnmarshalJSON

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

func (CreateResourceTagRequestResourceType) Value

type CreateResourceTagRequestResourceTypeEnum

type CreateResourceTagRequestResourceTypeEnum struct {
	DC_DIRECTCONNECT CreateResourceTagRequestResourceType
	DC_VGW           CreateResourceTagRequestResourceType
	DC_VIF           CreateResourceTagRequestResourceType
}

func GetCreateResourceTagRequestResourceTypeEnum

func GetCreateResourceTagRequestResourceTypeEnum() CreateResourceTagRequestResourceTypeEnum

type CreateResourceTagResponse

type CreateResourceTagResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateResourceTagResponse Response Object

func (CreateResourceTagResponse) String

func (o CreateResourceTagResponse) String() string

type CreateSwitchoverTest added in v0.1.61

type CreateSwitchoverTest struct {

	// 倒换测试的资源对象ID
	ResourceId string `json:"resource_id"`

	// 倒换测试的资源对象类型
	ResourceType *CreateSwitchoverTestResourceType `json:"resource_type,omitempty"`

	// shutdown, undo_shutdown表示倒换测试操作类型
	Operation CreateSwitchoverTestOperation `json:"operation"`
}

CreateSwitchoverTest 创建倒换测试记录对象参数

func (CreateSwitchoverTest) String added in v0.1.61

func (o CreateSwitchoverTest) String() string

type CreateSwitchoverTestOperation added in v0.1.61

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

func (CreateSwitchoverTestOperation) MarshalJSON added in v0.1.61

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

func (*CreateSwitchoverTestOperation) UnmarshalJSON added in v0.1.61

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

func (CreateSwitchoverTestOperation) Value added in v0.1.61

type CreateSwitchoverTestOperationEnum added in v0.1.61

type CreateSwitchoverTestOperationEnum struct {
	SHUTDOWN      CreateSwitchoverTestOperation
	UNDO_SHUTDOWN CreateSwitchoverTestOperation
}

func GetCreateSwitchoverTestOperationEnum added in v0.1.61

func GetCreateSwitchoverTestOperationEnum() CreateSwitchoverTestOperationEnum

type CreateSwitchoverTestRequestBody added in v0.1.61

type CreateSwitchoverTestRequestBody struct {
	SwitchoverTestRecord *CreateSwitchoverTest `json:"switchover_test_record,omitempty"`
}

func (CreateSwitchoverTestRequestBody) String added in v0.1.61

type CreateSwitchoverTestResourceType added in v0.1.61

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

func (CreateSwitchoverTestResourceType) MarshalJSON added in v0.1.61

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

func (*CreateSwitchoverTestResourceType) UnmarshalJSON added in v0.1.61

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

func (CreateSwitchoverTestResourceType) Value added in v0.1.61

type CreateSwitchoverTestResourceTypeEnum added in v0.1.61

type CreateSwitchoverTestResourceTypeEnum struct {
	VIRTUAL_INTERFACE CreateSwitchoverTestResourceType
}

func GetCreateSwitchoverTestResourceTypeEnum added in v0.1.61

func GetCreateSwitchoverTestResourceTypeEnum() CreateSwitchoverTestResourceTypeEnum

type CreateUnbindingGeipRequestBody added in v0.1.125

type CreateUnbindingGeipRequestBody struct {
	GlobalEips *[]UnbindingGeipBody `json:"global_eips,omitempty"`
}

func (CreateUnbindingGeipRequestBody) String added in v0.1.125

type CreateVifPeer added in v0.1.61

type CreateVifPeer struct {

	// VIF对等体名字
	Name string `json:"name"`

	// VIF对等体名字描述信息
	Description *string `json:"description,omitempty"`

	// 接口的地址簇类型,ipv4,ipv6
	AddressFamily string `json:"address_family"`

	// VIF对等体云侧接口地址
	LocalGatewayIp string `json:"local_gateway_ip"`

	// VIF对等体客户侧接口地址
	RemoteGatewayIp string `json:"remote_gateway_ip"`

	// 路由模式:static/bgp
	RouteMode *CreateVifPeerRouteMode `json:"route_mode,omitempty"`

	// BGP邻居的AS号
	BgpAsn *int32 `json:"bgp_asn,omitempty"`

	// BGP邻居的MD5密码
	BgpMd5 *string `json:"bgp_md5,omitempty"`

	// 远端子网列表,记录租户侧的cidrs
	RemoteEpGroup *[]string `json:"remote_ep_group,omitempty"`

	// vif对等体对应的虚拟接口ID
	VifId string `json:"vif_id"`
}

CreateVifPeer 创建虚拟接口对等体参数

func (CreateVifPeer) String added in v0.1.61

func (o CreateVifPeer) String() string

type CreateVifPeerRequest added in v0.1.61

type CreateVifPeerRequest struct {
	Body *CreateVifPeerRequestBody `json:"body,omitempty"`
}

CreateVifPeerRequest Request Object

func (CreateVifPeerRequest) String added in v0.1.61

func (o CreateVifPeerRequest) String() string

type CreateVifPeerRequestBody added in v0.1.61

type CreateVifPeerRequestBody struct {
	VifPeer *CreateVifPeer `json:"vif_peer,omitempty"`
}

func (CreateVifPeerRequestBody) String added in v0.1.61

func (o CreateVifPeerRequestBody) String() string

type CreateVifPeerResponse added in v0.1.61

type CreateVifPeerResponse struct {
	VifPeer        *VifPeer `json:"vif_peer,omitempty"`
	HttpStatusCode int      `json:"-"`
}

CreateVifPeerResponse Response Object

func (CreateVifPeerResponse) String added in v0.1.61

func (o CreateVifPeerResponse) String() string

type CreateVifPeerRouteMode added in v0.1.61

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

func (CreateVifPeerRouteMode) MarshalJSON added in v0.1.61

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

func (*CreateVifPeerRouteMode) UnmarshalJSON added in v0.1.61

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

func (CreateVifPeerRouteMode) Value added in v0.1.61

func (c CreateVifPeerRouteMode) Value() string

type CreateVifPeerRouteModeEnum added in v0.1.61

type CreateVifPeerRouteModeEnum struct {
	BGP    CreateVifPeerRouteMode
	STATIC CreateVifPeerRouteMode
}

func GetCreateVifPeerRouteModeEnum added in v0.1.61

func GetCreateVifPeerRouteModeEnum() CreateVifPeerRouteModeEnum

type CreateVirtualGateway

type CreateVirtualGateway struct {

	// 虚拟网关接入的VPC的ID
	VpcId string `json:"vpc_id"`

	// 虚拟网关名字
	Name *string `json:"name,omitempty"`

	// 虚拟网关的描述信息
	Description *string `json:"description,omitempty"`

	// 虚拟网关到访问云上服务IPv4子网列表,通常是vpc的cidrs
	LocalEpGroup []string `json:"local_ep_group"`

	// 预留字段用于虚拟网关到访问云上服务IPv6子网列表,通常是vpc的cidrs
	LocalEpGroupIpv6 *[]string `json:"local_ep_group_ipv6,omitempty"`

	// 虚拟网关本地的BGP自冶域号(asn)
	BgpAsn *int32 `json:"bgp_asn,omitempty"`

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

	// 标签信息
	Tags *[]Tag `json:"tags,omitempty"`
}

CreateVirtualGateway 创建虚拟网关对象参数

func (CreateVirtualGateway) String

func (o CreateVirtualGateway) String() string

type CreateVirtualGatewayRequest

type CreateVirtualGatewayRequest struct {
	Body *CreateVirtualGatewayRequestBody `json:"body,omitempty"`
}

CreateVirtualGatewayRequest Request Object

func (CreateVirtualGatewayRequest) String

type CreateVirtualGatewayRequestBody

type CreateVirtualGatewayRequestBody struct {
	VirtualGateway *CreateVirtualGateway `json:"virtual_gateway,omitempty"`
}

func (CreateVirtualGatewayRequestBody) String

type CreateVirtualGatewayResponse

type CreateVirtualGatewayResponse struct {
	VirtualGateway *VirtualGateway `json:"virtual_gateway,omitempty"`

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

CreateVirtualGatewayResponse Response Object

func (CreateVirtualGatewayResponse) String

type CreateVirtualInterface

type CreateVirtualInterface struct {

	// 虚拟接口名字
	Name *string `json:"name,omitempty"`

	// 虚拟接口描述信息
	Description *string `json:"description,omitempty"`

	// 虚拟接口关联的物理专线ID
	DirectConnectId *string `json:"direct_connect_id,omitempty"`

	// 虚拟接口的类型,private
	Type CreateVirtualInterfaceType `json:"type"`

	// 接入网关类型:VGW/GDGW/LGW
	ServiceType *CreateVirtualInterfaceServiceType `json:"service_type,omitempty"`

	// 对接客户侧vlan
	Vlan int32 `json:"vlan"`

	// 虚拟接口接入带宽
	Bandwidth int32 `json:"bandwidth"`

	// 云侧网关IPv4接口地址,如果address_family是IPv4,是必选参数
	LocalGatewayV4Ip *string `json:"local_gateway_v4_ip,omitempty"`

	// 客户侧网关IPv4接口地址,如果address_family是IPv4,是必选参数
	RemoteGatewayV4Ip *string `json:"remote_gateway_v4_ip,omitempty"`

	// 接口的地址簇类型,ipv4,ipv6
	AddressFamily *string `json:"address_family,omitempty"`

	// 云侧网关IPv6接口地址,如果address_family是IPv6,是必选参数
	LocalGatewayV6Ip *string `json:"local_gateway_v6_ip,omitempty"`

	// 客户侧网关IPv6接口地址,如果address_family是IPv6,是必选参数
	RemoteGatewayV6Ip *string `json:"remote_gateway_v6_ip,omitempty"`

	// 虚拟风关连接的虚拟网关的ID
	VgwId string `json:"vgw_id"`

	// 路由模式:static/bgp
	RouteMode CreateVirtualInterfaceRouteMode `json:"route_mode"`

	// 客户侧BGP邻居的AS号
	BgpAsn *int32 `json:"bgp_asn,omitempty"`

	// BGP邻居的MD5密码
	BgpMd5 *string `json:"bgp_md5,omitempty"`

	// 远端子网列表,记录租户侧的cidrs
	RemoteEpGroup []string `json:"remote_ep_group"`

	// 访问公网服务的子网列表
	ServiceEpGroup *[]string `json:"service_ep_group,omitempty"`

	// 是否使能bfd功能:true或false
	EnableBfd *bool `json:"enable_bfd,omitempty"`

	// 是否使能nqa功能:true或false
	EnableNqa *bool `json:"enable_nqa,omitempty"`

	// 虚拟接口关联的链路聚合组ID
	LagId *string `json:"lag_id,omitempty"`

	// 目标的租户的ID,用于跨租户创建虚拟接口场景
	ResourceTenantId *string `json:"resource_tenant_id,omitempty"`

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

	// 标签信息
	Tags *[]Tag `json:"tags,omitempty"`
}

CreateVirtualInterface 创建虚拟接口对象参数

func (CreateVirtualInterface) String

func (o CreateVirtualInterface) String() string

type CreateVirtualInterfaceRequest

type CreateVirtualInterfaceRequest struct {
	Body *CreateVirtualInterfaceRequestBody `json:"body,omitempty"`
}

CreateVirtualInterfaceRequest Request Object

func (CreateVirtualInterfaceRequest) String

type CreateVirtualInterfaceRequestBody

type CreateVirtualInterfaceRequestBody struct {
	VirtualInterface *CreateVirtualInterface `json:"virtual_interface"`
}

CreateVirtualInterfaceRequestBody 创建虚拟接口请求参数

func (CreateVirtualInterfaceRequestBody) String

type CreateVirtualInterfaceResponse

type CreateVirtualInterfaceResponse struct {

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

	VirtualInterface *VirtualInterface `json:"virtual_interface,omitempty"`
	HttpStatusCode   int               `json:"-"`
}

CreateVirtualInterfaceResponse Response Object

func (CreateVirtualInterfaceResponse) String

type CreateVirtualInterfaceRouteMode

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

func (CreateVirtualInterfaceRouteMode) MarshalJSON

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

func (*CreateVirtualInterfaceRouteMode) UnmarshalJSON

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

func (CreateVirtualInterfaceRouteMode) Value

type CreateVirtualInterfaceRouteModeEnum

type CreateVirtualInterfaceRouteModeEnum struct {
	STATIC CreateVirtualInterfaceRouteMode
	BGP    CreateVirtualInterfaceRouteMode
}

func GetCreateVirtualInterfaceRouteModeEnum

func GetCreateVirtualInterfaceRouteModeEnum() CreateVirtualInterfaceRouteModeEnum

type CreateVirtualInterfaceServiceType

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

func (CreateVirtualInterfaceServiceType) MarshalJSON

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

func (*CreateVirtualInterfaceServiceType) UnmarshalJSON

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

func (CreateVirtualInterfaceServiceType) Value

type CreateVirtualInterfaceType

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

func (CreateVirtualInterfaceType) MarshalJSON

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

func (*CreateVirtualInterfaceType) UnmarshalJSON

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

func (CreateVirtualInterfaceType) Value

type CreateVirtualInterfaceTypeEnum

type CreateVirtualInterfaceTypeEnum struct {
	PRIVATE CreateVirtualInterfaceType
	PUBLIC  CreateVirtualInterfaceType
}

func GetCreateVirtualInterfaceTypeEnum

func GetCreateVirtualInterfaceTypeEnum() CreateVirtualInterfaceTypeEnum

type DeleteConnectGatewayRequest added in v0.1.125

type DeleteConnectGatewayRequest struct {

	// 互联网关ID
	ConnectGatewayId string `json:"connect_gateway_id"`
}

DeleteConnectGatewayRequest Request Object

func (DeleteConnectGatewayRequest) String added in v0.1.125

type DeleteConnectGatewayResponse added in v0.1.125

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

DeleteConnectGatewayResponse Response Object

func (DeleteConnectGatewayResponse) String added in v0.1.125

type DeleteDirectConnectRequest

type DeleteDirectConnectRequest struct {

	// 物理专线连接ID。
	DirectConnectId string `json:"direct_connect_id"`
}

DeleteDirectConnectRequest Request Object

func (DeleteDirectConnectRequest) String

type DeleteDirectConnectResponse

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

DeleteDirectConnectResponse Response Object

func (DeleteDirectConnectResponse) String

type DeleteGlobalDcGatewayRequest added in v0.1.125

type DeleteGlobalDcGatewayRequest struct {

	// 全球接入网关ID
	GlobalDcGatewayId string `json:"global_dc_gateway_id"`
}

DeleteGlobalDcGatewayRequest Request Object

func (DeleteGlobalDcGatewayRequest) String added in v0.1.125

type DeleteGlobalDcGatewayResponse added in v0.1.125

type DeleteGlobalDcGatewayResponse struct {
	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DeleteGlobalDcGatewayResponse Response Object

func (DeleteGlobalDcGatewayResponse) String added in v0.1.125

type DeleteHostedDirectConnectRequest

type DeleteHostedDirectConnectRequest struct {

	// 托管专线连接ID。
	HostedConnectId string `json:"hosted_connect_id"`
}

DeleteHostedDirectConnectRequest Request Object

func (DeleteHostedDirectConnectRequest) String

type DeleteHostedDirectConnectResponse

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

DeleteHostedDirectConnectResponse Response Object

func (DeleteHostedDirectConnectResponse) String

type DeletePeerLinkRequest added in v0.1.125

type DeletePeerLinkRequest struct {

	// 全球接入网关ID
	GlobalDcGatewayId string `json:"global_dc_gateway_id"`

	// 全球接入网关对等体
	PeerLinkId string `json:"peer_link_id"`
}

DeletePeerLinkRequest Request Object

func (DeletePeerLinkRequest) String added in v0.1.125

func (o DeletePeerLinkRequest) String() string

type DeletePeerLinkResponse added in v0.1.125

type DeletePeerLinkResponse struct {
	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DeletePeerLinkResponse Response Object

func (DeletePeerLinkResponse) String added in v0.1.125

func (o DeletePeerLinkResponse) String() string

type DeleteResourceTagRequest

type DeleteResourceTagRequest struct {

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

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

	// - 专线服务资源类型,包括dc-directconnect/dc-vgw/dc-vif - dc-directconnect: 专线物理连接 - dc-vgw: 虚拟网关 - dc-vif: 虚拟接口
	ResourceType DeleteResourceTagRequestResourceType `json:"resource_type"`
}

DeleteResourceTagRequest Request Object

func (DeleteResourceTagRequest) String

func (o DeleteResourceTagRequest) String() string

type DeleteResourceTagRequestResourceType

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

func (DeleteResourceTagRequestResourceType) MarshalJSON

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

func (*DeleteResourceTagRequestResourceType) UnmarshalJSON

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

func (DeleteResourceTagRequestResourceType) Value

type DeleteResourceTagRequestResourceTypeEnum

type DeleteResourceTagRequestResourceTypeEnum struct {
	DC_DIRECTCONNECT DeleteResourceTagRequestResourceType
	DC_VGW           DeleteResourceTagRequestResourceType
	DC_VIF           DeleteResourceTagRequestResourceType
}

func GetDeleteResourceTagRequestResourceTypeEnum

func GetDeleteResourceTagRequestResourceTypeEnum() DeleteResourceTagRequestResourceTypeEnum

type DeleteResourceTagResponse

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

DeleteResourceTagResponse Response Object

func (DeleteResourceTagResponse) String

func (o DeleteResourceTagResponse) String() string

type DeleteVifPeerRequest added in v0.1.61

type DeleteVifPeerRequest struct {

	// 虚拟接口对等体ID
	VifPeerId string `json:"vif_peer_id"`
}

DeleteVifPeerRequest Request Object

func (DeleteVifPeerRequest) String added in v0.1.61

func (o DeleteVifPeerRequest) String() string

type DeleteVifPeerResponse added in v0.1.61

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

DeleteVifPeerResponse Response Object

func (DeleteVifPeerResponse) String added in v0.1.61

func (o DeleteVifPeerResponse) String() string

type DeleteVirtualGatewayRequest

type DeleteVirtualGatewayRequest struct {

	// 虚拟网关ID
	VirtualGatewayId string `json:"virtual_gateway_id"`
}

DeleteVirtualGatewayRequest Request Object

func (DeleteVirtualGatewayRequest) String

type DeleteVirtualGatewayResponse

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

DeleteVirtualGatewayResponse Response Object

func (DeleteVirtualGatewayResponse) String

type DeleteVirtualInterfaceRequest

type DeleteVirtualInterfaceRequest struct {

	// 虚拟接口ID。
	VirtualInterfaceId string `json:"virtual_interface_id"`
}

DeleteVirtualInterfaceRequest Request Object

func (DeleteVirtualInterfaceRequest) String

type DeleteVirtualInterfaceResponse

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

DeleteVirtualInterfaceResponse Response Object

func (DeleteVirtualInterfaceResponse) String

type DirectConnect

type DirectConnect struct {

	// 物理专线标识符ID
	Id *string `json:"id,omitempty"`

	// 实例所属项目ID。
	TenantId *string `json:"tenant_id,omitempty"`

	// 物理专线名字
	Name *string `json:"name,omitempty"`

	// 物理专线描述信息
	Description *string `json:"description,omitempty"`

	// 物理专线接入接口的类型,支持1G 10G 40G 100G
	PortType *DirectConnectPortType `json:"port_type,omitempty"`

	// 物理专线接入带宽,单位Mbps。
	Bandwidth *int32 `json:"bandwidth,omitempty"`

	// 专线的接入位置信息
	Location *string `json:"location,omitempty"`

	// 物理专线对端所在的物理位置,省/市/街道或IDC名字。
	PeerLocation *string `json:"peer_location,omitempty"`

	// 物理专线连接的设备的标识ID
	DeviceId *string `json:"device_id,omitempty"`

	// 物理专线的类型,类型包括标准(standard),运营专线(hosting),托管专线(hosted)[,一站式标准(onestop_standard),一站式托管(onestop_hosted)](tag:hws)。
	Type *DirectConnectType `json:"type,omitempty"`

	// hosted物理专线对应的hosting物理专线的ID
	HostingId *string `json:"hosting_id,omitempty"`

	// 计费模式:prepayment/bandwidth/traffic
	ChargeMode *DirectConnectChargeMode `json:"charge_mode,omitempty"`

	// 物理专线连接的线路运营商 [如:中国电信 中国联通 中国移动 中国其他 境外其他专线归属的运营商](tag:hws,hws_hk)
	Provider *string `json:"provider,omitempty"`

	// 管理状态:true或false
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	// 为托管hosted物理专线分配的vlan。
	Vlan *int32 `json:"vlan,omitempty"`

	// 资源状态,合法值是: ACTIVE:专线已经开通完成且线路处于正常状态 DOWN:专线对应的端口处于down的状态,可能存在线路故障等异常。 BUILD:申请专线正在施工建设中 ERROR:专线配置异常,请联系客服解决相关问题。 PENDING_DELETE:正在删除 DELETED:已删除 APPLY:申请开通 DENY:客户需求无法满足,拒绝工勘。 PENDING_PAY:待支付 PAID:已支付 PENDING_SURVEY:待工勘
	Status *DirectConnectStatus `json:"status,omitempty"`

	// 物理专线的申请时间
	ApplyTime *sdktime.SdkTime `json:"apply_time,omitempty"`

	// 物理专线的创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 物理专线的运营商操作状态,合法值是:ACTIVE, DOWN
	ProviderStatus *DirectConnectProviderStatus `json:"provider_status,omitempty"`

	// 连接对端的端口类型
	PeerPortType *string `json:"peer_port_type,omitempty"`

	// 专线连接对接的运营商
	PeerProvider *string `json:"peer_provider,omitempty"`

	// 物理专线对应订单号,用于支持包周期计费,识别用户订单
	OrderId *string `json:"order_id,omitempty"`

	// 物理专线订单对应产品标识,用于订制包周期套餐等计费策略
	ProductId *string `json:"product_id,omitempty"`

	// 物理专线订单对应产品规格,用于订制包周期套餐等计费策略
	SpecCode *string `json:"spec_code,omitempty"`

	// 物理专线对应订单号对应包周期的类型
	PeriodType *int32 `json:"period_type,omitempty"`

	// 物理专线对应的包周期时间
	PeriodNum *int32 `json:"period_num,omitempty"`

	// 专线要求的网关类型
	VgwType *DirectConnectVgwType `json:"vgw_type,omitempty"`

	// 物理专线归属的链路聚合组(lag)的ID
	LagId *string `json:"lag_id,omitempty"`

	// 专线协议的签暑状态
	SignedAgreementStatus *DirectConnectSignedAgreementStatus `json:"signed_agreement_status,omitempty"`

	// 专线协议的签暑时间
	SignedAgreementTime *sdktime.SdkTime `json:"signed_agreement_time,omitempty"`

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

	// 标签信息
	Tags *[]Tag `json:"tags,omitempty"`

	Locales *LocalesBody `json:"locales,omitempty"`

	// 用户专线可支持的特性列表[(功能暂不支持)](tag:dt)
	SupportFeature *[]string `json:"support_feature,omitempty"`

	// 归属的IES站点的ID[(功能暂不支持)](tag:dt)
	IesId *string `json:"ies_id,omitempty"`

	// 如果专线资源的状态是Error的情况下,该参数会显示相关错误信息。[(功能暂不支持)](tag:dt)
	Reason *string `json:"reason,omitempty"`

	// 客户邮箱信息[(功能暂不支持)](tag:dt)
	Email *string `json:"email,omitempty"`

	// 该参数用于销售线路场景,标识一站式专线产品ID[(功能暂不支持)](tag:dt)
	OnestopProductId *string `json:"onestop_product_id,omitempty"`

	// 该参数用于销售线路场景,标识机房内部线路资源产品ID[(功能暂不支持)](tag:dt)
	BuildingLineProductId *string `json:"building_line_product_id,omitempty"`

	// 该参数用于销售线路场景,标识变更前的一站式专线产品ID,用于在做线路带宽变更时保存上一次的记录。[(功能暂不支持)](tag:dt)
	LastOnestopProductId *string `json:"last_onestop_product_id,omitempty"`

	// 该参数用于销售线路场景,标识变更前机房内部线路资源产品ID,用于在做线路带宽变更时保存上一次的记录。[(功能暂不支持)](tag:dt)
	LastBuildingLineProductId *string `json:"last_building_line_product_id,omitempty"`

	// 线路带宽变更后的带宽值[(功能暂不支持)](tag:dt)
	ModifiedBandwidth *int32 `json:"modified_bandwidth,omitempty"`

	// 标识续费变更的一种状态[(功能暂不支持)](tag:dt)
	ChangeMode *int32 `json:"change_mode,omitempty"`

	// 一站式专线状态[(功能暂不支持)](tag:dt)
	OnestopdcStatus *string `json:"onestopdc_status,omitempty"`

	// 归属的可用区对应的边界组(public border group),标识是否homezone局点。[(功能暂不支持)](tag:dt)
	PublicBorderGroup *string `json:"public_border_group,omitempty"`

	// 用于标识包周期产品是否自动续订[(功能暂不支持)](tag:dt)
	AutoRenew *int32 `json:"auto_renew,omitempty"`

	// 95计费保底带宽率[(功能暂不支持)](tag:dt)
	Ratio95peak *int32 `json:"ratio_95peak,omitempty"`
}

DirectConnect 物理专线对象

func (DirectConnect) String

func (o DirectConnect) String() string

type DirectConnectChargeMode

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

func (DirectConnectChargeMode) MarshalJSON

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

func (*DirectConnectChargeMode) UnmarshalJSON

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

func (DirectConnectChargeMode) Value

func (c DirectConnectChargeMode) Value() string

type DirectConnectChargeModeEnum

type DirectConnectChargeModeEnum struct {
	PREPAYMENT DirectConnectChargeMode
	BANDWIDTH  DirectConnectChargeMode
	TRAFFIC    DirectConnectChargeMode
}

func GetDirectConnectChargeModeEnum

func GetDirectConnectChargeModeEnum() DirectConnectChargeModeEnum

type DirectConnectPortType

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

func (DirectConnectPortType) MarshalJSON

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

func (*DirectConnectPortType) UnmarshalJSON

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

func (DirectConnectPortType) Value

func (c DirectConnectPortType) Value() string

type DirectConnectPortTypeEnum

type DirectConnectPortTypeEnum struct {
	E_1_G   DirectConnectPortType
	E_10_G  DirectConnectPortType
	E_40_G  DirectConnectPortType
	E_100_G DirectConnectPortType
}

func GetDirectConnectPortTypeEnum

func GetDirectConnectPortTypeEnum() DirectConnectPortTypeEnum

type DirectConnectProviderStatus

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

func (DirectConnectProviderStatus) MarshalJSON

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

func (*DirectConnectProviderStatus) UnmarshalJSON

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

func (DirectConnectProviderStatus) Value

type DirectConnectProviderStatusEnum

type DirectConnectProviderStatusEnum struct {
	ACTIVE DirectConnectProviderStatus
	DOWN   DirectConnectProviderStatus
}

func GetDirectConnectProviderStatusEnum

func GetDirectConnectProviderStatusEnum() DirectConnectProviderStatusEnum

type DirectConnectSignedAgreementStatus

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

func (DirectConnectSignedAgreementStatus) MarshalJSON

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

func (*DirectConnectSignedAgreementStatus) UnmarshalJSON

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

func (DirectConnectSignedAgreementStatus) Value

type DirectConnectSignedAgreementStatusEnum

type DirectConnectSignedAgreementStatusEnum struct {
	SIGNED DirectConnectSignedAgreementStatus
}

func GetDirectConnectSignedAgreementStatusEnum

func GetDirectConnectSignedAgreementStatusEnum() DirectConnectSignedAgreementStatusEnum

type DirectConnectStatus

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

func (DirectConnectStatus) MarshalJSON

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

func (*DirectConnectStatus) UnmarshalJSON

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

func (DirectConnectStatus) Value

func (c DirectConnectStatus) Value() string

type DirectConnectStatusEnum

type DirectConnectStatusEnum struct {
	BUILD          DirectConnectStatus
	PAID           DirectConnectStatus
	APPLY          DirectConnectStatus
	PENDING_SURVEY DirectConnectStatus
	ACTIVE         DirectConnectStatus
	DOWN           DirectConnectStatus
	ERROR          DirectConnectStatus
	PENDING_DELETE DirectConnectStatus
	DELETED        DirectConnectStatus
	DENY           DirectConnectStatus
	PENDING_PAY    DirectConnectStatus
}

func GetDirectConnectStatusEnum

func GetDirectConnectStatusEnum() DirectConnectStatusEnum

type DirectConnectType

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

func (DirectConnectType) MarshalJSON

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

func (*DirectConnectType) UnmarshalJSON

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

func (DirectConnectType) Value

func (c DirectConnectType) Value() string

type DirectConnectTypeEnum

type DirectConnectTypeEnum struct {
	STANDARD         DirectConnectType
	HOSTING          DirectConnectType
	HOSTED           DirectConnectType
	ONESTOP_STANDARD DirectConnectType
	ONESTOP_HOSTED   DirectConnectType
}

func GetDirectConnectTypeEnum

func GetDirectConnectTypeEnum() DirectConnectTypeEnum

type DirectConnectVgwType

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

func (DirectConnectVgwType) MarshalJSON

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

func (*DirectConnectVgwType) UnmarshalJSON

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

func (DirectConnectVgwType) Value

func (c DirectConnectVgwType) Value() string

type DirectConnectVgwTypeEnum

type DirectConnectVgwTypeEnum struct {
	DEFAULT DirectConnectVgwType
}

func GetDirectConnectVgwTypeEnum

func GetDirectConnectVgwTypeEnum() DirectConnectVgwTypeEnum

type ExternalCreateGlobalDcGateway added in v0.1.125

type ExternalCreateGlobalDcGateway struct {

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

	// 租户ID
	TenantId *string `json:"tenant_id,omitempty"`

	// 全球接入网关ID
	Name string `json:"name"`

	// 描述信息
	Description *string `json:"description,omitempty"`

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

	// 地址簇
	AddressFamily *string `json:"address_family,omitempty"`

	// 全球中心网络ID
	GlobalCenterNetworkId *string `json:"global_center_network_id,omitempty"`

	// 站点网络ID
	SiteNetworkId *string `json:"site_network_id,omitempty"`

	// 云连接ID
	CloudConnectionId *string `json:"cloud_connection_id,omitempty"`

	// BGP的AS号
	BgpAsn *int64 `json:"bgp_asn,omitempty"`

	// 局点ID
	RegionId *string `json:"region_id,omitempty"`

	// 位置名称
	LocationName *string `json:"location_name,omitempty"`

	// 当前对等体数量
	CurrentPeerLinkCount *int32 `json:"current_peer_link_count,omitempty"`

	// 有效对等体数量
	AvailablePeerLinkCount *int32 `json:"available_peer_link_count,omitempty"`

	// 是否冻结 - true 是 - false 否
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	// 状态值 - ACTIVE 正常 - ERROR 异常
	Status *string `json:"status,omitempty"`

	// 创建时间
	CreatedTime *sdktime.SdkTime `json:"created_time,omitempty"`

	// 修改时间
	UpdatedTime *sdktime.SdkTime `json:"updated_time,omitempty"`
}

ExternalCreateGlobalDcGateway 创建成功返回响应体

func (ExternalCreateGlobalDcGateway) String added in v0.1.125

type ExternalCreatePeerLink struct {

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

	// 租户ID
	TenantId *string `json:"tenant_id,omitempty"`

	// 名称
	Name string `json:"name"`

	// 描述
	Description *string `json:"description,omitempty"`

	// 全球接入网关ID
	GlobalDcGatewayId *string `json:"global_dc_gateway_id,omitempty"`

	// 实例ID
	InstanceId *string `json:"instance_id,omitempty"`

	BandwidthInfo *BandwidthInfoExternal `json:"bandwidth_info,omitempty"`

	PeerSite *PeerSiteExternal `json:"peer_site"`

	// 状态: ACTIVE-正常
	Status *string `json:"status,omitempty"`

	// 原因
	Reason *string `json:"reason,omitempty"`

	// 创建时间
	CreatedTime *sdktime.SdkTime `json:"created_time,omitempty"`

	// 修改时间
	UpdatedTime *sdktime.SdkTime `json:"updated_time,omitempty"`
}

func (ExternalCreatePeerLink) String added in v0.1.125

func (o ExternalCreatePeerLink) String() string

type ExternalListGlobalDcGateways added in v0.1.125

type ExternalListGlobalDcGateways struct {

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

	// 租户ID
	TenantId *string `json:"tenant_id,omitempty"`

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

	// 描述信息
	Description *string `json:"description,omitempty"`

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

	// 全球中心网络ID
	GlobalCenterNetworkId *string `json:"global_center_network_id,omitempty"`

	// 站点网络ID
	SiteNetworkId *string `json:"site_network_id,omitempty"`

	// 云连接ID
	CloudConnectionId *string `json:"cloud_connection_id,omitempty"`

	// BGP模式的AS号
	BgpAsn *int64 `json:"bgp_asn,omitempty"`

	// 局点ID
	RegionId *string `json:"region_id,omitempty"`

	// 位置名称
	LocationName *string `json:"location_name,omitempty"`

	// 地址簇
	AddressFamily *string `json:"address_family,omitempty"`

	Locales *Locale `json:"locales,omitempty"`

	// 当前对等体数量
	CurrentPeerLinkCount *int32 `json:"current_peer_link_count,omitempty"`

	// 有效对等体数量
	AvailablePeerLinkCount *int32 `json:"available_peer_link_count,omitempty"`

	// 是否冻结: true-是,false-否
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	// 状态: ACTIVE-正常,ERROR-异常
	Status *string `json:"status,omitempty"`

	// 失败原因
	Reason *string `json:"reason,omitempty"`

	// 创建时间
	CreatedTime *sdktime.SdkTime `json:"created_time,omitempty"`

	// 修改时间
	UpdatedTime *sdktime.SdkTime `json:"updated_time,omitempty"`

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

func (ExternalListGlobalDcGateways) String added in v0.1.125

type ExternalListPeerLinks struct {
	Id *string `json:"id,omitempty"`

	TenantId *string `json:"tenant_id,omitempty"`

	Name *string `json:"name,omitempty"`

	Description *string `json:"description,omitempty"`

	GlobalDcGatewayId *string `json:"global_dc_gateway_id,omitempty"`

	InstanceId *string `json:"instance_id,omitempty"`

	CreateOwner *string `json:"create_owner,omitempty"`

	BandwidthInfo *BandwidthInfoExternal `json:"bandwidth_info,omitempty"`

	PeerSite *PeerSiteExternal `json:"peer_site,omitempty"`

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

	Reason *string `json:"reason,omitempty"`

	CreatedTime *sdktime.SdkTime `json:"created_time,omitempty"`

	UpdatedTime *sdktime.SdkTime `json:"updated_time,omitempty"`
}

func (ExternalListPeerLinks) String added in v0.1.125

func (o ExternalListPeerLinks) String() string

type ExternalShowGlobalDcGateway added in v0.1.125

type ExternalShowGlobalDcGateway struct {

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

	// 租户ID
	TenantId *string `json:"tenant_id,omitempty"`

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

	// 描述信息
	Description *string `json:"description,omitempty"`

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

	// 全球中心网路ID
	GlobalCenterNetworkId *string `json:"global_center_network_id,omitempty"`

	// 站点网络ID
	SiteNetworkId *string `json:"site_network_id,omitempty"`

	// 云连接ID
	CloudConnectionId *string `json:"cloud_connection_id,omitempty"`

	// BGP模式AS号
	BgpAsn *int64 `json:"bgp_asn,omitempty"`

	// 局点ID
	RegionId *string `json:"region_id,omitempty"`

	// 位置名称
	LocationName *string `json:"location_name,omitempty"`

	Locales *Locale `json:"locales,omitempty"`

	// 当前对等体数量
	CurrentPeerLinkCount *int32 `json:"current_peer_link_count,omitempty"`

	// 有效对等体数量
	AvailablePeerLinkCount *int32 `json:"available_peer_link_count,omitempty"`

	// 是否冻结:true-是,false-否
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	// 状态:ACTIVE-正常,ERROR-异常
	Status *string `json:"status,omitempty"`

	// 创建时间
	CreatedTime *sdktime.SdkTime `json:"created_time,omitempty"`

	// 更新时间
	UpdatedTime *sdktime.SdkTime `json:"updated_time,omitempty"`

	// 返回给RMS的资源标签
	Tags map[string]string `json:"tags,omitempty"`
}

func (ExternalShowGlobalDcGateway) String added in v0.1.125

type ExternalShowPeerLink struct {

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

	// 租户ID
	TenantId *string `json:"tenant_id,omitempty"`

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

	// 描述信息
	Description *string `json:"description,omitempty"`

	// 实例ID
	InstanceId *string `json:"instance_id,omitempty"`

	// 全球接入网关ID
	GlobalDcGatewayId *string `json:"global_dc_gateway_id,omitempty"`

	// 创建者
	CreateOwner *string `json:"create_owner,omitempty"`

	BandwidthInfo *BandwidthInfoExternal `json:"bandwidth_info,omitempty"`

	PeerSite *PeerSiteExternal `json:"peer_site,omitempty"`

	// 状态:ACTIVE-正常,ERROR-异常
	Status *string `json:"status,omitempty"`

	// 原因
	Reason *string `json:"reason,omitempty"`

	// 创建时间
	CreatedTime *sdktime.SdkTime `json:"created_time,omitempty"`

	// 修改时间
	UpdatedTime *sdktime.SdkTime `json:"updated_time,omitempty"`
}

ExternalShowPeerLink 对外对等体对象

func (ExternalShowPeerLink) String added in v0.1.125

func (o ExternalShowPeerLink) String() string

type ExternalUpdateGlobalDcGateway added in v0.1.125

type ExternalUpdateGlobalDcGateway struct {

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

	// 租户ID
	TenantId *string `json:"tenant_id,omitempty"`

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

	// 描述信息
	Description *string `json:"description,omitempty"`

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

	// 全球中心网络ID
	GlobalCenterNetworkId *string `json:"global_center_network_id,omitempty"`

	// 站点网络ID
	SiteNetworkId *string `json:"site_network_id,omitempty"`

	// 云连接ID
	CloudConnectionId *string `json:"cloud_connection_id,omitempty"`

	// BGP模式的AS号
	BgpAsn *int64 `json:"bgp_asn,omitempty"`

	// 租户ID
	RegionId *string `json:"region_id,omitempty"`

	// 位置名称
	LocationName *string `json:"location_name,omitempty"`

	// 当前对等体数量
	CurrentPeerLinkCount *int32 `json:"current_peer_link_count,omitempty"`

	// 有效对等体数量
	AvailablePeerLinkCount *int32 `json:"available_peer_link_count,omitempty"`

	// 是否冻结:true-是,false-否
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	// 状态: ACTIVE-正常,ERROR-异常
	Status *string `json:"status,omitempty"`

	// 创建时间
	CreatedTime *sdktime.SdkTime `json:"created_time,omitempty"`

	// 修改时间
	UpdatedTime *sdktime.SdkTime `json:"updated_time,omitempty"`
}

ExternalUpdateGlobalDcGateway 修改响应体对象

func (ExternalUpdateGlobalDcGateway) String added in v0.1.125

type ExternalUpdatePeerLink struct {
	Id *string `json:"id,omitempty"`

	TenantId *string `json:"tenant_id,omitempty"`

	Name *string `json:"name,omitempty"`

	Description *string `json:"description,omitempty"`

	GlobalDcGatewayId *string `json:"global_dc_gateway_id,omitempty"`

	BandwidthInfo *BandwidthInfoExternal `json:"bandwidth_info,omitempty"`

	PeerSite *PeerSiteExternal `json:"peer_site,omitempty"`

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

	Reason *string `json:"reason,omitempty"`

	CreatedTime *sdktime.SdkTime `json:"created_time,omitempty"`

	UpdatedTime *sdktime.SdkTime `json:"updated_time,omitempty"`
}

func (ExternalUpdatePeerLink) String added in v0.1.125

func (o ExternalUpdatePeerLink) String() string

type HostedDirectConnect

type HostedDirectConnect struct {

	// 托管专线ID
	Id *string `json:"id,omitempty"`

	// 实例所属项目ID。
	TenantId *string `json:"tenant_id,omitempty"`

	// 物理专线名字
	Name *string `json:"name,omitempty"`

	// 物理专线的描述信息
	Description *string `json:"description,omitempty"`

	// 物理专线接入带宽,单位Mbps。
	Bandwidth *int32 `json:"bandwidth,omitempty"`

	// 专线的接入位置信息
	Location *string `json:"location,omitempty"`

	// 物理专线对端所在的物理位置,省/市/街道或IDC名字。
	PeerLocation *string `json:"peer_location,omitempty"`

	// hosted物理专线对应的hosting物理专线的ID
	HostingId *string `json:"hosting_id,omitempty"`

	// 专线线路的提供商
	Provider *string `json:"provider,omitempty"`

	// 管理状态:true或false
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	// hosted物理专线预分配的vlan。
	Vlan *int32 `json:"vlan,omitempty"`

	// 操作状态,合法值是: BUILD:已开通 ACTIVE:虚拟网关正常 DOWN:专线对应的端口处于down的状态,可能存在线路故障等异常。 ERROR:虚拟网关异常 PENDING_DELETE:删除中 PENDING_UPDATE:更新中 PENDING_CREATE:创建中
	Status *HostedDirectConnectStatus `json:"status,omitempty"`

	// 物理专线申请时间
	ApplyTime *string `json:"apply_time,omitempty"`

	// 物理专线创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 物理专线的运营商操作状态,合法值是:ACTIVE, DOWN
	ProviderStatus *HostedDirectConnectProviderStatus `json:"provider_status,omitempty"`

	// 物理专线接入接口的类型,支持1G 10G 40G 100G
	PortType *HostedDirectConnectPortType `json:"port_type,omitempty"`

	// 物理专线的类型,类型包括标准(standard),运营专线(hosting),托管专线(hosted)[,一站式标准(onestop_standard),一站式托管(onestop_hosted)](tag:hws)。
	Type *HostedDirectConnectType `json:"type,omitempty"`
}

HostedDirectConnect 托管专线对象信息

func (HostedDirectConnect) String

func (o HostedDirectConnect) String() string

type HostedDirectConnectPortType added in v0.1.73

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

func (HostedDirectConnectPortType) MarshalJSON added in v0.1.73

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

func (*HostedDirectConnectPortType) UnmarshalJSON added in v0.1.73

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

func (HostedDirectConnectPortType) Value added in v0.1.73

type HostedDirectConnectPortTypeEnum added in v0.1.73

type HostedDirectConnectPortTypeEnum struct {
	E_1_G   HostedDirectConnectPortType
	E_10_G  HostedDirectConnectPortType
	E_40_G  HostedDirectConnectPortType
	E_100_G HostedDirectConnectPortType
}

func GetHostedDirectConnectPortTypeEnum added in v0.1.73

func GetHostedDirectConnectPortTypeEnum() HostedDirectConnectPortTypeEnum

type HostedDirectConnectProviderStatus

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

func (HostedDirectConnectProviderStatus) MarshalJSON

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

func (*HostedDirectConnectProviderStatus) UnmarshalJSON

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

func (HostedDirectConnectProviderStatus) Value

type HostedDirectConnectProviderStatusEnum

type HostedDirectConnectProviderStatusEnum struct {
	ACTIVE HostedDirectConnectProviderStatus
	DOWN   HostedDirectConnectProviderStatus
}

func GetHostedDirectConnectProviderStatusEnum

func GetHostedDirectConnectProviderStatusEnum() HostedDirectConnectProviderStatusEnum

type HostedDirectConnectStatus

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

func (HostedDirectConnectStatus) MarshalJSON

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

func (*HostedDirectConnectStatus) UnmarshalJSON

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

func (HostedDirectConnectStatus) Value

type HostedDirectConnectType added in v0.1.73

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

func (HostedDirectConnectType) MarshalJSON added in v0.1.73

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

func (*HostedDirectConnectType) UnmarshalJSON added in v0.1.73

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

func (HostedDirectConnectType) Value added in v0.1.73

func (c HostedDirectConnectType) Value() string

type HostedDirectConnectTypeEnum added in v0.1.73

type HostedDirectConnectTypeEnum struct {
	STANDARD         HostedDirectConnectType
	HOSTING          HostedDirectConnectType
	HOSTED           HostedDirectConnectType
	ONESTOP_STANDARD HostedDirectConnectType
	ONESTOP_HOSTED   HostedDirectConnectType
}

func GetHostedDirectConnectTypeEnum added in v0.1.73

func GetHostedDirectConnectTypeEnum() HostedDirectConnectTypeEnum

type Info added in v0.1.61

type Info struct {

	// 配额类型
	Type *string `json:"type,omitempty"`

	// 可用的配额数,-1 代表不受限制
	Quota *int64 `json:"quota,omitempty"`

	// 已使用的配额数量
	Used *int64 `json:"used,omitempty"`

	// 用量单位
	Unit *string `json:"unit,omitempty"`
}

func (Info) String added in v0.1.61

func (o Info) String() string

type ListBindingGeip added in v0.1.125

type ListBindingGeip struct {

	// geip的id
	GlobalEipId *string `json:"global_eip_id,omitempty"`

	// 网段geip的id
	GlobalEipSegmentId *string `json:"global_eip_segment_id,omitempty"`

	// geip的绑定状态
	Status *string `json:"status,omitempty"`

	// geip类型:IP_ADDRESS/IP_SEGMENT
	Type *string `json:"type,omitempty"`

	// geip绑定失败的原因
	ErrorMessage *string `json:"error_message,omitempty"`

	// geip的地址ip/mask
	Cidr *string `json:"cidr,omitempty"`

	// geip的地址簇
	AddressFamily *string `json:"address_family,omitempty"`

	// IES的集群vtepIp
	IeVtepIp *string `json:"ie_vtep_ip,omitempty"`

	// geip绑定时间
	CreatedTime *string `json:"created_time,omitempty"`

	// 带宽包的id
	GcbId *string `json:"gcb_id,omitempty"`
}

ListBindingGeip Returns geip and its binding status

func (ListBindingGeip) String added in v0.1.125

func (o ListBindingGeip) String() string

type ListConnectGatewaysRequest added in v0.1.125

type ListConnectGatewaysRequest struct {

	// 每页返回的个数。 取值范围:1~2000。
	Limit *int32 `json:"limit,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

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

	PageReverse *bool `json:"page_reverse,omitempty"`

	// 显示字段列表
	Fields *[]string `json:"fields,omitempty"`

	// show response ext-fields
	ExtFields *[]string `json:"ext_fields,omitempty"`

	// 排序字段。
	SortKey *string `json:"sort_key,omitempty"`

	// 返回结果按照升序(asc)或降序(desc)排列,默认为asc
	SortDir *[]ListConnectGatewaysRequestSortDir `json:"sort_dir,omitempty"`

	// 根据资源ID过滤实例
	Id *[]string `json:"id,omitempty"`

	// 根据名字过滤查询,可查询多个名字。
	Name *[]string `json:"name,omitempty"`

	// 根椐资源状态过淲实例
	Status *[]string `json:"status,omitempty"`
}

ListConnectGatewaysRequest Request Object

func (ListConnectGatewaysRequest) String added in v0.1.125

type ListConnectGatewaysRequestSortDir added in v0.1.125

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

func (ListConnectGatewaysRequestSortDir) MarshalJSON added in v0.1.125

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

func (*ListConnectGatewaysRequestSortDir) UnmarshalJSON added in v0.1.125

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

func (ListConnectGatewaysRequestSortDir) Value added in v0.1.125

type ListConnectGatewaysRequestSortDirEnum added in v0.1.125

type ListConnectGatewaysRequestSortDirEnum struct {
	ASC  ListConnectGatewaysRequestSortDir
	DESC ListConnectGatewaysRequestSortDir
}

func GetListConnectGatewaysRequestSortDirEnum added in v0.1.125

func GetListConnectGatewaysRequestSortDirEnum() ListConnectGatewaysRequestSortDirEnum

type ListConnectGatewaysResponse added in v0.1.125

type ListConnectGatewaysResponse struct {

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

	ConnectGateways *[]ConnectGatewayResponse `json:"connect_gateways,omitempty"`
	HttpStatusCode  int                       `json:"-"`
}

ListConnectGatewaysResponse Response Object

func (ListConnectGatewaysResponse) String added in v0.1.125

type ListDirectConnectsRequest

type ListDirectConnectsRequest struct {

	// 每页返回的个数。 取值范围:1~2000。
	Limit *int32 `json:"limit,omitempty"`

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

	// 显示字段列表
	Fields *[]string `json:"fields,omitempty"`

	// 排序字段。
	SortKey *string `json:"sort_key,omitempty"`

	// 返回结果按照升序(asc)或降序(desc)排列,默认为asc
	SortDir *[]ListDirectConnectsRequestSortDir `json:"sort_dir,omitempty"`

	// 根椐运营专线ID过滤托管专线列表
	HostingId *[]string `json:"hosting_id,omitempty"`

	// 根据企业项目ID过滤资源实例
	EnterpriseProjectId *[]string `json:"enterprise_project_id,omitempty"`

	// 根据资源ID过滤实例
	Id *[]string `json:"id,omitempty"`

	// 根据名字过滤查询,可查询多个名字。
	Name *[]string `json:"name,omitempty"`
}

ListDirectConnectsRequest Request Object

func (ListDirectConnectsRequest) String

func (o ListDirectConnectsRequest) String() string

type ListDirectConnectsRequestSortDir

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

func (ListDirectConnectsRequestSortDir) MarshalJSON

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

func (*ListDirectConnectsRequestSortDir) UnmarshalJSON

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

func (ListDirectConnectsRequestSortDir) Value

type ListDirectConnectsRequestSortDirEnum

type ListDirectConnectsRequestSortDirEnum struct {
	ASC  ListDirectConnectsRequestSortDir
	DESC ListDirectConnectsRequestSortDir
}

func GetListDirectConnectsRequestSortDirEnum

func GetListDirectConnectsRequestSortDirEnum() ListDirectConnectsRequestSortDirEnum

type ListDirectConnectsResponse

type ListDirectConnectsResponse struct {

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

	// 物理专线对象列表
	DirectConnects *[]DirectConnect `json:"direct_connects,omitempty"`

	PageInfo       *PageInfo `json:"page_info,omitempty"`
	HttpStatusCode int       `json:"-"`
}

ListDirectConnectsResponse Response Object

func (ListDirectConnectsResponse) String

type ListGdgwRouteTablesRequest added in v0.1.125

type ListGdgwRouteTablesRequest struct {

	// 全球接入网关ID
	GdgwId string `json:"gdgw_id"`

	// 显示字段列表
	Fields *[]string `json:"fields,omitempty"`

	// show response ext-fields
	ExtFields *[]string `json:"ext_fields,omitempty"`

	// 下一条ID
	Nexthop *[]string `json:"nexthop,omitempty"`

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

	// 地址簇
	AddressFamily *[]ListGdgwRouteTablesRequestAddressFamily `json:"address_family,omitempty"`
}

ListGdgwRouteTablesRequest Request Object

func (ListGdgwRouteTablesRequest) String added in v0.1.125

type ListGdgwRouteTablesRequestAddressFamily added in v0.1.125

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

func (ListGdgwRouteTablesRequestAddressFamily) MarshalJSON added in v0.1.125

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

func (*ListGdgwRouteTablesRequestAddressFamily) UnmarshalJSON added in v0.1.125

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

func (ListGdgwRouteTablesRequestAddressFamily) Value added in v0.1.125

type ListGdgwRouteTablesRequestAddressFamilyEnum added in v0.1.125

type ListGdgwRouteTablesRequestAddressFamilyEnum struct {
	IPV4 ListGdgwRouteTablesRequestAddressFamily
	IPV6 ListGdgwRouteTablesRequestAddressFamily
}

func GetListGdgwRouteTablesRequestAddressFamilyEnum added in v0.1.125

func GetListGdgwRouteTablesRequestAddressFamilyEnum() ListGdgwRouteTablesRequestAddressFamilyEnum

type ListGdgwRouteTablesResponse added in v0.1.125

type ListGdgwRouteTablesResponse struct {

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

	// 路由表详细对象
	GdgwRoutetable *[]ShowGdgwRoutetable `json:"gdgw_routetable,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListGdgwRouteTablesResponse Response Object

func (ListGdgwRouteTablesResponse) String added in v0.1.125

type ListGlobalDcGatewayRequest added in v0.1.125

type ListGlobalDcGatewayRequest struct {

	// 每页返回的个数。 取值范围:1~2000。
	Limit *int32 `json:"limit,omitempty"`

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

	// 显示字段列表
	Fields *[]string `json:"fields,omitempty"`

	// 排序字段。
	SortKey *string `json:"sort_key,omitempty"`

	// 返回结果按照升序(asc)或降序(desc)排列,默认为asc
	SortDir *[]ListGlobalDcGatewayRequestSortDir `json:"sort_dir,omitempty"`

	// 根椐运营专线ID过滤托管专线列表
	HostingId *[]string `json:"hosting_id,omitempty"`

	// 根据企业项目ID过滤资源实例
	EnterpriseProjectId *[]string `json:"enterprise_project_id,omitempty"`

	// 根据资源ID过滤实例
	Id *[]string `json:"id,omitempty"`

	// 根据名字过滤查询,可查询多个名字。
	Name *[]string `json:"name,omitempty"`

	// 全球中心网络ID
	GlobalCenterNetworkId *[]string `json:"global_center_network_id,omitempty"`

	// 站点网络ID
	SiteNetworkId *[]string `json:"site_network_id,omitempty"`

	// 云连接ID
	CloudConnectionId *[]string `json:"cloud_connection_id,omitempty"`
}

ListGlobalDcGatewayRequest Request Object

func (ListGlobalDcGatewayRequest) String added in v0.1.125

type ListGlobalDcGatewayRequestSortDir added in v0.1.125

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

func (ListGlobalDcGatewayRequestSortDir) MarshalJSON added in v0.1.125

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

func (*ListGlobalDcGatewayRequestSortDir) UnmarshalJSON added in v0.1.125

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

func (ListGlobalDcGatewayRequestSortDir) Value added in v0.1.125

type ListGlobalDcGatewayRequestSortDirEnum added in v0.1.125

type ListGlobalDcGatewayRequestSortDirEnum struct {
	ASC  ListGlobalDcGatewayRequestSortDir
	DESC ListGlobalDcGatewayRequestSortDir
}

func GetListGlobalDcGatewayRequestSortDirEnum added in v0.1.125

func GetListGlobalDcGatewayRequestSortDirEnum() ListGlobalDcGatewayRequestSortDirEnum

type ListGlobalDcGatewayResponse added in v0.1.125

type ListGlobalDcGatewayResponse struct {

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

	GlobalDcGateways *[]ExternalListGlobalDcGateways `json:"global_dc_gateways,omitempty"`

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

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListGlobalDcGatewayResponse Response Object

func (ListGlobalDcGatewayResponse) String added in v0.1.125

type ListGlobalEipsRequest added in v0.1.125

type ListGlobalEipsRequest struct {

	// 每页返回的个数。 取值范围:1~2000。
	Limit *int32 `json:"limit,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

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

	PageReverse *bool `json:"page_reverse,omitempty"`

	// 显示字段列表
	Fields *[]string `json:"fields,omitempty"`

	// show response ext-fields
	ExtFields *[]string `json:"ext_fields,omitempty"`

	// 排序字段。
	SortKey *string `json:"sort_key,omitempty"`

	// 返回结果按照升序(asc)或降序(desc)排列,默认为asc
	SortDir *[]ListGlobalEipsRequestSortDir `json:"sort_dir,omitempty"`

	// 互联网关ID
	ConnectGatewayId string `json:"connect_gateway_id"`

	// 根椐资源状态过淲实例
	Status *[]string `json:"status,omitempty"`

	// 全局弹性IP的ID
	GlobalEipId *[]string `json:"global_eip_id,omitempty"`

	// 全局弹性IP(有掩码)的ID
	GlobalEipSegmentId *[]string `json:"global_eip_segment_id,omitempty"`
}

ListGlobalEipsRequest Request Object

func (ListGlobalEipsRequest) String added in v0.1.125

func (o ListGlobalEipsRequest) String() string

type ListGlobalEipsRequestSortDir added in v0.1.125

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

func (ListGlobalEipsRequestSortDir) MarshalJSON added in v0.1.125

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

func (*ListGlobalEipsRequestSortDir) UnmarshalJSON added in v0.1.125

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

func (ListGlobalEipsRequestSortDir) Value added in v0.1.125

type ListGlobalEipsRequestSortDirEnum added in v0.1.125

type ListGlobalEipsRequestSortDirEnum struct {
	ASC  ListGlobalEipsRequestSortDir
	DESC ListGlobalEipsRequestSortDir
}

func GetListGlobalEipsRequestSortDirEnum added in v0.1.125

func GetListGlobalEipsRequestSortDirEnum() ListGlobalEipsRequestSortDirEnum

type ListGlobalEipsResponse added in v0.1.125

type ListGlobalEipsResponse struct {

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

	// 全局弹性公网IP
	GlobalEips *[]ListBindingGeip `json:"global_eips,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListGlobalEipsResponse Response Object

func (ListGlobalEipsResponse) String added in v0.1.125

func (o ListGlobalEipsResponse) String() string

type ListHostedDirectConnectsRequest

type ListHostedDirectConnectsRequest struct {

	// 每页返回的个数。 取值范围:1~2000。
	Limit *int32 `json:"limit,omitempty"`

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

	// 显示字段列表
	Fields *[]string `json:"fields,omitempty"`

	// 返回结果按照升序(asc)或降序(desc)排列,默认为asc
	SortDir *[]ListHostedDirectConnectsRequestSortDir `json:"sort_dir,omitempty"`

	// 排序字段。
	SortKey *string `json:"sort_key,omitempty"`

	// 根椐运营专线ID过滤托管专线列表
	HostingId *[]string `json:"hosting_id,omitempty"`

	// 根据资源ID过滤实例
	Id *[]string `json:"id,omitempty"`

	// 根据名字过滤查询,可查询多个名字。
	Name *[]string `json:"name,omitempty"`
}

ListHostedDirectConnectsRequest Request Object

func (ListHostedDirectConnectsRequest) String

type ListHostedDirectConnectsRequestSortDir

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

func (ListHostedDirectConnectsRequestSortDir) MarshalJSON

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

func (*ListHostedDirectConnectsRequestSortDir) UnmarshalJSON

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

func (ListHostedDirectConnectsRequestSortDir) Value

type ListHostedDirectConnectsResponse

type ListHostedDirectConnectsResponse struct {

	// 本次操作的请求ID
	RequestId *string `json:"request_id,omitempty"`

	HostedConnects *[]HostedDirectConnect `json:"hosted_connects,omitempty"`

	PageInfo       *PageInfo `json:"page_info,omitempty"`
	HttpStatusCode int       `json:"-"`
}

ListHostedDirectConnectsResponse Response Object

func (ListHostedDirectConnectsResponse) String

type ListPeerLinksRequest added in v0.1.125

type ListPeerLinksRequest struct {

	// 每页返回的个数。 取值范围:1~2000。
	Limit *int32 `json:"limit,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

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

	PageReverse *bool `json:"page_reverse,omitempty"`

	// 显示字段列表
	Fields *[]string `json:"fields,omitempty"`

	// show response ext-fields
	ExtFields *[]string `json:"ext_fields,omitempty"`

	// 排序字段。
	SortKey *string `json:"sort_key,omitempty"`

	// 返回结果按照升序(asc)或降序(desc)排列,默认为asc
	SortDir *[]ListPeerLinksRequestSortDir `json:"sort_dir,omitempty"`

	// 全球接入网关ID
	GlobalDcGatewayId string `json:"global_dc_gateway_id"`

	// 根据资源ID过滤实例
	Id *[]string `json:"id,omitempty"`

	// 根据名字过滤查询,可查询多个名字。
	Name *[]string `json:"name,omitempty"`
}

ListPeerLinksRequest Request Object

func (ListPeerLinksRequest) String added in v0.1.125

func (o ListPeerLinksRequest) String() string

type ListPeerLinksRequestSortDir added in v0.1.125

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

func (ListPeerLinksRequestSortDir) MarshalJSON added in v0.1.125

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

func (*ListPeerLinksRequestSortDir) UnmarshalJSON added in v0.1.125

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

func (ListPeerLinksRequestSortDir) Value added in v0.1.125

type ListPeerLinksRequestSortDirEnum added in v0.1.125

type ListPeerLinksRequestSortDirEnum struct {
	ASC  ListPeerLinksRequestSortDir
	DESC ListPeerLinksRequestSortDir
}

func GetListPeerLinksRequestSortDirEnum added in v0.1.125

func GetListPeerLinksRequestSortDirEnum() ListPeerLinksRequestSortDirEnum

type ListPeerLinksResponse added in v0.1.125

type ListPeerLinksResponse struct {
	RequestId *string `json:"request_id,omitempty"`

	PeerLinks *[]ExternalListPeerLinks `json:"peer_links,omitempty"`

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

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListPeerLinksResponse Response Object

func (ListPeerLinksResponse) String added in v0.1.125

func (o ListPeerLinksResponse) String() string

type ListProjectTagsRequest

type ListProjectTagsRequest struct {

	// - 专线服务资源类型,包括dc-directconnect/dc-vgw/dc-vif - dc-directconnect: 专线物理连接 - dc-vgw: 虚拟网关 - dc-vif: 虚拟接口
	ResourceType ListProjectTagsRequestResourceType `json:"resource_type"`
}

ListProjectTagsRequest Request Object

func (ListProjectTagsRequest) String

func (o ListProjectTagsRequest) String() string

type ListProjectTagsRequestResourceType

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

func (ListProjectTagsRequestResourceType) MarshalJSON

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

func (*ListProjectTagsRequestResourceType) UnmarshalJSON

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

func (ListProjectTagsRequestResourceType) Value

type ListProjectTagsRequestResourceTypeEnum

type ListProjectTagsRequestResourceTypeEnum struct {
	DC_DIRECTCONNECT ListProjectTagsRequestResourceType
	DC_VGW           ListProjectTagsRequestResourceType
	DC_VIF           ListProjectTagsRequestResourceType
}

func GetListProjectTagsRequestResourceTypeEnum

func GetListProjectTagsRequestResourceTypeEnum() ListProjectTagsRequestResourceTypeEnum

type ListProjectTagsResponse

type ListProjectTagsResponse struct {

	// 标签列表。
	Tags *[]Tag `json:"tags,omitempty"`

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

ListProjectTagsResponse Response Object

func (ListProjectTagsResponse) String

func (o ListProjectTagsResponse) String() string

type ListRmsGlobalDcGatewayRequest added in v0.1.125

type ListRmsGlobalDcGatewayRequest struct {

	// 每页返回的个数。 取值范围:1~2000。
	Limit *int32 `json:"limit,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

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

	PageReverse *bool `json:"page_reverse,omitempty"`

	// 通过rp_name过滤记录
	RpName string `json:"rp_name"`

	// domain_id
	DomainId string `json:"domain_id"`

	// region_id
	RegionId string `json:"region_id"`

	// resource_type
	ResourceType string `json:"resource_type"`

	// 显示字段列表
	Fields *[]string `json:"fields,omitempty"`

	// show response ext-fields
	ExtFields *[]string `json:"ext_fields,omitempty"`

	// 排序字段。
	SortKey *string `json:"sort_key,omitempty"`

	// 返回结果按照升序(asc)或降序(desc)排列,默认为asc
	SortDir *[]ListRmsGlobalDcGatewayRequestSortDir `json:"sort_dir,omitempty"`

	// 根据资源ID过滤实例
	Id *[]string `json:"id,omitempty"`

	// 根据名字过滤查询,可查询多个名字。
	Name *[]string `json:"name,omitempty"`

	// 根椐资源状态过淲实例
	Status *[]string `json:"status,omitempty"`

	// 根据企业项目ID过滤资源实例
	EnterpriseProjectId *[]string `json:"enterprise_project_id,omitempty"`

	// 全球中心网络ID
	GlobalCenterNetworkId *[]string `json:"global_center_network_id,omitempty"`

	// 站点网络ID
	SiteNetworkId *[]string `json:"site_network_id,omitempty"`

	// 云连接ID
	CloudConnectionId *[]string `json:"cloud_connection_id,omitempty"`
}

ListRmsGlobalDcGatewayRequest Request Object

func (ListRmsGlobalDcGatewayRequest) String added in v0.1.125

type ListRmsGlobalDcGatewayRequestSortDir added in v0.1.125

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

func (ListRmsGlobalDcGatewayRequestSortDir) MarshalJSON added in v0.1.125

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

func (*ListRmsGlobalDcGatewayRequestSortDir) UnmarshalJSON added in v0.1.125

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

func (ListRmsGlobalDcGatewayRequestSortDir) Value added in v0.1.125

type ListRmsGlobalDcGatewayRequestSortDirEnum added in v0.1.125

type ListRmsGlobalDcGatewayRequestSortDirEnum struct {
	ASC  ListRmsGlobalDcGatewayRequestSortDir
	DESC ListRmsGlobalDcGatewayRequestSortDir
}

func GetListRmsGlobalDcGatewayRequestSortDirEnum added in v0.1.125

func GetListRmsGlobalDcGatewayRequestSortDirEnum() ListRmsGlobalDcGatewayRequestSortDirEnum

type ListRmsGlobalDcGatewayResponse added in v0.1.125

type ListRmsGlobalDcGatewayResponse struct {

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

	// 全球接入网关
	GlobalDcGateways *[]RmsListGlobalDcGateways `json:"global_dc_gateways,omitempty"`

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

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListRmsGlobalDcGatewayResponse Response Object

func (ListRmsGlobalDcGatewayResponse) String added in v0.1.125

type ListSwitchoverTestRecordsRequest added in v0.1.61

type ListSwitchoverTestRecordsRequest struct {

	// 每页返回的个数。 取值范围:1~2000。
	Limit *int32 `json:"limit,omitempty"`

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

	// 显示字段列表
	Fields *[]string `json:"fields,omitempty"`

	// 返回结果按照升序(asc)或降序(desc)排列,默认为asc
	SortDir *[]ListSwitchoverTestRecordsRequestSortDir `json:"sort_dir,omitempty"`

	// 排序字段。
	SortKey *string `json:"sort_key,omitempty"`

	// 通过RESOURCE-ID过虑倒换测试记录信息
	ResourceId *[]string `json:"resource_id,omitempty"`
}

ListSwitchoverTestRecordsRequest Request Object

func (ListSwitchoverTestRecordsRequest) String added in v0.1.61

type ListSwitchoverTestRecordsRequestSortDir added in v0.1.61

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

func (ListSwitchoverTestRecordsRequestSortDir) MarshalJSON added in v0.1.61

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

func (*ListSwitchoverTestRecordsRequestSortDir) UnmarshalJSON added in v0.1.61

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

func (ListSwitchoverTestRecordsRequestSortDir) Value added in v0.1.61

type ListSwitchoverTestRecordsRequestSortDirEnum added in v0.1.61

type ListSwitchoverTestRecordsRequestSortDirEnum struct {
	ASC  ListSwitchoverTestRecordsRequestSortDir
	DESC ListSwitchoverTestRecordsRequestSortDir
}

func GetListSwitchoverTestRecordsRequestSortDirEnum added in v0.1.61

func GetListSwitchoverTestRecordsRequestSortDirEnum() ListSwitchoverTestRecordsRequestSortDirEnum

type ListSwitchoverTestRecordsResponse added in v0.1.61

type ListSwitchoverTestRecordsResponse struct {

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

	// 倒换测试记录信息列表
	SwitchoverTestRecords *[]SwitchoverTestRecord `json:"switchover_test_records,omitempty"`

	PageInfo       *PageInfo `json:"page_info,omitempty"`
	HttpStatusCode int       `json:"-"`
}

ListSwitchoverTestRecordsResponse Response Object

func (ListSwitchoverTestRecordsResponse) String added in v0.1.61

type ListTagResourceInstancesRequest

type ListTagResourceInstancesRequest struct {

	// - 专线服务资源类型,包括dc-directconnect/dc-vgw/dc-vif - dc-directconnect: 专线物理连接 - dc-vgw: 虚拟网关 - dc-vif: 虚拟接口
	ResourceType ListTagResourceInstancesRequestResourceType `json:"resource_type"`

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

ListTagResourceInstancesRequest Request Object

func (ListTagResourceInstancesRequest) String

type ListTagResourceInstancesRequestBody

type ListTagResourceInstancesRequestBody struct {

	// 索引位置, 从offset指定的下一条数据开始查询。 查询第一页数据时,不需要传入此参数,查询后续页码数据时,将查询前一页数据时响应体中的值带入此参数(action为count时无此参数)如果action为filter默认为0,必须为数字,不能为负数
	Offset *string `json:"offset,omitempty"`

	// 查询记录数(action为count时无此参数)如果action为filter默认为1000,limit最多为1000,不能为负数,最小值为1
	Limit *string `json:"limit,omitempty"`

	// 操作标识(仅限于filter,count):filter(过滤),count(查询总条数) 如果是filter就是分页查询,如果是count只需按照条件将总条数返回即可。禁止返回其他字段。
	Action ListTagResourceInstancesRequestBodyAction `json:"action"`

	// 搜索字段,key为要匹配的字段,如resource_name等。value为匹配的值。此字段为固定字典值。 根据不同的字段确认是否需要模糊匹配,如resource_name默认为模糊搜索(不区分大小写),如果value为空字符串精确匹配。resource_id为精确匹配。第一期只做resource_name,后续在扩展。
	Matches *[]Match `json:"matches,omitempty"`

	// 不包含标签,最多包含10个key,每个key下面的value最多10个, 结构体不能缺失,key不能为空或者空字符串。Key不能重复,同一个key中values不能重复。返回不包含标签的资源列表,key之间是与的关系,key-value结构中value是或的关系。无过滤条件时返回全量数据。
	NotTags *[]Tags `json:"not_tags,omitempty"`

	// 包含标签,最多包含10个key,每个key下面的value最多10个,结构体不能缺失,key不能为空或者空字符串。Key不能重复,同一个key中values不能重复。返回包含所有标签的资源列表,key之间是与的关系,key-value结构中value是或的关系。无tag过滤条件时返回全量数据。
	Tags *[]Tags `json:"tags,omitempty"`

	// 包含任意标签,最多包含10个key,每个key下面的value最多10个,结构体不能缺失,key不能为空或者空字符串。Key不能重复,同一个key中values不能重复。返回包含标签的资源列表,key之间是或的关系,key-value结构中value是或的关系。无过滤条件时返回全量数据。
	TagsAny *[]Tags `json:"tags_any,omitempty"`

	// 不包含任意标签,最多包含10个key,每个key下面的value最多10个,结构体不能缺失,key不能为空或者空字符串。Key不能重复,同一个key中values不能重复。返回不包含标签的资源列表,key之间是或的关系,key-value结构中value是或的关系。无过滤条件时返回全量数据。
	NotTagsAny *[]Tags `json:"not_tags_any,omitempty"`

	// 仅op_service权限可以使用此字段做资源实例过滤条件。目前TMS调用时只包含一个tag结构体。key:_sys_enterprise_project_id,value:企业项目id列表。目前TMS调用时,key下面只包含一个value。0表示默认企业项目。sys_tags和租户标签过滤条件(without_any_tag 、tags、tags_any、not_tags、not_tags_any)不能同时使用。
	SysTags *[]Tags `json:"sys_tags,omitempty"`
}

ListTagResourceInstancesRequestBody 查询资源实例的请求体。

func (ListTagResourceInstancesRequestBody) String

type ListTagResourceInstancesRequestBodyAction

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

func (ListTagResourceInstancesRequestBodyAction) MarshalJSON

func (*ListTagResourceInstancesRequestBodyAction) UnmarshalJSON

func (ListTagResourceInstancesRequestBodyAction) Value

type ListTagResourceInstancesRequestResourceType

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

func (ListTagResourceInstancesRequestResourceType) MarshalJSON

func (*ListTagResourceInstancesRequestResourceType) UnmarshalJSON

func (ListTagResourceInstancesRequestResourceType) Value

type ListTagResourceInstancesResponse

type ListTagResourceInstancesResponse struct {

	// 资源列表。
	Resources *[]Resource `json:"resources,omitempty"`

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

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

ListTagResourceInstancesResponse Response Object

func (ListTagResourceInstancesResponse) String

type ListVirtualGatewaysRequest

type ListVirtualGatewaysRequest struct {

	// 每页返回的个数。 取值范围:1~2000。
	Limit *int32 `json:"limit,omitempty"`

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

	// 显示字段列表
	Fields *[]string `json:"fields,omitempty"`

	// 返回结果按照升序(asc)或降序(desc)排列,默认为asc
	SortDir *[]ListVirtualGatewaysRequestSortDir `json:"sort_dir,omitempty"`

	// 排序字段。
	SortKey *string `json:"sort_key,omitempty"`

	// 根据资源ID过滤实例
	Id *[]string `json:"id,omitempty"`

	// 根据企业项目ID过滤资源实例
	EnterpriseProjectId *[]string `json:"enterprise_project_id,omitempty"`

	// 通过VPC-ID过虑虚拟网关实例
	VpcId *[]string `json:"vpc_id,omitempty"`
}

ListVirtualGatewaysRequest Request Object

func (ListVirtualGatewaysRequest) String

type ListVirtualGatewaysRequestSortDir

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

func (ListVirtualGatewaysRequestSortDir) MarshalJSON

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

func (*ListVirtualGatewaysRequestSortDir) UnmarshalJSON

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

func (ListVirtualGatewaysRequestSortDir) Value

type ListVirtualGatewaysRequestSortDirEnum

type ListVirtualGatewaysRequestSortDirEnum struct {
	ASC  ListVirtualGatewaysRequestSortDir
	DESC ListVirtualGatewaysRequestSortDir
}

func GetListVirtualGatewaysRequestSortDirEnum

func GetListVirtualGatewaysRequestSortDirEnum() ListVirtualGatewaysRequestSortDirEnum

type ListVirtualGatewaysResponse

type ListVirtualGatewaysResponse struct {

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

	// 虚拟网关对象列表
	VirtualGateways *[]VirtualGateway `json:"virtual_gateways,omitempty"`

	PageInfo       *PageInfo `json:"page_info,omitempty"`
	HttpStatusCode int       `json:"-"`
}

ListVirtualGatewaysResponse Response Object

func (ListVirtualGatewaysResponse) String

type ListVirtualInterfacesRequest

type ListVirtualInterfacesRequest struct {

	// 每页返回的个数。 取值范围:1~2000。
	Limit *int32 `json:"limit,omitempty"`

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

	// 显示字段列表
	Fields *[]string `json:"fields,omitempty"`

	// 返回结果按照升序(asc)或降序(desc)排列,默认为asc
	SortDir *[]ListVirtualInterfacesRequestSortDir `json:"sort_dir,omitempty"`

	// 排序字段。
	SortKey *string `json:"sort_key,omitempty"`

	// 根据企业项目ID过滤资源实例
	EnterpriseProjectId *[]string `json:"enterprise_project_id,omitempty"`

	// 根据资源ID过滤实例
	Id *[]string `json:"id,omitempty"`

	// 根椐资源状态过淲实例
	Status *[]string `json:"status,omitempty"`

	// 根椐物理专线ID过滤查询实例信息
	DirectConnectId *[]string `json:"direct_connect_id,omitempty"`

	// 根椐虚拟网关ID过滤查询实例信息
	VgwId *[]string `json:"vgw_id,omitempty"`
}

ListVirtualInterfacesRequest Request Object

func (ListVirtualInterfacesRequest) String

type ListVirtualInterfacesRequestSortDir

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

func (ListVirtualInterfacesRequestSortDir) MarshalJSON

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

func (*ListVirtualInterfacesRequestSortDir) UnmarshalJSON

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

func (ListVirtualInterfacesRequestSortDir) Value

type ListVirtualInterfacesRequestSortDirEnum

type ListVirtualInterfacesRequestSortDirEnum struct {
	ASC  ListVirtualInterfacesRequestSortDir
	DESC ListVirtualInterfacesRequestSortDir
}

func GetListVirtualInterfacesRequestSortDirEnum

func GetListVirtualInterfacesRequestSortDirEnum() ListVirtualInterfacesRequestSortDirEnum

type ListVirtualInterfacesResponse

type ListVirtualInterfacesResponse struct {

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

	// 虚拟接口对象
	VirtualInterfaces *[]VirtualInterface `json:"virtual_interfaces,omitempty"`

	PageInfo       *PageInfo `json:"page_info,omitempty"`
	HttpStatusCode int       `json:"-"`
}

ListVirtualInterfacesResponse Response Object

func (ListVirtualInterfacesResponse) String

type Locale added in v0.1.125

type Locale struct {

	// English name
	EnUs *string `json:"en_us,omitempty"`

	// Chinese name
	ZhCn *string `json:"zh_cn,omitempty"`
}

func (Locale) String added in v0.1.125

func (o Locale) String() string

type LocalesBody added in v0.1.73

type LocalesBody struct {

	// 区域英文名称。
	EnUs *string `json:"en_us,omitempty"`

	// 区域中文名称。
	ZhCn *string `json:"zh_cn,omitempty"`
}

LocalesBody Locale地址描述信息。

func (LocalesBody) String added in v0.1.73

func (o LocalesBody) String() string

type Match

type Match struct {

	// 键。取值范围为包括dc-directconnect/dc-vgw/dc-vif
	Key string `json:"key"`

	// 值。每个值最大长度255个unicode字符。
	Value string `json:"value"`
}

func (Match) String

func (o Match) String() string

type PageInfo

type PageInfo struct {

	// 上一页的marker,值为资源的uuid
	PreviousMarker string `json:"previous_marker"`

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

	// 下一页的marker,值为资源的uuid,为空时表示最后一页
	NextMarker *string `json:"next_marker,omitempty"`
}

PageInfo 分页查询页的信息

func (PageInfo) String

func (o PageInfo) String() string

type PeerSiteExternal added in v0.1.125

type PeerSiteExternal struct {

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

	// 网关ID
	GatewayId *string `json:"gateway_id,omitempty"`

	// 连接ID
	LinkId *string `json:"link_id,omitempty"`

	// 局点ID
	RegionId *string `json:"region_id,omitempty"`

	// 项目ID
	ProjectId *string `json:"project_id,omitempty"`

	// 站点编码
	SiteCode *string `json:"site_code,omitempty"`
}

PeerSiteExternal 对等体对象

func (PeerSiteExternal) String added in v0.1.125

func (o PeerSiteExternal) String() string

type Resource

type Resource struct {

	// 资源详情。 资源对象,用于扩展。默认为空。
	ResourceDetail *interface{} `json:"resource_detail,omitempty"`

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

	// 资源名称,资源没有名称时默认为空字符串。
	ResourceName *string `json:"resource_name,omitempty"`

	// 标签列表,没有标签默认为空数组。
	Tags []Tag `json:"tags"`

	// 标签列表,没有标签默认为空数组。
	SysTags *[]Tag `json:"sys_tags,omitempty"`
}

Resource 资源信息

func (Resource) String

func (o Resource) String() string

type RmsListGlobalDcGateways added in v0.1.125

type RmsListGlobalDcGateways struct {

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

	// 租户ID
	TenantId *string `json:"tenant_id,omitempty"`

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

	// 描述信息
	Description *string `json:"description,omitempty"`

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

	// 全球中心网路ID
	GlobalCenterNetworkId *string `json:"global_center_network_id,omitempty"`

	// 站点网络ID
	SiteNetworkId *string `json:"site_network_id,omitempty"`

	// 云连接ID
	CloudConnectionId *string `json:"cloud_connection_id,omitempty"`

	// BGP模式AS号
	BgpAsn *int64 `json:"bgp_asn,omitempty"`

	// 局点ID
	RegionId *string `json:"region_id,omitempty"`

	// 位置名称
	LocationName *string `json:"location_name,omitempty"`

	Locales *Locale `json:"locales,omitempty"`

	// 当前对等体数量
	CurrentPeerLinkCount *int32 `json:"current_peer_link_count,omitempty"`

	// 有效对等体数量
	AvailablePeerLinkCount *int32 `json:"available_peer_link_count,omitempty"`

	// 是否冻结:true-是,false-否
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	// 状态:ACTIVE-正常,ERROR-异常
	Status *string `json:"status,omitempty"`

	// 创建时间
	CreatedTime *sdktime.SdkTime `json:"created_time,omitempty"`

	// 更新时间
	UpdatedTime *sdktime.SdkTime `json:"updated_time,omitempty"`

	// 返回给RMS的资源标签
	Tags map[string]string `json:"tags,omitempty"`
}

func (RmsListGlobalDcGateways) String added in v0.1.125

func (o RmsListGlobalDcGateways) String() string

type RmsShowGlobalDcGateway added in v0.1.125

type RmsShowGlobalDcGateway struct {

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

	// 租户ID
	TenantId *string `json:"tenant_id,omitempty"`

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

	// 描述信息
	Description *string `json:"description,omitempty"`

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

	// 全球中心网路ID
	GlobalCenterNetworkId *string `json:"global_center_network_id,omitempty"`

	// 站点网络ID
	SiteNetworkId *string `json:"site_network_id,omitempty"`

	// 云连接ID
	CloudConnectionId *string `json:"cloud_connection_id,omitempty"`

	// BGP模式AS号
	BgpAsn *int64 `json:"bgp_asn,omitempty"`

	// 局点ID
	RegionId *string `json:"region_id,omitempty"`

	// 位置名称
	LocationName *string `json:"location_name,omitempty"`

	Locales *Locale `json:"locales,omitempty"`

	// 当前对等体数量
	CurrentPeerLinkCount *int32 `json:"current_peer_link_count,omitempty"`

	// 有效对等体数量
	AvailablePeerLinkCount *int32 `json:"available_peer_link_count,omitempty"`

	// 是否冻结:true-是,false-否
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	// 状态:ACTIVE-正常,ERROR-异常
	Status *string `json:"status,omitempty"`

	// 创建时间
	CreatedTime *sdktime.SdkTime `json:"created_time,omitempty"`

	// 更新时间
	UpdatedTime *sdktime.SdkTime `json:"updated_time,omitempty"`

	// 返回给RMS的资源标签
	Tags map[string]string `json:"tags,omitempty"`
}

func (RmsShowGlobalDcGateway) String added in v0.1.125

func (o RmsShowGlobalDcGateway) String() string

type ShowConnectGatewayRequest added in v0.1.125

type ShowConnectGatewayRequest struct {

	// 互联网关ID
	ConnectGatewayId string `json:"connect_gateway_id"`
}

ShowConnectGatewayRequest Request Object

func (ShowConnectGatewayRequest) String added in v0.1.125

func (o ShowConnectGatewayRequest) String() string

type ShowConnectGatewayResponse added in v0.1.125

type ShowConnectGatewayResponse struct {

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

	ConnectGateway *ConnectGatewayResponse `json:"connect_gateway,omitempty"`
	HttpStatusCode int                     `json:"-"`
}

ShowConnectGatewayResponse Response Object

func (ShowConnectGatewayResponse) String added in v0.1.125

type ShowDirectConnectRequest

type ShowDirectConnectRequest struct {

	// 物理专线连接ID。
	DirectConnectId string `json:"direct_connect_id"`

	// 显示字段列表
	Fields *[]string `json:"fields,omitempty"`
}

ShowDirectConnectRequest Request Object

func (ShowDirectConnectRequest) String

func (o ShowDirectConnectRequest) String() string

type ShowDirectConnectResponse

type ShowDirectConnectResponse struct {

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

	DirectConnect  *DirectConnect `json:"direct_connect,omitempty"`
	HttpStatusCode int            `json:"-"`
}

ShowDirectConnectResponse Response Object

func (ShowDirectConnectResponse) String

func (o ShowDirectConnectResponse) String() string

type ShowGdgwRoutetable added in v0.1.125

type ShowGdgwRoutetable struct {

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

	// 租户ID
	TenantId *string `json:"tenant_id,omitempty"`

	// 网关ID
	GatewayId *string `json:"gateway_id,omitempty"`

	// 描述信息
	Destination *string `json:"destination,omitempty"`

	// 下一跳ID
	Nexthop *string `json:"nexthop,omitempty"`

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

	// 获得模式
	ObtainMode *string `json:"obtain_mode,omitempty"`

	// 状态:ACTIVE-正常,ERROR-异常
	Status *string `json:"status,omitempty"`

	// 地址簇:ipv4 | ipv6
	AddressFamily *string `json:"address_family,omitempty"`

	// 描述信息
	Description *string `json:"description,omitempty"`
}

ShowGdgwRoutetable 路由表详细

func (ShowGdgwRoutetable) String added in v0.1.125

func (o ShowGdgwRoutetable) String() string

type ShowGlobalDcGatewayRequest added in v0.1.125

type ShowGlobalDcGatewayRequest struct {

	// 全球接入网关ID
	GlobalDcGatewayId string `json:"global_dc_gateway_id"`

	// 显示字段列表
	Fields *[]string `json:"fields,omitempty"`

	// show response ext-fields
	ExtFields *[]string `json:"ext_fields,omitempty"`
}

ShowGlobalDcGatewayRequest Request Object

func (ShowGlobalDcGatewayRequest) String added in v0.1.125

type ShowGlobalDcGatewayResponse added in v0.1.125

type ShowGlobalDcGatewayResponse struct {
	RequestId *string `json:"request_id,omitempty"`

	GlobalDcGateway *ExternalShowGlobalDcGateway `json:"global_dc_gateway,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowGlobalDcGatewayResponse Response Object

func (ShowGlobalDcGatewayResponse) String added in v0.1.125

type ShowHostedDirectConnectRequest

type ShowHostedDirectConnectRequest struct {

	// 托管专线连接ID。
	HostedConnectId string `json:"hosted_connect_id"`

	// 每页返回的个数。 取值范围:1~2000。
	Limit *int32 `json:"limit,omitempty"`

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

	// 显示字段列表
	Fields *[]string `json:"fields,omitempty"`

	// 返回结果按照升序(asc)或降序(desc)排列,默认为asc
	SortDir *[]ShowHostedDirectConnectRequestSortDir `json:"sort_dir,omitempty"`

	// 排序字段。
	SortKey *string `json:"sort_key,omitempty"`

	// 根椐运营专线ID过滤托管专线列表
	HostingId *[]string `json:"hosting_id,omitempty"`
}

ShowHostedDirectConnectRequest Request Object

func (ShowHostedDirectConnectRequest) String

type ShowHostedDirectConnectRequestSortDir

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

func (ShowHostedDirectConnectRequestSortDir) MarshalJSON

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

func (*ShowHostedDirectConnectRequestSortDir) UnmarshalJSON

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

func (ShowHostedDirectConnectRequestSortDir) Value

type ShowHostedDirectConnectRequestSortDirEnum

type ShowHostedDirectConnectRequestSortDirEnum struct {
	ASC  ShowHostedDirectConnectRequestSortDir
	DESC ShowHostedDirectConnectRequestSortDir
}

func GetShowHostedDirectConnectRequestSortDirEnum

func GetShowHostedDirectConnectRequestSortDirEnum() ShowHostedDirectConnectRequestSortDirEnum

type ShowHostedDirectConnectResponse

type ShowHostedDirectConnectResponse struct {

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

	HostedConnect  *HostedDirectConnect `json:"hosted_connect,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

ShowHostedDirectConnectResponse Response Object

func (ShowHostedDirectConnectResponse) String

type ShowPeerLinkRequest added in v0.1.125

type ShowPeerLinkRequest struct {

	// 全球接入网关ID
	GlobalDcGatewayId string `json:"global_dc_gateway_id"`

	// 全球接入网关对等体
	PeerLinkId string `json:"peer_link_id"`

	// 显示字段列表
	Fields *[]string `json:"fields,omitempty"`

	// show response ext-fields
	ExtFields *[]string `json:"ext_fields,omitempty"`
}

ShowPeerLinkRequest Request Object

func (ShowPeerLinkRequest) String added in v0.1.125

func (o ShowPeerLinkRequest) String() string

type ShowPeerLinkResponse added in v0.1.125

type ShowPeerLinkResponse struct {

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

	PeerLink *ExternalShowPeerLink `json:"peer_link,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowPeerLinkResponse Response Object

func (ShowPeerLinkResponse) String added in v0.1.125

func (o ShowPeerLinkResponse) String() string

type ShowQuotasRequest added in v0.1.61

type ShowQuotasRequest struct {

	// 支持过滤的配额类型: - [physicalConnect:  物理连接direct_connect实例的配额和使用量] - [virtualInterface: 虚拟接口virtual-interface的配额和使用量] - [connectGateway: 连接网关(用于关联GEIP)的配额和使用量](tag:hws) - [geip: 每租户可以关联GEIP的配额和使用量](tag:hws) - [globalDcGateway 专线全球接入网关的配额和使用量] - [peerLinkPerGdgw: 接入网关的关联连接的配额和使用量]
	Type *[]string `json:"type,omitempty"`
}

ShowQuotasRequest Request Object

func (ShowQuotasRequest) String added in v0.1.61

func (o ShowQuotasRequest) String() string

type ShowQuotasResponse added in v0.1.61

type ShowQuotasResponse struct {
	Quotas         *ShowQuotasResponseBodyQuotas `json:"quotas,omitempty"`
	HttpStatusCode int                           `json:"-"`
}

ShowQuotasResponse Response Object

func (ShowQuotasResponse) String added in v0.1.61

func (o ShowQuotasResponse) String() string

type ShowQuotasResponseBodyQuotas added in v0.1.61

type ShowQuotasResponseBodyQuotas struct {
	Resources *[]Info `json:"resources,omitempty"`
}

ShowQuotasResponseBodyQuotas 配额使用详情

func (ShowQuotasResponseBodyQuotas) String added in v0.1.61

type ShowResourceTagRequest

type ShowResourceTagRequest struct {

	// - 专线服务资源类型,包括dc-directconnect/dc-vgw/dc-vif - dc-directconnect: 专线物理连接 - dc-vgw: 虚拟网关 - dc-vif: 虚拟接口
	ResourceType ShowResourceTagRequestResourceType `json:"resource_type"`

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

ShowResourceTagRequest Request Object

func (ShowResourceTagRequest) String

func (o ShowResourceTagRequest) String() string

type ShowResourceTagRequestResourceType

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

func (ShowResourceTagRequestResourceType) MarshalJSON

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

func (*ShowResourceTagRequestResourceType) UnmarshalJSON

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

func (ShowResourceTagRequestResourceType) Value

type ShowResourceTagRequestResourceTypeEnum

type ShowResourceTagRequestResourceTypeEnum struct {
	DC_DIRECTCONNECT ShowResourceTagRequestResourceType
	DC_VGW           ShowResourceTagRequestResourceType
	DC_VIF           ShowResourceTagRequestResourceType
}

func GetShowResourceTagRequestResourceTypeEnum

func GetShowResourceTagRequestResourceTypeEnum() ShowResourceTagRequestResourceTypeEnum

type ShowResourceTagResponse

type ShowResourceTagResponse struct {

	// 标签列表
	Tags *[]Tag `json:"tags,omitempty"`

	// 标签列表,没有标签默认为空数组。
	SysTags *[]Tag `json:"sys_tags,omitempty"`

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

ShowResourceTagResponse Response Object

func (ShowResourceTagResponse) String

func (o ShowResourceTagResponse) String() string

type ShowRmsGlobalDcGatewayRequest added in v0.1.125

type ShowRmsGlobalDcGatewayRequest struct {

	// 通过rp_name过滤记录
	RpName string `json:"rp_name"`

	// domain_id
	DomainId string `json:"domain_id"`

	// region_id
	RegionId string `json:"region_id"`

	// resource_type
	ResourceType string `json:"resource_type"`

	// 全球接入网关ID
	GlobalDcGatewayId string `json:"global_dc_gateway_id"`

	// 显示字段列表
	Fields *[]string `json:"fields,omitempty"`

	// show response ext-fields
	ExtFields *[]string `json:"ext_fields,omitempty"`
}

ShowRmsGlobalDcGatewayRequest Request Object

func (ShowRmsGlobalDcGatewayRequest) String added in v0.1.125

type ShowRmsGlobalDcGatewayResponse added in v0.1.125

type ShowRmsGlobalDcGatewayResponse struct {

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

	GlobalDcGateway *RmsShowGlobalDcGateway `json:"global_dc_gateway,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowRmsGlobalDcGatewayResponse Response Object

func (ShowRmsGlobalDcGatewayResponse) String added in v0.1.125

type ShowVirtualGatewayRequest

type ShowVirtualGatewayRequest struct {

	// 显示字段列表
	Fields *[]string `json:"fields,omitempty"`

	// 虚拟网关ID
	VirtualGatewayId string `json:"virtual_gateway_id"`
}

ShowVirtualGatewayRequest Request Object

func (ShowVirtualGatewayRequest) String

func (o ShowVirtualGatewayRequest) String() string

type ShowVirtualGatewayResponse

type ShowVirtualGatewayResponse struct {
	VirtualGateway *VirtualGateway `json:"virtual_gateway,omitempty"`

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

ShowVirtualGatewayResponse Response Object

func (ShowVirtualGatewayResponse) String

type ShowVirtualInterfaceRequest

type ShowVirtualInterfaceRequest struct {

	// 显示字段列表
	Fields *[]string `json:"fields,omitempty"`

	// 虚拟接口ID。
	VirtualInterfaceId string `json:"virtual_interface_id"`
}

ShowVirtualInterfaceRequest Request Object

func (ShowVirtualInterfaceRequest) String

type ShowVirtualInterfaceResponse

type ShowVirtualInterfaceResponse struct {

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

	VirtualInterface *VirtualInterface `json:"virtual_interface,omitempty"`
	HttpStatusCode   int               `json:"-"`
}

ShowVirtualInterfaceResponse Response Object

func (ShowVirtualInterfaceResponse) String

type SwitchoverTestRecord added in v0.1.61

type SwitchoverTestRecord struct {

	// 倒换测试记录的唯一标识
	Id *string `json:"id,omitempty"`

	// 租户ID
	TenantId *string `json:"tenant_id,omitempty"`

	// 倒换测试的资源对象ID
	ResourceId *string `json:"resource_id,omitempty"`

	// 倒换测试的资源对象类型
	ResourceType *SwitchoverTestRecordResourceType `json:"resource_type,omitempty"`

	// shutdown, undo_shutdown表示倒换测试操作类型
	Operation *SwitchoverTestRecordOperation `json:"operation,omitempty"`

	// 倒换测试操作的开始时间
	StartTime *sdktime.SdkTime `json:"start_time,omitempty"`

	// 倒换测试操作的结束时间
	EndTime *sdktime.SdkTime `json:"end_time,omitempty"`

	// 倒换测试状态记录 STARTING: 初始状态 INPROGRESS: 配置下发中 COMPLETE: 配置下发完成 ERROR: 配置下发失败
	OperateStatus *SwitchoverTestRecordOperateStatus `json:"operate_status,omitempty"`
}

SwitchoverTestRecord 倒换测试记录信息

func (SwitchoverTestRecord) String added in v0.1.61

func (o SwitchoverTestRecord) String() string

type SwitchoverTestRecordOperateStatus added in v0.1.61

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

func (SwitchoverTestRecordOperateStatus) MarshalJSON added in v0.1.61

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

func (*SwitchoverTestRecordOperateStatus) UnmarshalJSON added in v0.1.61

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

func (SwitchoverTestRecordOperateStatus) Value added in v0.1.61

type SwitchoverTestRecordOperateStatusEnum added in v0.1.61

type SwitchoverTestRecordOperateStatusEnum struct {
	STARTING   SwitchoverTestRecordOperateStatus
	INPROGRESS SwitchoverTestRecordOperateStatus
	COMPLETE   SwitchoverTestRecordOperateStatus
	ERROR      SwitchoverTestRecordOperateStatus
}

func GetSwitchoverTestRecordOperateStatusEnum added in v0.1.61

func GetSwitchoverTestRecordOperateStatusEnum() SwitchoverTestRecordOperateStatusEnum

type SwitchoverTestRecordOperation added in v0.1.61

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

func (SwitchoverTestRecordOperation) MarshalJSON added in v0.1.61

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

func (*SwitchoverTestRecordOperation) UnmarshalJSON added in v0.1.61

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

func (SwitchoverTestRecordOperation) Value added in v0.1.61

type SwitchoverTestRecordOperationEnum added in v0.1.61

type SwitchoverTestRecordOperationEnum struct {
	SHUTDOWN      SwitchoverTestRecordOperation
	UNDO_SHUTDOWN SwitchoverTestRecordOperation
}

func GetSwitchoverTestRecordOperationEnum added in v0.1.61

func GetSwitchoverTestRecordOperationEnum() SwitchoverTestRecordOperationEnum

type SwitchoverTestRecordResourceType added in v0.1.61

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

func (SwitchoverTestRecordResourceType) MarshalJSON added in v0.1.61

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

func (*SwitchoverTestRecordResourceType) UnmarshalJSON added in v0.1.61

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

func (SwitchoverTestRecordResourceType) Value added in v0.1.61

type SwitchoverTestRecordResourceTypeEnum added in v0.1.61

type SwitchoverTestRecordResourceTypeEnum struct {
	VIRTUAL_INTERFACE SwitchoverTestRecordResourceType
}

func GetSwitchoverTestRecordResourceTypeEnum added in v0.1.61

func GetSwitchoverTestRecordResourceTypeEnum() SwitchoverTestRecordResourceTypeEnum

type SwitchoverTestRequest added in v0.1.61

type SwitchoverTestRequest struct {
	Body *CreateSwitchoverTestRequestBody `json:"body,omitempty"`
}

SwitchoverTestRequest Request Object

func (SwitchoverTestRequest) String added in v0.1.61

func (o SwitchoverTestRequest) String() string

type SwitchoverTestResponse added in v0.1.61

type SwitchoverTestResponse struct {

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

	SwitchoverTestRecord *SwitchoverTestRecord `json:"switchover_test_record,omitempty"`
	HttpStatusCode       int                   `json:"-"`
}

SwitchoverTestResponse Response Object

func (SwitchoverTestResponse) String added in v0.1.61

func (o SwitchoverTestResponse) String() string

type Tag

type Tag struct {

	// 标签键,最大长度36个unicode字符,格式为大小写字母,数字,中划线“-”,下划线“_”,中文。
	Key string `json:"key"`

	// 标签值,最大长度43个unicode字符,格式为大小写字母,数字,中划线“-”,下划线“_”,点“.”,中文。
	Value *string `json:"value,omitempty"`
}

Tag 资源标签。

func (Tag) String

func (o Tag) String() string

type Tags

type Tags struct {

	// 键。最大长度127个unicode字符。 key不能为空。
	Key string `json:"key"`

	// 值列表。每个值最大长度255个unicode字符。
	Values []string `json:"values"`
}

func (Tags) String

func (o Tags) String() string

type TenantIdDef

type TenantIdDef struct {
}

TenantIdDef 实例所属项目ID。

func (TenantIdDef) String

func (o TenantIdDef) String() string

type UnbindGlobalEipsRequest added in v0.1.125

type UnbindGlobalEipsRequest struct {

	// 互联网关ID
	ConnectGatewayId string `json:"connect_gateway_id"`

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

UnbindGlobalEipsRequest Request Object

func (UnbindGlobalEipsRequest) String added in v0.1.125

func (o UnbindGlobalEipsRequest) String() string

type UnbindGlobalEipsResponse added in v0.1.125

type UnbindGlobalEipsResponse struct {

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

	GlobalEips *ListBindingGeip `json:"global_eips,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UnbindGlobalEipsResponse Response Object

func (UnbindGlobalEipsResponse) String added in v0.1.125

func (o UnbindGlobalEipsResponse) String() string

type UnbindingGeipBody added in v0.1.125

type UnbindingGeipBody struct {

	// 全局弹性公网IP的ID
	GlobalEipId string `json:"global_eip_id"`
}

func (UnbindingGeipBody) String added in v0.1.125

func (o UnbindingGeipBody) String() string

type UpdateConnectGateway added in v0.1.125

type UpdateConnectGateway struct {

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

	// 描述信息
	Description *string `json:"description,omitempty"`

	// 地址族信息
	AddressFamily *UpdateConnectGatewayAddressFamily `json:"address_family,omitempty"`
}

func (UpdateConnectGateway) String added in v0.1.125

func (o UpdateConnectGateway) String() string

type UpdateConnectGatewayAddressFamily added in v0.1.125

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

func (UpdateConnectGatewayAddressFamily) MarshalJSON added in v0.1.125

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

func (*UpdateConnectGatewayAddressFamily) UnmarshalJSON added in v0.1.125

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

func (UpdateConnectGatewayAddressFamily) Value added in v0.1.125

type UpdateConnectGatewayAddressFamilyEnum added in v0.1.125

type UpdateConnectGatewayAddressFamilyEnum struct {
	IPV4 UpdateConnectGatewayAddressFamily
	DUAL UpdateConnectGatewayAddressFamily
}

func GetUpdateConnectGatewayAddressFamilyEnum added in v0.1.125

func GetUpdateConnectGatewayAddressFamilyEnum() UpdateConnectGatewayAddressFamilyEnum

type UpdateConnectGatewayRequest added in v0.1.125

type UpdateConnectGatewayRequest struct {

	// 互联网关ID
	ConnectGatewayId string `json:"connect_gateway_id"`

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

UpdateConnectGatewayRequest Request Object

func (UpdateConnectGatewayRequest) String added in v0.1.125

type UpdateConnectGatewayRequestBody added in v0.1.125

type UpdateConnectGatewayRequestBody struct {
	ConnectGateway *UpdateConnectGateway `json:"connect_gateway,omitempty"`
}

func (UpdateConnectGatewayRequestBody) String added in v0.1.125

type UpdateConnectGatewayResponse added in v0.1.125

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

UpdateConnectGatewayResponse Response Object

func (UpdateConnectGatewayResponse) String added in v0.1.125

type UpdateDirectConnect

type UpdateDirectConnect struct {

	// 物理专线的名字
	Name *string `json:"name,omitempty"`

	// 物理专线的描述信息
	Description *string `json:"description,omitempty"`

	// 指定托管专线接入带宽,单位Mbps
	Bandwidth *int32 `json:"bandwidth,omitempty"`

	// 物理专线对端所在的物理位置,省/市/街道或IDC名字
	PeerLocation *string `json:"peer_location,omitempty"`

	// 更新资源状态,合法值是:PENDING_PAY
	Status *UpdateDirectConnectStatus `json:"status,omitempty"`

	// 更新运营商状态,合法值是:ACTIVE,DOWN
	ProviderStatus *UpdateDirectConnectProviderStatus `json:"provider_status,omitempty"`
}

UpdateDirectConnect 物理专线更新参数

func (UpdateDirectConnect) String

func (o UpdateDirectConnect) String() string

type UpdateDirectConnectProviderStatus

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

func (UpdateDirectConnectProviderStatus) MarshalJSON

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

func (*UpdateDirectConnectProviderStatus) UnmarshalJSON

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

func (UpdateDirectConnectProviderStatus) Value

type UpdateDirectConnectProviderStatusEnum

type UpdateDirectConnectProviderStatusEnum struct {
	ACTIVE UpdateDirectConnectProviderStatus
	DOWN   UpdateDirectConnectProviderStatus
}

func GetUpdateDirectConnectProviderStatusEnum

func GetUpdateDirectConnectProviderStatusEnum() UpdateDirectConnectProviderStatusEnum

type UpdateDirectConnectRequest

type UpdateDirectConnectRequest struct {

	// 物理专线连接ID。
	DirectConnectId string `json:"direct_connect_id"`

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

UpdateDirectConnectRequest Request Object

func (UpdateDirectConnectRequest) String

type UpdateDirectConnectRequestBody

type UpdateDirectConnectRequestBody struct {
	DirectConnect *UpdateDirectConnect `json:"direct_connect,omitempty"`
}

UpdateDirectConnectRequestBody 物理专线更新对象参数

func (UpdateDirectConnectRequestBody) String

type UpdateDirectConnectResponse

type UpdateDirectConnectResponse struct {

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

	DirectConnect  *DirectConnect `json:"direct_connect,omitempty"`
	HttpStatusCode int            `json:"-"`
}

UpdateDirectConnectResponse Response Object

func (UpdateDirectConnectResponse) String

type UpdateDirectConnectStatus

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

func (UpdateDirectConnectStatus) MarshalJSON

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

func (*UpdateDirectConnectStatus) UnmarshalJSON

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

func (UpdateDirectConnectStatus) Value

type UpdateDirectConnectStatusEnum

type UpdateDirectConnectStatusEnum struct {
	PENDING_PAY UpdateDirectConnectStatus
}

func GetUpdateDirectConnectStatusEnum

func GetUpdateDirectConnectStatusEnum() UpdateDirectConnectStatusEnum

type UpdateGdgwRouteTableRequest added in v0.1.125

type UpdateGdgwRouteTableRequest struct {

	// 全球接入网关ID
	GdgwId string `json:"gdgw_id"`

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

UpdateGdgwRouteTableRequest Request Object

func (UpdateGdgwRouteTableRequest) String added in v0.1.125

type UpdateGdgwRouteTableResponse added in v0.1.125

type UpdateGdgwRouteTableResponse struct {

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

	// 路由表详细对象
	GdgwRoutetable *[]ShowGdgwRoutetable `json:"gdgw_routetable,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateGdgwRouteTableResponse Response Object

func (UpdateGdgwRouteTableResponse) String added in v0.1.125

type UpdateGdgwRoutetableRequestBody added in v0.1.125

type UpdateGdgwRoutetableRequestBody struct {

	// 空运行:true-是,false-否
	DryRun *bool `json:"dry_run,omitempty"`

	GdgwRoutetable *UpdateGdgwRoutetableRequestBodyGdgwRoutetable `json:"gdgw_routetable,omitempty"`
}

func (UpdateGdgwRoutetableRequestBody) String added in v0.1.125

type UpdateGdgwRoutetableRequestBodyGdgwRoutetable added in v0.1.125

type UpdateGdgwRoutetableRequestBodyGdgwRoutetable struct {
	AddRoutes *[]UpdateGdgwRoutetableRequestBodyGdgwRoutetableAddRoutes `json:"add_routes,omitempty"`

	// 删除的路由
	DelRoutes *[]UpdateGdgwRoutetableRequestBodyGdgwRoutetableDelRoutes `json:"del_routes,omitempty"`

	// 仅更新该条路由的附加信息,不执行交换机的路由更新操作。当前支持更新:路由描述-description信息
	UpdateRoutes *[]UpdateGdgwRoutetableRequestBodyGdgwRoutetableUpdateRoutes `json:"update_routes,omitempty"`
}

func (UpdateGdgwRoutetableRequestBodyGdgwRoutetable) String added in v0.1.125

type UpdateGdgwRoutetableRequestBodyGdgwRoutetableAddRoutes added in v0.1.125

type UpdateGdgwRoutetableRequestBodyGdgwRoutetableAddRoutes struct {

	// 目的地址
	Destination string `json:"destination"`

	// 下一跳
	Nexthop string `json:"nexthop"`

	// 类型
	Type UpdateGdgwRoutetableRequestBodyGdgwRoutetableAddRoutesType `json:"type"`

	// 说明信息
	Description *string `json:"description,omitempty"`
}

func (UpdateGdgwRoutetableRequestBodyGdgwRoutetableAddRoutes) String added in v0.1.125

type UpdateGdgwRoutetableRequestBodyGdgwRoutetableAddRoutesType added in v0.1.125

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

func (UpdateGdgwRoutetableRequestBodyGdgwRoutetableAddRoutesType) MarshalJSON added in v0.1.125

func (*UpdateGdgwRoutetableRequestBodyGdgwRoutetableAddRoutesType) UnmarshalJSON added in v0.1.125

func (UpdateGdgwRoutetableRequestBodyGdgwRoutetableAddRoutesType) Value added in v0.1.125

type UpdateGdgwRoutetableRequestBodyGdgwRoutetableDelRoutes added in v0.1.125

type UpdateGdgwRoutetableRequestBodyGdgwRoutetableDelRoutes struct {

	// 目的地址
	Destination string `json:"destination"`

	// 下一跳
	Nexthop string `json:"nexthop"`

	// 类型
	Type UpdateGdgwRoutetableRequestBodyGdgwRoutetableDelRoutesType `json:"type"`
}

func (UpdateGdgwRoutetableRequestBodyGdgwRoutetableDelRoutes) String added in v0.1.125

type UpdateGdgwRoutetableRequestBodyGdgwRoutetableDelRoutesType added in v0.1.125

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

func (UpdateGdgwRoutetableRequestBodyGdgwRoutetableDelRoutesType) MarshalJSON added in v0.1.125

func (*UpdateGdgwRoutetableRequestBodyGdgwRoutetableDelRoutesType) UnmarshalJSON added in v0.1.125

func (UpdateGdgwRoutetableRequestBodyGdgwRoutetableDelRoutesType) Value added in v0.1.125

type UpdateGdgwRoutetableRequestBodyGdgwRoutetableUpdateRoutes added in v0.1.125

type UpdateGdgwRoutetableRequestBodyGdgwRoutetableUpdateRoutes struct {

	// 目的地址
	Destination string `json:"destination"`

	// 下一跳
	Nexthop string `json:"nexthop"`

	// 描述信息
	Description *string `json:"description,omitempty"`
}

func (UpdateGdgwRoutetableRequestBodyGdgwRoutetableUpdateRoutes) String added in v0.1.125

type UpdateGlobalDcGatewayRequest added in v0.1.125

type UpdateGlobalDcGatewayRequest struct {

	// 全球接入网关ID
	GlobalDcGatewayId string `json:"global_dc_gateway_id"`

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

UpdateGlobalDcGatewayRequest Request Object

func (UpdateGlobalDcGatewayRequest) String added in v0.1.125

type UpdateGlobalDcGatewayRequestBody added in v0.1.125

type UpdateGlobalDcGatewayRequestBody struct {

	// 空运行? true-是,false-否
	DryRun *bool `json:"dry_run,omitempty"`

	GlobalDcGateway *UpdateGlobalDcGatewayRequestBodyGlobalDcGateway `json:"global_dc_gateway,omitempty"`
}

UpdateGlobalDcGatewayRequestBody 创建全球接入网关请求体

func (UpdateGlobalDcGatewayRequestBody) String added in v0.1.125

type UpdateGlobalDcGatewayRequestBodyGlobalDcGateway added in v0.1.125

type UpdateGlobalDcGatewayRequestBodyGlobalDcGateway struct {

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

	// 描述信息
	Description *string `json:"description,omitempty"`

	// 地址簇类型
	AddressFamily *UpdateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamily `json:"address_family,omitempty"`
}

func (UpdateGlobalDcGatewayRequestBodyGlobalDcGateway) String added in v0.1.125

type UpdateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamily added in v0.1.125

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

func (UpdateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamily) MarshalJSON added in v0.1.125

func (*UpdateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamily) UnmarshalJSON added in v0.1.125

func (UpdateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamily) Value added in v0.1.125

type UpdateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamilyEnum added in v0.1.125

type UpdateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamilyEnum struct {
	IPV4 UpdateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamily
	DUAL UpdateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamily
}

func GetUpdateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamilyEnum added in v0.1.125

func GetUpdateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamilyEnum() UpdateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamilyEnum

type UpdateGlobalDcGatewayResponse added in v0.1.125

type UpdateGlobalDcGatewayResponse struct {

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

	GlobalDcGateway *ExternalUpdateGlobalDcGateway `json:"global_dc_gateway,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateGlobalDcGatewayResponse Response Object

func (UpdateGlobalDcGatewayResponse) String added in v0.1.125

type UpdateHostedDirectConnect

type UpdateHostedDirectConnect struct {

	// 物理专线的名字
	Name *string `json:"name,omitempty"`

	// 物理专线的描述信息
	Description *string `json:"description,omitempty"`

	// 指定托管专线接入带宽,单位Mbps
	Bandwidth *int32 `json:"bandwidth,omitempty"`

	// 物理专线对端所在的物理位置,省/市/街道或IDC名字
	PeerLocation *string `json:"peer_location,omitempty"`
}

UpdateHostedDirectConnect 更新托管专线对象

func (UpdateHostedDirectConnect) String

func (o UpdateHostedDirectConnect) String() string

type UpdateHostedDirectConnectRequest

type UpdateHostedDirectConnectRequest struct {

	// 托管专线连接ID。
	HostedConnectId string `json:"hosted_connect_id"`

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

UpdateHostedDirectConnectRequest Request Object

func (UpdateHostedDirectConnectRequest) String

type UpdateHostedDirectConnectRequestBody

type UpdateHostedDirectConnectRequestBody struct {
	HostedConnect *UpdateHostedDirectConnect `json:"hosted_connect,omitempty"`
}

UpdateHostedDirectConnectRequestBody 更新托管专线对象参数

func (UpdateHostedDirectConnectRequestBody) String

type UpdateHostedDirectConnectResponse

type UpdateHostedDirectConnectResponse struct {

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

	HostedConnect  *HostedDirectConnect `json:"hosted_connect,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

UpdateHostedDirectConnectResponse Response Object

func (UpdateHostedDirectConnectResponse) String

type UpdatePeerLinkRequest added in v0.1.125

type UpdatePeerLinkRequest struct {

	// 全球接入网关ID
	GlobalDcGatewayId string `json:"global_dc_gateway_id"`

	// 全球接入网关对等体
	PeerLinkId string `json:"peer_link_id"`

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

UpdatePeerLinkRequest Request Object

func (UpdatePeerLinkRequest) String added in v0.1.125

func (o UpdatePeerLinkRequest) String() string

type UpdatePeerLinkRequestBody added in v0.1.125

type UpdatePeerLinkRequestBody struct {

	// 空运行 - true 是 - false 否
	DryRun *bool `json:"dry_run,omitempty"`

	PeerLink *UpdatePeerLinkRequestBodyPeerLink `json:"peer_link,omitempty"`
}

func (UpdatePeerLinkRequestBody) String added in v0.1.125

func (o UpdatePeerLinkRequestBody) String() string
type UpdatePeerLinkRequestBodyPeerLink struct {

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

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

func (UpdatePeerLinkRequestBodyPeerLink) String added in v0.1.125

type UpdatePeerLinkResponse added in v0.1.125

type UpdatePeerLinkResponse struct {

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

	PeerLink *ExternalUpdatePeerLink `json:"peer_link,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdatePeerLinkResponse Response Object

func (UpdatePeerLinkResponse) String added in v0.1.125

func (o UpdatePeerLinkResponse) String() string

type UpdateVifPeer added in v0.1.61

type UpdateVifPeer struct {

	// VIF对等体名字
	Name string `json:"name"`

	// VIF对等体名字描述信息
	Description *string `json:"description,omitempty"`

	// 远端子网列表,记录用户侧的cidrs
	RemoteEpGroup []string `json:"remote_ep_group"`
}

UpdateVifPeer 更新虚拟接口对等体参数

func (UpdateVifPeer) String added in v0.1.61

func (o UpdateVifPeer) String() string

type UpdateVifPeerRequest added in v0.1.61

type UpdateVifPeerRequest struct {

	// 虚拟接口对等体ID
	VifPeerId string `json:"vif_peer_id"`

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

UpdateVifPeerRequest Request Object

func (UpdateVifPeerRequest) String added in v0.1.61

func (o UpdateVifPeerRequest) String() string

type UpdateVifPeerRequestBody added in v0.1.61

type UpdateVifPeerRequestBody struct {
	VifPeer *UpdateVifPeer `json:"vif_peer,omitempty"`
}

UpdateVifPeerRequestBody 更新对等体参数

func (UpdateVifPeerRequestBody) String added in v0.1.61

func (o UpdateVifPeerRequestBody) String() string

type UpdateVifPeerResponse added in v0.1.61

type UpdateVifPeerResponse struct {
	VifPeer        *VifPeer `json:"vif_peer,omitempty"`
	HttpStatusCode int      `json:"-"`
}

UpdateVifPeerResponse Response Object

func (UpdateVifPeerResponse) String added in v0.1.61

func (o UpdateVifPeerResponse) String() string

type UpdateVirtualGateway

type UpdateVirtualGateway struct {

	// 更新虚拟网关的名字
	Name *string `json:"name,omitempty"`

	// 虚拟网关的描述信息
	Description *string `json:"description,omitempty"`

	// 虚拟网关到访问云上服务IPv4子网列表,通常是vpc的cidrs
	LocalEpGroup *[]string `json:"local_ep_group,omitempty"`

	// 虚拟网关到访问云上服务IPv6子网列表,通常是vpc的cidrs
	LocalEpGroupIpv6 *[]string `json:"local_ep_group_ipv6,omitempty"`
}

UpdateVirtualGateway 更新虚拟网关参数

func (UpdateVirtualGateway) String

func (o UpdateVirtualGateway) String() string

type UpdateVirtualGatewayRequest

type UpdateVirtualGatewayRequest struct {

	// 虚拟网关ID
	VirtualGatewayId string `json:"virtual_gateway_id"`

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

UpdateVirtualGatewayRequest Request Object

func (UpdateVirtualGatewayRequest) String

type UpdateVirtualGatewayRequestBody

type UpdateVirtualGatewayRequestBody struct {
	VirtualGateway *UpdateVirtualGateway `json:"virtual_gateway,omitempty"`
}

func (UpdateVirtualGatewayRequestBody) String

type UpdateVirtualGatewayResponse

type UpdateVirtualGatewayResponse struct {
	VirtualGateway *VirtualGateway `json:"virtual_gateway,omitempty"`

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

UpdateVirtualGatewayResponse Response Object

func (UpdateVirtualGatewayResponse) String

type UpdateVirtualInterface

type UpdateVirtualInterface struct {

	// 虚拟接口名字
	Name *string `json:"name,omitempty"`

	// 虚拟接口描述信息
	Description *string `json:"description,omitempty"`

	// 虚拟接口带宽配置
	Bandwidth *int32 `json:"bandwidth,omitempty"`

	// 远端子网列表,记录租户侧的cidrs
	RemoteEpGroup *[]string `json:"remote_ep_group,omitempty"`

	// 用于公网专线,用户访问公网服务地址列表
	ServiceEpGroup *[]string `json:"service_ep_group,omitempty"`

	// 是否使能bfd功能:true或false
	EnableBfd *bool `json:"enable_bfd,omitempty"`

	// 是否使能nqa功能:true或false
	EnableNqa *bool `json:"enable_nqa,omitempty"`

	// 对其他租户创建的虚拟接口进行确认,可以是ACCEPTED和REJECTED
	Status *UpdateVirtualInterfaceStatus `json:"status,omitempty"`
}

UpdateVirtualInterface 虚拟接口更新对象

func (UpdateVirtualInterface) String

func (o UpdateVirtualInterface) String() string

type UpdateVirtualInterfaceRequest

type UpdateVirtualInterfaceRequest struct {

	// 虚拟接口ID。
	VirtualInterfaceId string `json:"virtual_interface_id"`

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

UpdateVirtualInterfaceRequest Request Object

func (UpdateVirtualInterfaceRequest) String

type UpdateVirtualInterfaceRequestBody

type UpdateVirtualInterfaceRequestBody struct {
	VirtualInterface *UpdateVirtualInterface `json:"virtual_interface"`
}

UpdateVirtualInterfaceRequestBody Specifies parameters required for updating a virtual-interface.

func (UpdateVirtualInterfaceRequestBody) String

type UpdateVirtualInterfaceResponse

type UpdateVirtualInterfaceResponse struct {

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

	VirtualInterface *VirtualInterface `json:"virtual_interface,omitempty"`
	HttpStatusCode   int               `json:"-"`
}

UpdateVirtualInterfaceResponse Response Object

func (UpdateVirtualInterfaceResponse) String

type UpdateVirtualInterfaceStatus

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

func (UpdateVirtualInterfaceStatus) MarshalJSON

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

func (*UpdateVirtualInterfaceStatus) UnmarshalJSON

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

func (UpdateVirtualInterfaceStatus) Value

type UpdateVirtualInterfaceStatusEnum

type UpdateVirtualInterfaceStatusEnum struct {
	ACCEPTED UpdateVirtualInterfaceStatus
	REJECTED UpdateVirtualInterfaceStatus
}

func GetUpdateVirtualInterfaceStatusEnum

func GetUpdateVirtualInterfaceStatusEnum() UpdateVirtualInterfaceStatusEnum

type VifExtendAttribute

type VifExtendAttribute struct {

	// 虚拟接口的可用性检测类型
	HaType *VifExtendAttributeHaType `json:"ha_type,omitempty"`

	// 检测的具体的配置模式
	HaMode *VifExtendAttributeHaMode `json:"ha_mode,omitempty"`

	// 检测的重试次数
	DetectMultiplier *int32 `json:"detect_multiplier,omitempty"`

	// 检测的接收时长间隔
	MinRxInterval *int32 `json:"min_rx_interval,omitempty"`

	// 检测的发送时长间隔
	MinTxInterval *int32 `json:"min_tx_interval,omitempty"`

	// 检测的远端的标识,用于静态BFD
	RemoteDisclaim *int32 `json:"remote_disclaim,omitempty"`

	// 检测的本端的标识,用于静态BFD
	LocalDisclaim *int32 `json:"local_disclaim,omitempty"`
}

VifExtendAttribute 接口BFD/NQA等可靠性检测信息,只有配置BFD和NQA的扩展参数才会显示扩展参数信息

func (VifExtendAttribute) String

func (o VifExtendAttribute) String() string

type VifExtendAttributeHaMode

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

func (VifExtendAttributeHaMode) MarshalJSON

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

func (*VifExtendAttributeHaMode) UnmarshalJSON

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

func (VifExtendAttributeHaMode) Value

func (c VifExtendAttributeHaMode) Value() string

type VifExtendAttributeHaModeEnum

type VifExtendAttributeHaModeEnum struct {
	AUTO_SINGLE   VifExtendAttributeHaMode
	AUTO_MULTI    VifExtendAttributeHaMode
	STATIC_SINGLE VifExtendAttributeHaMode
	STATIC_MULTI  VifExtendAttributeHaMode
	ENHANCE_NQA   VifExtendAttributeHaMode
}

func GetVifExtendAttributeHaModeEnum

func GetVifExtendAttributeHaModeEnum() VifExtendAttributeHaModeEnum

type VifExtendAttributeHaType

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

func (VifExtendAttributeHaType) MarshalJSON

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

func (*VifExtendAttributeHaType) UnmarshalJSON

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

func (VifExtendAttributeHaType) Value

func (c VifExtendAttributeHaType) Value() string

type VifExtendAttributeHaTypeEnum

type VifExtendAttributeHaTypeEnum struct {
	NQA VifExtendAttributeHaType
	BFD VifExtendAttributeHaType
}

func GetVifExtendAttributeHaTypeEnum

func GetVifExtendAttributeHaTypeEnum() VifExtendAttributeHaTypeEnum

type VifPeer

type VifPeer struct {

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

	// 归属租户ID
	TenantId *string `json:"tenant_id,omitempty"`

	// VIF对等体名字
	Name *string `json:"name,omitempty"`

	// VIF对等体名字描述信息
	Description *string `json:"description,omitempty"`

	// 接口的地址簇类型,ipv4,ipv6
	AddressFamily *string `json:"address_family,omitempty"`

	// VIF对等体云侧接口地址
	LocalGatewayIp *string `json:"local_gateway_ip,omitempty"`

	// VIF对等体客户侧接口地址
	RemoteGatewayIp *string `json:"remote_gateway_ip,omitempty"`

	// 路由模式:static/bgp
	RouteMode *VifPeerRouteMode `json:"route_mode,omitempty"`

	// BGP邻居的AS号
	BgpAsn *int32 `json:"bgp_asn,omitempty"`

	// BGP邻居的MD5密码
	BgpMd5 *string `json:"bgp_md5,omitempty"`

	// 远端子网列表,记录租户侧的cidrs
	RemoteEpGroup *[]string `json:"remote_ep_group,omitempty"`

	// 该字段用于公网专线接口,表示租户可以访问云上公网服务地址列表
	ServiceEpGroup *[]string `json:"service_ep_group,omitempty"`

	// 归属的设备ID
	DeviceId *string `json:"device_id,omitempty"`

	// BGP的路由配置规格
	BgpRouteLimit *int32 `json:"bgp_route_limit,omitempty"`

	// 接口BGP协议状态,如果是静态路由接口则状态为 null
	BgpStatus *string `json:"bgp_status,omitempty"`

	// VIF对等体状态
	Status *string `json:"status,omitempty"`

	// vif对等体对应的虚拟接口ID
	VifId *string `json:"vif_id,omitempty"`

	// 路由模式为bgp:receive_route_num值为接收搭配BGP的路由数目; 路由模式为static:该字段无意义,值为-1; 注:若早期接入华为云的部分用户无法获取该字段信息,如需要请联系客服迁移专线端口。
	ReceiveRouteNum *int32 `json:"receive_route_num,omitempty"`

	// 是否使能nqa功能:true或false
	EnableNqa *bool `json:"enable_nqa,omitempty"`

	// 是否使能bfd功能:true或false
	EnableBfd *bool `json:"enable_bfd,omitempty"`
}

VifPeer 虚拟接口对等体对象

func (VifPeer) String

func (o VifPeer) String() string

type VifPeerRouteMode

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

func (VifPeerRouteMode) MarshalJSON

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

func (*VifPeerRouteMode) UnmarshalJSON

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

func (VifPeerRouteMode) Value

func (c VifPeerRouteMode) Value() string

type VifPeerRouteModeEnum

type VifPeerRouteModeEnum struct {
	BGP    VifPeerRouteMode
	STATIC VifPeerRouteMode
}

func GetVifPeerRouteModeEnum

func GetVifPeerRouteModeEnum() VifPeerRouteModeEnum

type VirtualGateway

type VirtualGateway struct {

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

	// 虚拟网关接入的VPC的ID
	VpcId *string `json:"vpc_id,omitempty"`

	// 实例所属项目ID。
	TenantId *string `json:"tenant_id,omitempty"`

	// 虚拟网关的名字
	Name *string `json:"name,omitempty"`

	// 虚拟网关的描述
	Description *string `json:"description,omitempty"`

	// 虚拟网关类型:default
	Type *string `json:"type,omitempty"`

	// 虚拟网关到访问云上服务IPv4子网列表,通常是vpc的cidrs
	LocalEpGroup *[]string `json:"local_ep_group,omitempty"`

	// 预留字段用于虚拟网关到访问云上服务IPv6子网列表,通常是vpc的cidrs
	LocalEpGroupIpv6 *[]string `json:"local_ep_group_ipv6,omitempty"`

	// 管理状态:true或false
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	// 操作状态,合法值是:ACTIVE,DOWN,BUILD,ERROR,PENDING_CREATE,PENDING_UPDATE,PENDING_DELETE
	Status *string `json:"status,omitempty"`

	// 虚拟网关本地的BGP自冶域号(asn)
	BgpAsn *int32 `json:"bgp_asn,omitempty"`

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

	// 归属的设备ID
	DeviceId *string `json:"device_id,omitempty"`

	// 归属的冗余设备ID
	RedundantDeviceId *string `json:"redundant_device_id,omitempty"`

	// 归属的可用区对应的边界组(public border group),标识是否homezone局点。
	PublicBorderGroup *string `json:"public_border_group,omitempty"`

	// 标签信息
	Tags *[]Tag `json:"tags,omitempty"`
}

VirtualGateway 虚拟网关对象

func (VirtualGateway) String

func (o VirtualGateway) String() string

type VirtualInterface

type VirtualInterface struct {

	// 虚拟接口的ID
	Id *string `json:"id,omitempty"`

	// 虚拟接口的名字
	Name *string `json:"name,omitempty"`

	// 管理状态:true或false
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	// 虚拟接口接入带宽
	Bandwidth *int32 `json:"bandwidth,omitempty"`

	// 虚拟接口创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 虚拟接口的描述
	Description *string `json:"description,omitempty"`

	// 物理专线的ID
	DirectConnectId *string `json:"direct_connect_id,omitempty"`

	// 接入网关的类型:包括VGW,GDGW,LGW等
	ServiceType *VirtualInterfaceServiceType `json:"service_type,omitempty"`

	// 操作状态,合法值是:ACTIVE,DOWN,BUILD,ERROR,PENDING_CREATE,PENDING_UPDATE,PENDING_DELETE,DELETED,AUTHORIZATION,REJECTED
	Status *string `json:"status,omitempty"`

	// 租户ID
	TenantId *string `json:"tenant_id,omitempty"`

	// 表示接口类型:private
	Type *VirtualInterfaceType `json:"type,omitempty"`

	// 虚拟网关的ID
	VgwId *string `json:"vgw_id,omitempty"`

	// 同用户网关对接的vlan, 配置范围0-3999
	Vlan *int32 `json:"vlan,omitempty"`

	// VIF远端子网路由配置规格
	RouteLimit *int32 `json:"route_limit,omitempty"`

	// 是否使能nqa功能:true或false
	EnableNqa *bool `json:"enable_nqa,omitempty"`

	// 是否使能nqa功能:true或false
	EnableBfd *bool `json:"enable_bfd,omitempty"`

	// VIF关联的链路聚合组ID
	LagId *string `json:"lag_id,omitempty"`

	// 归属的设备ID
	DeviceId *string `json:"device_id,omitempty"`

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

	// 标签信息
	Tags *[]Tag `json:"tags,omitempty"`

	// 云侧网关IPv4接口地址,该字段现已经移到vifpeer参数列表中,未来将会废弃。
	LocalGatewayV4Ip *string `json:"local_gateway_v4_ip,omitempty"`

	// 客户侧网关IPv4接口地址,该字段现已经移到vifpeer参数列表中,未来将会废弃。
	RemoteGatewayV4Ip *string `json:"remote_gateway_v4_ip,omitempty"`

	// 归属的IES站点的ID[(功能暂不支持)](tag:dt)
	IesId *string `json:"ies_id,omitempty"`

	// 如果资源的状态是Error的情况下,该参数会显示相关错误信息。
	Reason *string `json:"reason,omitempty"`

	// 标识虚拟接口是否开启限速
	RateLimit *bool `json:"rate_limit,omitempty"`

	// 接口的地址簇类型,ipv4,ipv6。该字段现已迁移到vifpeer参数列表中,未来将会废弃。
	AddressFamily *string `json:"address_family,omitempty"`

	// 云侧网关IPv6接口地址,该字段现已迁移到vifpeer参数列表中,未来将会废弃。
	LocalGatewayV6Ip *string `json:"local_gateway_v6_ip,omitempty"`

	// 客户侧网关IPv6接口地址,该字段现已迁移到vifpeer参数列表中,未来将会废弃。
	RemoteGatewayV6Ip *string `json:"remote_gateway_v6_ip,omitempty"`

	// 本地网关的ID,用于IES场景。[(功能暂不支持)](tag:dt)
	LgwId *string `json:"lgw_id,omitempty"`

	// 虚拟接口关联的网关的ID
	GatewayId *string `json:"gateway_id,omitempty"`

	// 远端子网列表,记录租户侧的cidrs。该字段现已迁移到vifpeer参数列表中,未来将会废弃。
	RemoteEpGroup *[]string `json:"remote_ep_group,omitempty"`

	// 该字段用于公网专线接口,表示租户可以访问云上公网服务地址列表。该字段现已迁移到vifpeer参数列表中,未来将会废弃。
	ServiceEpGroup *[]string `json:"service_ep_group,omitempty"`

	// BGP的路由配置规格
	BgpRouteLimit *int32 `json:"bgp_route_limit,omitempty"`

	// 虚拟接口的优先级,支持两种优先级状态normal和low。 接口优先级相同时表示负载关系,接口优先级不同时表示主备关系,出云流量优先转到优先级更高的normal接口。 目前仅BGP模式接口支持。
	Priority *VirtualInterfacePriority `json:"priority,omitempty"`

	// vif的Peer的相关信息
	VifPeers *[]VifPeer `json:"vif_peers,omitempty"`

	ExtendAttribute *VifExtendAttribute `json:"extend_attribute,omitempty"`
}

VirtualInterface 虚拟接口对象

func (VirtualInterface) String

func (o VirtualInterface) String() string

type VirtualInterfacePriority added in v0.1.73

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

func (VirtualInterfacePriority) MarshalJSON added in v0.1.73

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

func (*VirtualInterfacePriority) UnmarshalJSON added in v0.1.73

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

func (VirtualInterfacePriority) Value added in v0.1.73

func (c VirtualInterfacePriority) Value() string

type VirtualInterfacePriorityEnum added in v0.1.73

type VirtualInterfacePriorityEnum struct {
	NORMAL VirtualInterfacePriority
	LOW    VirtualInterfacePriority
}

func GetVirtualInterfacePriorityEnum added in v0.1.73

func GetVirtualInterfacePriorityEnum() VirtualInterfacePriorityEnum

type VirtualInterfaceServiceType

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

func (VirtualInterfaceServiceType) MarshalJSON

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

func (*VirtualInterfaceServiceType) UnmarshalJSON

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

func (VirtualInterfaceServiceType) Value

type VirtualInterfaceServiceTypeEnum

type VirtualInterfaceServiceTypeEnum struct {
	VGW  VirtualInterfaceServiceType
	GDGW VirtualInterfaceServiceType
	LGW  VirtualInterfaceServiceType
}

func GetVirtualInterfaceServiceTypeEnum

func GetVirtualInterfaceServiceTypeEnum() VirtualInterfaceServiceTypeEnum

type VirtualInterfaceType

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

func (VirtualInterfaceType) MarshalJSON

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

func (*VirtualInterfaceType) UnmarshalJSON

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

func (VirtualInterfaceType) Value

func (c VirtualInterfaceType) Value() string

type VirtualInterfaceTypeEnum

type VirtualInterfaceTypeEnum struct {
	PRIVATE VirtualInterfaceType
	PUBLIC  VirtualInterfaceType
}

func GetVirtualInterfaceTypeEnum

func GetVirtualInterfaceTypeEnum() VirtualInterfaceTypeEnum

Source Files

Jump to

Keyboard shortcuts

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