model

package
v0.1.118 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 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 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 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 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 CreateVifPeer added in v0.1.61

type CreateVifPeer struct {

	// 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 *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,omitempty"`
}

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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 UpdateVifPeer added in v0.1.61

type UpdateVifPeer struct {

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

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

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

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"`

	// 虚拟接口更新时间
	UpdateTime *sdktime.SdkTime `json:"update_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