Documentation ¶
Index ¶
- type AddGdgwRouteAction
- type AddressBody
- type AddressFamily
- type AddressFamilyEnum
- type BandWidthInfo
- type BandwidthInfoExternal
- type BaseAddRouteAction
- type BaseDeleteRouteAction
- type BatchCreateResourceTagsRequest
- type BatchCreateResourceTagsRequestResourceType
- type BatchCreateResourceTagsRequestResourceTypeEnum
- type BatchCreateResourceTagsResponse
- type BatchOperateResourceTagsRequestBody
- type BatchOperateResourceTagsRequestBodyAction
- type BatchOperateResourceTagsRequestBodyActionEnum
- type BindGlobalEipsRequest
- type BindGlobalEipsResponse
- type BindingGeipBody
- type BindingGeipBodyType
- type BindingGeipBodyTypeEnum
- type CommonRoutetable
- type CommonRoutetableObtainMode
- type CommonRoutetableObtainModeEnum
- type CommonRoutetableStatus
- type CommonRoutetableStatusEnum
- type ConnectGatewayResponse
- type ConnectGatewayResponseAddressFamily
- type ConnectGatewayResponseAddressFamilyEnum
- type CreateBindingGeipRequestBody
- type CreateConnectGateway
- type CreateConnectGatewayAddressFamily
- type CreateConnectGatewayAddressFamilyEnum
- type CreateConnectGatewayRequest
- type CreateConnectGatewayRequestBody
- type CreateConnectGatewayResponse
- type CreateExternalPeerLinkRequestBody
- type CreateExternalPeerLinkRequestBodyPeerLink
- type CreateExternalPeerLinkRequestBodyPeerLinkPeerSite
- type CreateGlobalDcGateway
- type CreateGlobalDcGatewayAddressFamily
- type CreateGlobalDcGatewayAddressFamilyEnum
- type CreateGlobalDcGatewayEntry
- type CreateGlobalDcGatewayEntryAddressFamily
- type CreateGlobalDcGatewayEntryAddressFamilyEnum
- type CreateGlobalDcGatewayRequest
- type CreateGlobalDcGatewayRequestBody
- type CreateGlobalDcGatewayResponse
- type CreateHostedDirectConnect
- type CreateHostedDirectConnectRequest
- type CreateHostedDirectConnectRequestBody
- type CreateHostedDirectConnectResponse
- type CreatePeerLinkRequest
- type CreatePeerLinkResponse
- type CreateResourceTagRequest
- type CreateResourceTagRequestBody
- type CreateResourceTagRequestResourceType
- type CreateResourceTagRequestResourceTypeEnum
- type CreateResourceTagResponse
- type CreateSwitchoverTest
- type CreateSwitchoverTestOperation
- type CreateSwitchoverTestOperationEnum
- type CreateSwitchoverTestRequestBody
- type CreateSwitchoverTestResourceType
- type CreateSwitchoverTestResourceTypeEnum
- type CreateUnbindingGeipRequestBody
- type CreateVifPeer
- type CreateVifPeerRequest
- type CreateVifPeerRequestBody
- type CreateVifPeerResponse
- type CreateVifPeerRouteMode
- type CreateVifPeerRouteModeEnum
- type CreateVirtualGateway
- type CreateVirtualGatewayRequest
- type CreateVirtualGatewayRequestBody
- type CreateVirtualGatewayResponse
- type CreateVirtualInterface
- type CreateVirtualInterfaceRequest
- type CreateVirtualInterfaceRequestBody
- type CreateVirtualInterfaceResponse
- type CreateVirtualInterfaceRouteMode
- type CreateVirtualInterfaceRouteModeEnum
- type CreateVirtualInterfaceServiceType
- type CreateVirtualInterfaceServiceTypeEnum
- type CreateVirtualInterfaceType
- type CreateVirtualInterfaceTypeEnum
- type DeleteConnectGatewayRequest
- type DeleteConnectGatewayResponse
- type DeleteDirectConnectRequest
- type DeleteDirectConnectResponse
- type DeleteGdgwRouteAction
- type DeleteGlobalDcGatewayRequest
- type DeleteGlobalDcGatewayResponse
- type DeleteHostedDirectConnectRequest
- type DeleteHostedDirectConnectResponse
- type DeletePeerLinkRequest
- type DeletePeerLinkResponse
- type DeleteResourceTagRequest
- type DeleteResourceTagRequestResourceType
- type DeleteResourceTagRequestResourceTypeEnum
- type DeleteResourceTagResponse
- type DeleteVifPeerRequest
- type DeleteVifPeerResponse
- type DeleteVirtualGatewayRequest
- type DeleteVirtualGatewayResponse
- type DeleteVirtualInterfaceRequest
- type DeleteVirtualInterfaceResponse
- type DirectConnect
- type DirectConnectChargeMode
- type DirectConnectChargeModeEnum
- type DirectConnectLocationEntry
- type DirectConnectPortType
- type DirectConnectPortTypeEnum
- type DirectConnectProviderStatus
- type DirectConnectProviderStatusEnum
- type DirectConnectSignedAgreementStatus
- type DirectConnectSignedAgreementStatusEnum
- type DirectConnectStatus
- type DirectConnectStatusEnum
- type DirectConnectType
- type DirectConnectTypeEnum
- type DirectConnectVgwType
- type DirectConnectVgwTypeEnum
- type ExternalCreatePeerLink
- type ExternalUpdatePeerLink
- type GdgwRouteTableRequest
- type GlobalDcGatewayEntry
- type GlobalDcGatewayEntryAddressFamily
- type GlobalDcGatewayEntryAddressFamilyEnum
- type GlobalDcGatewayStatus
- type GlobalDcGatewayStatusEnum
- type HostedDirectConnect
- type HostedDirectConnectPortType
- type HostedDirectConnectPortTypeEnum
- type HostedDirectConnectProviderStatus
- type HostedDirectConnectProviderStatusEnum
- type HostedDirectConnectStatus
- type HostedDirectConnectStatusEnum
- type HostedDirectConnectType
- type HostedDirectConnectTypeEnum
- type Info
- type ListBindingGeip
- type ListBindingGeipStatus
- type ListBindingGeipStatusEnum
- type ListBindingGeipType
- type ListBindingGeipTypeEnum
- type ListConnectGatewaysRequest
- type ListConnectGatewaysRequestSortDir
- type ListConnectGatewaysRequestSortDirEnum
- type ListConnectGatewaysResponse
- type ListDirectConnectLocationsRequest
- type ListDirectConnectLocationsRequestSortDir
- type ListDirectConnectLocationsRequestSortDirEnum
- type ListDirectConnectLocationsResponse
- type ListDirectConnectsRequest
- type ListDirectConnectsRequestSortDir
- type ListDirectConnectsRequestSortDirEnum
- type ListDirectConnectsResponse
- type ListGdgwRouteTablesRequest
- type ListGdgwRouteTablesRequestAddressFamily
- type ListGdgwRouteTablesRequestAddressFamilyEnum
- type ListGdgwRouteTablesResponse
- type ListGlobalDcGatewaysRequest
- type ListGlobalDcGatewaysRequestSortDir
- type ListGlobalDcGatewaysRequestSortDirEnum
- type ListGlobalDcGatewaysResponse
- type ListGlobalEipsRequest
- type ListGlobalEipsRequestSortDir
- type ListGlobalEipsRequestSortDirEnum
- type ListGlobalEipsResponse
- type ListHostedDirectConnectsRequest
- type ListHostedDirectConnectsRequestSortDir
- type ListHostedDirectConnectsRequestSortDirEnum
- type ListHostedDirectConnectsResponse
- type ListPeerLinksRequest
- type ListPeerLinksRequestSortDir
- type ListPeerLinksRequestSortDirEnum
- type ListPeerLinksResponse
- type ListProjectTagsRequest
- type ListProjectTagsRequestResourceType
- type ListProjectTagsRequestResourceTypeEnum
- type ListProjectTagsResponse
- type ListSwitchoverTestRecordsRequest
- type ListSwitchoverTestRecordsRequestSortDir
- type ListSwitchoverTestRecordsRequestSortDirEnum
- type ListSwitchoverTestRecordsResponse
- type ListTagResourceInstancesRequest
- type ListTagResourceInstancesRequestBody
- type ListTagResourceInstancesRequestBodyAction
- type ListTagResourceInstancesRequestBodyActionEnum
- type ListTagResourceInstancesRequestResourceType
- type ListTagResourceInstancesRequestResourceTypeEnum
- type ListTagResourceInstancesResponse
- type ListVirtualGatewaysRequest
- type ListVirtualGatewaysRequestSortDir
- type ListVirtualGatewaysRequestSortDirEnum
- type ListVirtualGatewaysResponse
- type ListVirtualInterfacesRequest
- type ListVirtualInterfacesRequestSortDir
- type ListVirtualInterfacesRequestSortDirEnum
- type ListVirtualInterfacesResponse
- type LocalesBody
- type Match
- type PageInfo
- type PeerLinkEntry
- type PeerLinkStatus
- type PeerLinkStatusEnum
- type PeerSite
- type PeerSiteExternal
- type PeerSiteType
- type PeerSiteTypeEnum
- type ProviderResponseBody
- type ProviderValueBody
- type Resource
- type RouteDescription
- type RouteDestination
- type RouteNextHop
- type RouteTypeOfGdgw
- type RouteTypeOfGdgwEnum
- type ShowConnectGatewayRequest
- type ShowConnectGatewayResponse
- type ShowDirectConnectLocationRequest
- type ShowDirectConnectLocationResponse
- type ShowDirectConnectRequest
- type ShowDirectConnectResponse
- type ShowGdgwRoutetable
- type ShowGdgwRoutetableObtainMode
- type ShowGdgwRoutetableObtainModeEnum
- type ShowGdgwRoutetableStatus
- type ShowGdgwRoutetableStatusEnum
- type ShowGlobalDcGatewayRequest
- type ShowGlobalDcGatewayResponse
- type ShowHostedDirectConnectRequest
- type ShowHostedDirectConnectRequestSortDir
- type ShowHostedDirectConnectRequestSortDirEnum
- type ShowHostedDirectConnectResponse
- type ShowPeerLinkRequest
- type ShowPeerLinkResponse
- type ShowQuotasRequest
- type ShowQuotasResponse
- type ShowQuotasResponseBodyQuotas
- type ShowResourceTagRequest
- type ShowResourceTagRequestResourceType
- type ShowResourceTagRequestResourceTypeEnum
- type ShowResourceTagResponse
- type ShowVirtualGatewayRequest
- type ShowVirtualGatewayResponse
- type ShowVirtualInterfaceRequest
- type ShowVirtualInterfaceResponse
- type SwitchoverTestRecord
- type SwitchoverTestRecordOperateStatus
- type SwitchoverTestRecordOperateStatusEnum
- type SwitchoverTestRecordOperation
- type SwitchoverTestRecordOperationEnum
- type SwitchoverTestRecordResourceType
- type SwitchoverTestRecordResourceTypeEnum
- type SwitchoverTestRequest
- type SwitchoverTestResponse
- type Tag
- type Tags
- type TenantIdDef
- type UnbindGlobalEipsRequest
- type UnbindGlobalEipsResponse
- type UnbindingGeipBody
- type UpdateConnectGateway
- type UpdateConnectGatewayAddressFamily
- type UpdateConnectGatewayAddressFamilyEnum
- type UpdateConnectGatewayRequest
- type UpdateConnectGatewayRequestBody
- type UpdateConnectGatewayResponse
- type UpdateDirectConnect
- type UpdateDirectConnectProviderStatus
- type UpdateDirectConnectProviderStatusEnum
- type UpdateDirectConnectRequest
- type UpdateDirectConnectRequestBody
- type UpdateDirectConnectResponse
- type UpdateDirectConnectStatus
- type UpdateDirectConnectStatusEnum
- type UpdateExternalPeerLinkRequestBody
- type UpdateExternalPeerLinkRequestBodyPeerLink
- type UpdateGdgwRouteTableRequest
- type UpdateGdgwRouteTableResponse
- type UpdateGdgwRoutetableRequestBody
- type UpdateGlobalDcGateway
- type UpdateGlobalDcGatewayRequest
- type UpdateGlobalDcGatewayRequestBody
- type UpdateGlobalDcGatewayResponse
- type UpdateHostedDirectConnect
- type UpdateHostedDirectConnectRequest
- type UpdateHostedDirectConnectRequestBody
- type UpdateHostedDirectConnectResponse
- type UpdatePeerLinkRequest
- type UpdatePeerLinkResponse
- type UpdateRouteAction
- type UpdateVifPeer
- type UpdateVifPeerRequest
- type UpdateVifPeerRequestBody
- type UpdateVifPeerResponse
- type UpdateVirtualGateway
- type UpdateVirtualGatewayRequest
- type UpdateVirtualGatewayRequestBody
- type UpdateVirtualGatewayResponse
- type UpdateVirtualInterface
- type UpdateVirtualInterfaceRequest
- type UpdateVirtualInterfaceRequestBody
- type UpdateVirtualInterfaceResponse
- type UpdateVirtualInterfaceStatus
- type UpdateVirtualInterfaceStatusEnum
- type VifExtendAttribute
- type VifExtendAttributeHaMode
- type VifExtendAttributeHaModeEnum
- type VifExtendAttributeHaType
- type VifExtendAttributeHaTypeEnum
- type VifPeer
- type VifPeerRouteMode
- type VifPeerRouteModeEnum
- type VirtualGateway
- type VirtualInterface
- type VirtualInterfacePriority
- type VirtualInterfacePriorityEnum
- type VirtualInterfaceServiceType
- type VirtualInterfaceServiceTypeEnum
- type VirtualInterfaceType
- type VirtualInterfaceTypeEnum
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddGdgwRouteAction ¶ added in v0.1.128
type AddGdgwRouteAction struct { // 路由子网 Destination string `json:"destination"` // 下一跳id Nexthop string `json:"nexthop"` // 路由描述 Description *string `json:"description,omitempty"` Type *RouteTypeOfGdgw `json:"type,omitempty"` }
func (AddGdgwRouteAction) String ¶ added in v0.1.128
func (o AddGdgwRouteAction) String() string
type AddressBody ¶ added in v0.1.128
type AddressBody struct { // 英文名称。 EnUs *string `json:"en_us,omitempty"` // 中文信息。 ZhCn *string `json:"zh_cn,omitempty"` }
AddressBody 专线接入点的位置信息。
func (AddressBody) String ¶ added in v0.1.128
func (o AddressBody) String() string
type AddressFamily ¶ added in v0.1.128
type AddressFamily struct {
// contains filtered or unexported fields
}
AddressFamily 地址族类型: - ipv4: ipv4 - ipv6: ipv6
func (AddressFamily) MarshalJSON ¶ added in v0.1.128
func (c AddressFamily) MarshalJSON() ([]byte, error)
func (*AddressFamily) UnmarshalJSON ¶ added in v0.1.128
func (c *AddressFamily) UnmarshalJSON(b []byte) error
func (AddressFamily) Value ¶ added in v0.1.128
func (c AddressFamily) Value() string
type AddressFamilyEnum ¶ added in v0.1.128
type AddressFamilyEnum struct { IPV4 AddressFamily IPV6 AddressFamily }
func GetAddressFamilyEnum ¶ added in v0.1.128
func GetAddressFamilyEnum() AddressFamilyEnum
type BandWidthInfo ¶ added in v0.1.128
type BandWidthInfo struct { // 带宽值 BandwidthSize *int32 `json:"bandwidth_size,omitempty"` // 购买全域互连带宽包ID GcbId *string `json:"gcb_id,omitempty"` }
BandWidthInfo 带宽信息
func (BandWidthInfo) String ¶ added in v0.1.128
func (o BandWidthInfo) String() string
type BandwidthInfoExternal ¶ added in v0.1.125
type BandwidthInfoExternal struct { // 带宽值 BandwidthSize *int64 `json:"bandwidth_size,omitempty"` // 带宽包ID GcbId *string `json:"gcb_id,omitempty"` }
func (BandwidthInfoExternal) String ¶ added in v0.1.125
func (o BandwidthInfoExternal) String() string
type BaseAddRouteAction ¶ added in v0.1.128
type BaseAddRouteAction struct { // 路由子网 Destination string `json:"destination"` // 下一跳id Nexthop string `json:"nexthop"` // 路由描述 Description *string `json:"description,omitempty"` }
func (BaseAddRouteAction) String ¶ added in v0.1.128
func (o BaseAddRouteAction) String() string
type BaseDeleteRouteAction ¶ added in v0.1.128
type BaseDeleteRouteAction struct { // 路由子网 Destination string `json:"destination"` // 下一跳id Nexthop string `json:"nexthop"` }
func (BaseDeleteRouteAction) String ¶ added in v0.1.128
func (o BaseDeleteRouteAction) 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 ¶
func (o BatchCreateResourceTagsRequest) String() string
type BatchCreateResourceTagsRequestResourceType ¶
type BatchCreateResourceTagsRequestResourceType struct {
// contains filtered or unexported fields
}
func (BatchCreateResourceTagsRequestResourceType) MarshalJSON ¶
func (c BatchCreateResourceTagsRequestResourceType) MarshalJSON() ([]byte, error)
func (*BatchCreateResourceTagsRequestResourceType) UnmarshalJSON ¶
func (c *BatchCreateResourceTagsRequestResourceType) UnmarshalJSON(b []byte) error
func (BatchCreateResourceTagsRequestResourceType) Value ¶
func (c BatchCreateResourceTagsRequestResourceType) Value() string
type BatchCreateResourceTagsRequestResourceTypeEnum ¶
type BatchCreateResourceTagsRequestResourceTypeEnum struct { DC_DIRECTCONNECT BatchCreateResourceTagsRequestResourceType DC_VGW BatchCreateResourceTagsRequestResourceType DC_VIF BatchCreateResourceTagsRequestResourceType }
func GetBatchCreateResourceTagsRequestResourceTypeEnum ¶
func GetBatchCreateResourceTagsRequestResourceTypeEnum() BatchCreateResourceTagsRequestResourceTypeEnum
type BatchCreateResourceTagsResponse ¶
type BatchCreateResourceTagsResponse struct { Body *string `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
BatchCreateResourceTagsResponse Response Object
func (BatchCreateResourceTagsResponse) String ¶
func (o BatchCreateResourceTagsResponse) String() 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 ¶
func (o BatchOperateResourceTagsRequestBody) String() string
type BatchOperateResourceTagsRequestBodyAction ¶
type BatchOperateResourceTagsRequestBodyAction struct {
// contains filtered or unexported fields
}
func (BatchOperateResourceTagsRequestBodyAction) MarshalJSON ¶
func (c BatchOperateResourceTagsRequestBodyAction) MarshalJSON() ([]byte, error)
func (*BatchOperateResourceTagsRequestBodyAction) UnmarshalJSON ¶
func (c *BatchOperateResourceTagsRequestBodyAction) UnmarshalJSON(b []byte) error
func (BatchOperateResourceTagsRequestBodyAction) Value ¶
func (c BatchOperateResourceTagsRequestBodyAction) Value() string
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"` 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 CommonRoutetable ¶ added in v0.1.128
type CommonRoutetable struct { // 路由id Id string `json:"id"` // 租户id TenantId string `json:"tenant_id"` // 网关id GatewayId *string `json:"gateway_id,omitempty"` // 路由子网 Destination string `json:"destination"` // 下一跳id Nexthop string `json:"nexthop"` // 路由类型: - customized: 默认路由 - specific: 自定义路由 - bgp: 动态路由 ObtainMode CommonRoutetableObtainMode `json:"obtain_mode"` // 路由状态: - ACTIVE: 下发正常 - ERROR: 下发失败 - PENDING_CREATE: 待下发 Status CommonRoutetableStatus `json:"status"` AddressFamily *AddressFamily `json:"address_family"` // 路由描述 Description *string `json:"description,omitempty"` }
CommonRoutetable 路由明细
func (CommonRoutetable) String ¶ added in v0.1.128
func (o CommonRoutetable) String() string
type CommonRoutetableObtainMode ¶ added in v0.1.128
type CommonRoutetableObtainMode struct {
// contains filtered or unexported fields
}
func (CommonRoutetableObtainMode) MarshalJSON ¶ added in v0.1.128
func (c CommonRoutetableObtainMode) MarshalJSON() ([]byte, error)
func (*CommonRoutetableObtainMode) UnmarshalJSON ¶ added in v0.1.128
func (c *CommonRoutetableObtainMode) UnmarshalJSON(b []byte) error
func (CommonRoutetableObtainMode) Value ¶ added in v0.1.128
func (c CommonRoutetableObtainMode) Value() string
type CommonRoutetableObtainModeEnum ¶ added in v0.1.128
type CommonRoutetableObtainModeEnum struct { CUSTOMIZED CommonRoutetableObtainMode SPECIFIC CommonRoutetableObtainMode BGP CommonRoutetableObtainMode }
func GetCommonRoutetableObtainModeEnum ¶ added in v0.1.128
func GetCommonRoutetableObtainModeEnum() CommonRoutetableObtainModeEnum
type CommonRoutetableStatus ¶ added in v0.1.128
type CommonRoutetableStatus struct {
// contains filtered or unexported fields
}
func (CommonRoutetableStatus) MarshalJSON ¶ added in v0.1.128
func (c CommonRoutetableStatus) MarshalJSON() ([]byte, error)
func (*CommonRoutetableStatus) UnmarshalJSON ¶ added in v0.1.128
func (c *CommonRoutetableStatus) UnmarshalJSON(b []byte) error
func (CommonRoutetableStatus) Value ¶ added in v0.1.128
func (c CommonRoutetableStatus) Value() string
type CommonRoutetableStatusEnum ¶ added in v0.1.128
type CommonRoutetableStatusEnum struct { ACTIVE CommonRoutetableStatus ERROR CommonRoutetableStatus PENDING_CREATE CommonRoutetableStatus }
func GetCommonRoutetableStatusEnum ¶ added in v0.1.128
func GetCommonRoutetableStatusEnum() CommonRoutetableStatusEnum
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
func (c ConnectGatewayResponseAddressFamily) Value() string
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
func (o CreateBindingGeipRequestBody) String() string
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
func (c CreateConnectGatewayAddressFamily) Value() string
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
func (o CreateConnectGatewayRequest) String() string
type CreateConnectGatewayRequestBody ¶ added in v0.1.125
type CreateConnectGatewayRequestBody struct {
ConnectGateway *CreateConnectGateway `json:"connect_gateway"`
}
func (CreateConnectGatewayRequestBody) String ¶ added in v0.1.125
func (o CreateConnectGatewayRequestBody) String() string
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
func (o CreateConnectGatewayResponse) String() string
type CreateExternalPeerLinkRequestBody ¶ added in v0.1.128
type CreateExternalPeerLinkRequestBody struct {
PeerLink *CreateExternalPeerLinkRequestBodyPeerLink `json:"peer_link"`
}
CreateExternalPeerLinkRequestBody 创建参数请求体
func (CreateExternalPeerLinkRequestBody) String ¶ added in v0.1.128
func (o CreateExternalPeerLinkRequestBody) String() string
type CreateExternalPeerLinkRequestBodyPeerLink ¶ added in v0.1.128
type CreateExternalPeerLinkRequestBodyPeerLink struct { // 关联连接的名字 Name string `json:"name"` // 描述信息 Description *string `json:"description,omitempty"` PeerSite *CreateExternalPeerLinkRequestBodyPeerLinkPeerSite `json:"peer_site"` }
func (CreateExternalPeerLinkRequestBodyPeerLink) String ¶ added in v0.1.128
func (o CreateExternalPeerLinkRequestBodyPeerLink) String() string
type CreateExternalPeerLinkRequestBodyPeerLinkPeerSite ¶ added in v0.1.128
type CreateExternalPeerLinkRequestBodyPeerLinkPeerSite struct { // 接入网关连接对端的实例(当前ER实例)ID GatewayId string `json:"gateway_id"` // 对端实例(ER实例)归属的项目ID ProjectId string `json:"project_id"` // 归属的区域ID RegionId string `json:"region_id"` }
func (CreateExternalPeerLinkRequestBodyPeerLinkPeerSite) String ¶ added in v0.1.128
func (o CreateExternalPeerLinkRequestBodyPeerLinkPeerSite) String() string
type CreateGlobalDcGateway ¶ added in v0.1.128
type CreateGlobalDcGateway struct { // 项目ID。 TenantId *string `json:"tenant_id,omitempty"` // global-dc-gateway名字。 Name string `json:"name"` // 描述信息。 Description *string `json:"description,omitempty"` // global-dc-gateway对应的ASN号 BgpAsn *int64 `json:"bgp_asn,omitempty"` // global-dc-gateway所属的企业项目ID。 EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 网关的地址簇,IPv4或者ipv6和IPv4双栈 - ipv4 - dual AddressFamily *CreateGlobalDcGatewayAddressFamily `json:"address_family,omitempty"` // global-dc-gateway关联TAG。 Tags *[]Tag `json:"tags,omitempty"` }
CreateGlobalDcGateway 创建global-dc-gateway的属性详情。
func (CreateGlobalDcGateway) String ¶ added in v0.1.128
func (o CreateGlobalDcGateway) String() string
type CreateGlobalDcGatewayAddressFamily ¶ added in v0.1.128
type CreateGlobalDcGatewayAddressFamily struct {
// contains filtered or unexported fields
}
func (CreateGlobalDcGatewayAddressFamily) MarshalJSON ¶ added in v0.1.128
func (c CreateGlobalDcGatewayAddressFamily) MarshalJSON() ([]byte, error)
func (*CreateGlobalDcGatewayAddressFamily) UnmarshalJSON ¶ added in v0.1.128
func (c *CreateGlobalDcGatewayAddressFamily) UnmarshalJSON(b []byte) error
func (CreateGlobalDcGatewayAddressFamily) Value ¶ added in v0.1.128
func (c CreateGlobalDcGatewayAddressFamily) Value() string
type CreateGlobalDcGatewayAddressFamilyEnum ¶ added in v0.1.128
type CreateGlobalDcGatewayAddressFamilyEnum struct { IPV4 CreateGlobalDcGatewayAddressFamily DUAL CreateGlobalDcGatewayAddressFamily }
func GetCreateGlobalDcGatewayAddressFamilyEnum ¶ added in v0.1.128
func GetCreateGlobalDcGatewayAddressFamilyEnum() CreateGlobalDcGatewayAddressFamilyEnum
type CreateGlobalDcGatewayEntry ¶ added in v0.1.128
type CreateGlobalDcGatewayEntry struct { // 专线全域接入网关(global-dc-gateway)ID Id *string `json:"id,omitempty"` // 项目ID。 TenantId *string `json:"tenant_id,omitempty"` // global-dc-gateway名字。 Name *string `json:"name,omitempty"` // 描述信息 Description *string `json:"description,omitempty"` // global-dc-gateway所属的企业项目ID。 EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // DGW加载的全球中心网络实例的ID GlobalCenterNetworkId *string `json:"global_center_network_id,omitempty"` // DGW对应BGP的ASN编号 BgpAsn *int64 `json:"bgp_asn,omitempty"` // DGW所属Region RegionId *string `json:"region_id,omitempty"` // DGW创建网关设备归属的位置 LocationName *string `json:"location_name,omitempty"` // 全域接入网关(GDGW)上关联连接的数量,表示DGW挂载ER的数量 CurrentPeerLinkCount *string `json:"current_peer_link_count,omitempty"` // 该全域接入网关上GDGW允许创建关联连接(PeerLink)的数量 AvailablePeerLinkCount *string `json:"available_peer_link_count,omitempty"` // global-dc-gateway关联TAG。 Tags *[]Tag `json:"tags,omitempty"` // 该GDGW的管理状态,true为激活状态、false为冻结状态 AdminStateUp *bool `json:"admin_state_up,omitempty"` Status *GlobalDcGatewayStatus `json:"status,omitempty"` // 创建时间。 CreatedTime *sdktime.SdkTime `json:"created_time,omitempty"` // 网关的地址簇,IPv4或者ipv6和IPv4双栈 - ipv4 - dual AddressFamily *CreateGlobalDcGatewayEntryAddressFamily `json:"address_family,omitempty"` }
CreateGlobalDcGatewayEntry global-dc-gateway详情。
func (CreateGlobalDcGatewayEntry) String ¶ added in v0.1.128
func (o CreateGlobalDcGatewayEntry) String() string
type CreateGlobalDcGatewayEntryAddressFamily ¶ added in v0.1.128
type CreateGlobalDcGatewayEntryAddressFamily struct {
// contains filtered or unexported fields
}
func (CreateGlobalDcGatewayEntryAddressFamily) MarshalJSON ¶ added in v0.1.128
func (c CreateGlobalDcGatewayEntryAddressFamily) MarshalJSON() ([]byte, error)
func (*CreateGlobalDcGatewayEntryAddressFamily) UnmarshalJSON ¶ added in v0.1.128
func (c *CreateGlobalDcGatewayEntryAddressFamily) UnmarshalJSON(b []byte) error
func (CreateGlobalDcGatewayEntryAddressFamily) Value ¶ added in v0.1.128
func (c CreateGlobalDcGatewayEntryAddressFamily) Value() string
type CreateGlobalDcGatewayEntryAddressFamilyEnum ¶ added in v0.1.128
type CreateGlobalDcGatewayEntryAddressFamilyEnum struct { IPV4 CreateGlobalDcGatewayEntryAddressFamily DUAL CreateGlobalDcGatewayEntryAddressFamily }
func GetCreateGlobalDcGatewayEntryAddressFamilyEnum ¶ added in v0.1.128
func GetCreateGlobalDcGatewayEntryAddressFamilyEnum() CreateGlobalDcGatewayEntryAddressFamilyEnum
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
func (o CreateGlobalDcGatewayRequest) String() string
type CreateGlobalDcGatewayRequestBody ¶ added in v0.1.125
type CreateGlobalDcGatewayRequestBody struct {
GlobalDcGateway *CreateGlobalDcGateway `json:"global_dc_gateway"`
}
CreateGlobalDcGatewayRequestBody 创建global-dc-gateway的请求体。
func (CreateGlobalDcGatewayRequestBody) String ¶ added in v0.1.125
func (o CreateGlobalDcGatewayRequestBody) String() string
type CreateGlobalDcGatewayResponse ¶ added in v0.1.125
type CreateGlobalDcGatewayResponse struct { GlobalDcGateway *CreateGlobalDcGatewayEntry `json:"global_dc_gateway,omitempty"` // 请求ID。 RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
CreateGlobalDcGatewayResponse Response Object
func (CreateGlobalDcGatewayResponse) String ¶ added in v0.1.125
func (o CreateGlobalDcGatewayResponse) String() string
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 ¶
func (o CreateHostedDirectConnectRequest) String() string
type CreateHostedDirectConnectRequestBody ¶
type CreateHostedDirectConnectRequestBody struct {
HostedConnect *CreateHostedDirectConnect `json:"hosted_connect"`
}
CreateHostedDirectConnectRequestBody 创建托管专线对象信息
func (CreateHostedDirectConnectRequestBody) String ¶
func (o CreateHostedDirectConnectRequestBody) String() 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 ¶
func (o CreateHostedDirectConnectResponse) String() string
type CreatePeerLinkRequest ¶ added in v0.1.125
type CreatePeerLinkRequest struct { // 全域接入网关ID GlobalDcGatewayId string `json:"global_dc_gateway_id"` Body *CreateExternalPeerLinkRequestBody `json:"body,omitempty"` }
CreatePeerLinkRequest Request Object
func (CreatePeerLinkRequest) String ¶ added in v0.1.125
func (o CreatePeerLinkRequest) String() string
type CreatePeerLinkResponse ¶ added in v0.1.125
type CreatePeerLinkResponse struct { // 请求ID RequestId *string `json:"request_id,omitempty"` PeerLink *ExternalCreatePeerLink `json:"peer_link,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 ¶
func (o CreateResourceTagRequestBody) String() 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 ¶
func (c CreateResourceTagRequestResourceType) Value() string
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
func (c CreateSwitchoverTestOperation) Value() string
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
func (o CreateSwitchoverTestRequestBody) String() string
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
func (c CreateSwitchoverTestResourceType) Value() string
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
func (o CreateUnbindingGeipRequestBody) String() string
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[,当选择创建接入VPC的虚拟网关时必选。](tag:dt) VpcId string `json:"vpc_id"` // 虚拟网关接入的ER的ID,当选择创建接入ER的虚拟网关时必选。 EnterpriseRouterId *string `json:"enterprise_router_id,omitempty"` // 虚拟网关名字 Name *string `json:"name,omitempty"` // 虚拟网关的描述信息 Description *string `json:"description,omitempty"` // 虚拟网关到访问云上服务IPv4子网列表,通常是vpc的cidrs[,当选择创建接入VPC的虚拟网关时必选。](tag:dt) 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 ¶
func (o CreateVirtualGatewayRequest) String() string
type CreateVirtualGatewayRequestBody ¶
type CreateVirtualGatewayRequestBody struct {
VirtualGateway *CreateVirtualGateway `json:"virtual_gateway,omitempty"`
}
func (CreateVirtualGatewayRequestBody) String ¶
func (o CreateVirtualGatewayRequestBody) String() 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 ¶
func (o CreateVirtualGatewayResponse) String() string
type CreateVirtualInterface ¶
type CreateVirtualInterface struct { // 虚拟接口名字 Name *string `json:"name,omitempty"` // 虚拟接口描述信息 Description *string `json:"description,omitempty"` // 虚拟接口关联的物理专线ID。在创建虚拟接口时,需要关联direct_connect_id或lag_id,当LAG功能在当前局点不支持时,该参数为必选。 DirectConnectId *string `json:"direct_connect_id,omitempty"` // 虚拟接口的类型,private Type CreateVirtualInterfaceType `json:"type"` // 接入网关类型:VGW/GDGW/LGW ServiceType *CreateVirtualInterfaceServiceType `json:"service_type,omitempty"` // 对接客户侧vlan。当关联物理连接选择托管专线时,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。[(预留字段暂不支持)](tag:dt) EnableBfd *bool `json:"enable_bfd,omitempty"` // 是否使能nqa功能:true或false。[(预留字段暂不支持)](tag:dt) 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 ¶
func (o CreateVirtualInterfaceRequest) String() string
type CreateVirtualInterfaceRequestBody ¶
type CreateVirtualInterfaceRequestBody struct {
VirtualInterface *CreateVirtualInterface `json:"virtual_interface"`
}
CreateVirtualInterfaceRequestBody 创建虚拟接口请求参数
func (CreateVirtualInterfaceRequestBody) String ¶
func (o CreateVirtualInterfaceRequestBody) String() 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 ¶
func (o CreateVirtualInterfaceResponse) String() 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 ¶
func (c CreateVirtualInterfaceRouteMode) Value() string
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 ¶
func (c CreateVirtualInterfaceServiceType) Value() string
type CreateVirtualInterfaceServiceTypeEnum ¶
type CreateVirtualInterfaceServiceTypeEnum struct { VGW CreateVirtualInterfaceServiceType GDGW CreateVirtualInterfaceServiceType LGW CreateVirtualInterfaceServiceType }
func GetCreateVirtualInterfaceServiceTypeEnum ¶
func GetCreateVirtualInterfaceServiceTypeEnum() CreateVirtualInterfaceServiceTypeEnum
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 ¶
func (c CreateVirtualInterfaceType) Value() string
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
func (o DeleteConnectGatewayRequest) String() string
type DeleteConnectGatewayResponse ¶ added in v0.1.125
type DeleteConnectGatewayResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteConnectGatewayResponse Response Object
func (DeleteConnectGatewayResponse) String ¶ added in v0.1.125
func (o DeleteConnectGatewayResponse) String() string
type DeleteDirectConnectRequest ¶
type DeleteDirectConnectRequest struct { // 物理专线连接ID。 DirectConnectId string `json:"direct_connect_id"` }
DeleteDirectConnectRequest Request Object
func (DeleteDirectConnectRequest) String ¶
func (o DeleteDirectConnectRequest) String() string
type DeleteDirectConnectResponse ¶
type DeleteDirectConnectResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteDirectConnectResponse Response Object
func (DeleteDirectConnectResponse) String ¶
func (o DeleteDirectConnectResponse) String() string
type DeleteGdgwRouteAction ¶ added in v0.1.128
type DeleteGdgwRouteAction struct { // 路由子网 Destination string `json:"destination"` // 下一跳id Nexthop string `json:"nexthop"` Type *RouteTypeOfGdgw `json:"type,omitempty"` }
func (DeleteGdgwRouteAction) String ¶ added in v0.1.128
func (o DeleteGdgwRouteAction) String() 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
func (o DeleteGlobalDcGatewayRequest) String() string
type DeleteGlobalDcGatewayResponse ¶ added in v0.1.125
type DeleteGlobalDcGatewayResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteGlobalDcGatewayResponse Response Object
func (DeleteGlobalDcGatewayResponse) String ¶ added in v0.1.125
func (o DeleteGlobalDcGatewayResponse) String() string
type DeleteHostedDirectConnectRequest ¶
type DeleteHostedDirectConnectRequest struct { // 托管专线连接ID。 HostedConnectId string `json:"hosted_connect_id"` }
DeleteHostedDirectConnectRequest Request Object
func (DeleteHostedDirectConnectRequest) String ¶
func (o DeleteHostedDirectConnectRequest) String() string
type DeleteHostedDirectConnectResponse ¶
type DeleteHostedDirectConnectResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteHostedDirectConnectResponse Response Object
func (DeleteHostedDirectConnectResponse) String ¶
func (o DeleteHostedDirectConnectResponse) String() 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 {
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 ¶
func (c DeleteResourceTagRequestResourceType) Value() string
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 ¶
func (o DeleteVirtualGatewayRequest) String() string
type DeleteVirtualGatewayResponse ¶
type DeleteVirtualGatewayResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteVirtualGatewayResponse Response Object
func (DeleteVirtualGatewayResponse) String ¶
func (o DeleteVirtualGatewayResponse) String() string
type DeleteVirtualInterfaceRequest ¶
type DeleteVirtualInterfaceRequest struct { // 虚拟接口ID。 VirtualInterfaceId string `json:"virtual_interface_id"` }
DeleteVirtualInterfaceRequest Request Object
func (DeleteVirtualInterfaceRequest) String ¶
func (o DeleteVirtualInterfaceRequest) String() string
type DeleteVirtualInterfaceResponse ¶
type DeleteVirtualInterfaceResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteVirtualInterfaceResponse Response Object
func (DeleteVirtualInterfaceResponse) String ¶
func (o DeleteVirtualInterfaceResponse) String() 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:待工勘 LEASED_LINE_DELIVERY:运营商施工 Status *DirectConnectStatus `json:"status,omitempty"` // 物理专线的申请时间。采用UTC时间格式,格式为:yyyy-MM-ddTHH:mm:ss.SSSZ ApplyTime *sdktime.SdkTime `json:"apply_time,omitempty"` // 物理专线的创建时间。采用UTC时间格式,格式为:yyyy-MM-ddTHH:mm:ss.SSSZ 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"` // 专线协议的签署时间。采用UTC时间格式,格式为:yyyy-MM-ddTHH:mm:ss.SSSZ 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"` // 归属的CloudPond站点的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 DirectConnectLocationEntry ¶ added in v0.1.128
type DirectConnectLocationEntry struct { // 专线接入站点资源的ID Id *string `json:"id,omitempty"` // 专线接入点的名称 Name *string `json:"name,omitempty"` // Location所属Region RegionId *string `json:"region_id,omitempty"` // 专线接入点对应的站点编码 SiteCode *string `json:"site_code,omitempty"` Address *AddressBody `json:"address,omitempty"` Locales *LocalesBody `json:"locales,omitempty"` // 可支持的运营商列表。 ProviderList *[]ProviderResponseBody `json:"provider_list,omitempty"` // 专线接入点所属public_border_group PublicBorderGroup *string `json:"public_border_group,omitempty"` // 地理位置纬度 Latitude *string `json:"latitude,omitempty"` // 地理位置经度 Longitude *string `json:"longitude,omitempty"` // 描述信息。 Description *string `json:"description,omitempty"` // 创建时间。 CreatedTime *sdktime.SdkTime `json:"created_time,omitempty"` // 更新时间。 UpdatedTime *sdktime.SdkTime `json:"updated_time,omitempty"` // 接入点内设备可选的端口类型 AvailablePortSpeeds *[]string `json:"available_port_speeds,omitempty"` }
DirectConnectLocationEntry direct-connect-location专线接入点详情
func (DirectConnectLocationEntry) String ¶ added in v0.1.128
func (o DirectConnectLocationEntry) String() string
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 ¶
func (c DirectConnectProviderStatus) Value() string
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 ¶
func (c DirectConnectSignedAgreementStatus) Value() string
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 LEASED_LINE_DELIVERY 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 ExternalCreatePeerLink ¶ added in v0.1.125
type ExternalCreatePeerLink struct { // 专线对等连接 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"` BandwidthInfo *BandwidthInfoExternal `json:"bandwidth_info,omitempty"` PeerSite *PeerSiteExternal `json:"peer_site"` // '状态信息' - 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"` }
func (ExternalCreatePeerLink) String ¶ added in v0.1.125
func (o ExternalCreatePeerLink) String() string
type ExternalUpdatePeerLink ¶ added in v0.1.125
type ExternalUpdatePeerLink 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 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"` }
ExternalUpdatePeerLink 更新的请求体信息
func (ExternalUpdatePeerLink) String ¶ added in v0.1.125
func (o ExternalUpdatePeerLink) String() string
type GdgwRouteTableRequest ¶ added in v0.1.128
type GdgwRouteTableRequest struct { // 需要添加的路由 AddRoutes *[]AddGdgwRouteAction `json:"add_routes,omitempty"` // 需要删除的路由 DelRoutes *[]DeleteGdgwRouteAction `json:"del_routes,omitempty"` // 需要更新的路 **仅更新该条路由的附加信息,不执行交换机的路由更新操作。当前支持更新:路由描述-description信息** UpdateRoutes *[]UpdateRouteAction `json:"update_routes,omitempty"` }
func (GdgwRouteTableRequest) String ¶ added in v0.1.128
func (o GdgwRouteTableRequest) String() string
type GlobalDcGatewayEntry ¶ added in v0.1.128
type GlobalDcGatewayEntry struct { // 专线全域接入网关(global-dc-gateway)ID Id *string `json:"id,omitempty"` // 项目ID。 TenantId *string `json:"tenant_id,omitempty"` // global-dc-gateway名字。 Name *string `json:"name,omitempty"` // 描述信息 Description *string `json:"description,omitempty"` // global-dc-gateway所属的企业项目ID。 EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // DGW加载的全球中心网络实例的ID GlobalCenterNetworkId *string `json:"global_center_network_id,omitempty"` // DGW对应BGP的ASN编号 BgpAsn *int64 `json:"bgp_asn,omitempty"` // DGW所属Region RegionId *string `json:"region_id,omitempty"` // DGW创建网关设备归属的位置 LocationName *string `json:"location_name,omitempty"` Locales *LocalesBody `json:"locales,omitempty"` // 全域接入网关(GDGW)上关联连接的数量,表示DGW挂载ER的数量 CurrentPeerLinkCount *string `json:"current_peer_link_count,omitempty"` // 该全域接入网关上GDGW允许创建关联连接(PeerLink)的数量 AvailablePeerLinkCount *string `json:"available_peer_link_count,omitempty"` // global-dc-gateway关联TAG。 Tags *[]Tag `json:"tags,omitempty"` // 该GDGW的管理状态,true为激活状态、false为冻结状态 AdminStateUp *bool `json:"admin_state_up,omitempty"` Status *GlobalDcGatewayStatus `json:"status,omitempty"` // 创建时间。 CreatedTime *sdktime.SdkTime `json:"created_time,omitempty"` // 更新时间。 UpdatedTime *sdktime.SdkTime `json:"updated_time,omitempty"` // 网关的地址簇,IPv4或者ipv6和IPv4双栈 - ipv4 - dual AddressFamily *GlobalDcGatewayEntryAddressFamily `json:"address_family,omitempty"` }
GlobalDcGatewayEntry global-dc-gateway详情。
func (GlobalDcGatewayEntry) String ¶ added in v0.1.128
func (o GlobalDcGatewayEntry) String() string
type GlobalDcGatewayEntryAddressFamily ¶ added in v0.1.128
type GlobalDcGatewayEntryAddressFamily struct {
// contains filtered or unexported fields
}
func (GlobalDcGatewayEntryAddressFamily) MarshalJSON ¶ added in v0.1.128
func (c GlobalDcGatewayEntryAddressFamily) MarshalJSON() ([]byte, error)
func (*GlobalDcGatewayEntryAddressFamily) UnmarshalJSON ¶ added in v0.1.128
func (c *GlobalDcGatewayEntryAddressFamily) UnmarshalJSON(b []byte) error
func (GlobalDcGatewayEntryAddressFamily) Value ¶ added in v0.1.128
func (c GlobalDcGatewayEntryAddressFamily) Value() string
type GlobalDcGatewayEntryAddressFamilyEnum ¶ added in v0.1.128
type GlobalDcGatewayEntryAddressFamilyEnum struct { IPV4 GlobalDcGatewayEntryAddressFamily DUAL GlobalDcGatewayEntryAddressFamily }
func GetGlobalDcGatewayEntryAddressFamilyEnum ¶ added in v0.1.128
func GetGlobalDcGatewayEntryAddressFamilyEnum() GlobalDcGatewayEntryAddressFamilyEnum
type GlobalDcGatewayStatus ¶ added in v0.1.128
type GlobalDcGatewayStatus struct {
// contains filtered or unexported fields
}
GlobalDcGatewayStatus GDGW资源状态,DOWN (未连接状态), PENDING_UPDATE(连接状态更新中),ACTIVE (已连接状态), ERROR (出错)。
func (GlobalDcGatewayStatus) MarshalJSON ¶ added in v0.1.128
func (c GlobalDcGatewayStatus) MarshalJSON() ([]byte, error)
func (*GlobalDcGatewayStatus) UnmarshalJSON ¶ added in v0.1.128
func (c *GlobalDcGatewayStatus) UnmarshalJSON(b []byte) error
func (GlobalDcGatewayStatus) Value ¶ added in v0.1.128
func (c GlobalDcGatewayStatus) Value() string
type GlobalDcGatewayStatusEnum ¶ added in v0.1.128
type GlobalDcGatewayStatusEnum struct { DOWN GlobalDcGatewayStatus PENDING_UPDATE GlobalDcGatewayStatus ACTIVE GlobalDcGatewayStatus ERROR GlobalDcGatewayStatus }
func GetGlobalDcGatewayStatusEnum ¶ added in v0.1.128
func GetGlobalDcGatewayStatusEnum() GlobalDcGatewayStatusEnum
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"` // 托管专线申请时间。采用UTC时间格式,格式为:yyyy-MM-ddTHH:mm:ss.SSSZ ApplyTime *sdktime.SdkTime `json:"apply_time,omitempty"` // 托管专线创建时间。采用UTC时间格式,格式为:yyyy-MM-ddTHH:mm:ss.SSSZ CreateTime *sdktime.SdkTime `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
func (c HostedDirectConnectPortType) Value() string
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 ¶
func (c HostedDirectConnectProviderStatus) Value() string
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 ¶
func (c HostedDirectConnectStatus) Value() string
type HostedDirectConnectStatusEnum ¶
type HostedDirectConnectStatusEnum struct { BUILD HostedDirectConnectStatus ACTIVE HostedDirectConnectStatus DOWN HostedDirectConnectStatus ERROR HostedDirectConnectStatus PENDING_DELETE HostedDirectConnectStatus PENDING_UPDATE HostedDirectConnectStatus PENDING_CREATE HostedDirectConnectStatus }
func GetHostedDirectConnectStatusEnum ¶
func GetHostedDirectConnectStatusEnum() HostedDirectConnectStatusEnum
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 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 *ListBindingGeipStatus `json:"status,omitempty"` // geip类型:IP_ADDRESS/IP_SEGMENT Type *ListBindingGeipType `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"` // CloudPond的集群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 ListBindingGeipStatus ¶ added in v0.1.128
type ListBindingGeipStatus struct {
// contains filtered or unexported fields
}
func (ListBindingGeipStatus) MarshalJSON ¶ added in v0.1.128
func (c ListBindingGeipStatus) MarshalJSON() ([]byte, error)
func (*ListBindingGeipStatus) UnmarshalJSON ¶ added in v0.1.128
func (c *ListBindingGeipStatus) UnmarshalJSON(b []byte) error
func (ListBindingGeipStatus) Value ¶ added in v0.1.128
func (c ListBindingGeipStatus) Value() string
type ListBindingGeipStatusEnum ¶ added in v0.1.128
type ListBindingGeipStatusEnum struct { ACTIVE ListBindingGeipStatus ERROR ListBindingGeipStatus }
func GetListBindingGeipStatusEnum ¶ added in v0.1.128
func GetListBindingGeipStatusEnum() ListBindingGeipStatusEnum
type ListBindingGeipType ¶ added in v0.1.128
type ListBindingGeipType struct {
// contains filtered or unexported fields
}
func (ListBindingGeipType) MarshalJSON ¶ added in v0.1.128
func (c ListBindingGeipType) MarshalJSON() ([]byte, error)
func (*ListBindingGeipType) UnmarshalJSON ¶ added in v0.1.128
func (c *ListBindingGeipType) UnmarshalJSON(b []byte) error
func (ListBindingGeipType) Value ¶ added in v0.1.128
func (c ListBindingGeipType) Value() string
type ListBindingGeipTypeEnum ¶ added in v0.1.128
type ListBindingGeipTypeEnum struct { IP_ADDRESS ListBindingGeipType IP_SEGMENT ListBindingGeipType }
func GetListBindingGeipTypeEnum ¶ added in v0.1.128
func GetListBindingGeipTypeEnum() ListBindingGeipTypeEnum
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
func (o ListConnectGatewaysRequest) String() string
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
func (c ListConnectGatewaysRequestSortDir) Value() string
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
func (o ListConnectGatewaysResponse) String() string
type ListDirectConnectLocationsRequest ¶ added in v0.1.128
type ListDirectConnectLocationsRequest struct { // 每页返回的个数。 取值范围:1~2000。 Limit *int32 `json:"limit,omitempty"` // 上一页最后一条资源记录的ID,为空时为查询第一页。 使用说明:必须与limit一起使用。 Marker *string `json:"marker,omitempty"` // 排序字段。 SortKey *string `json:"sort_key,omitempty"` // 返回结果按照升序(asc)或降序(desc)排列,默认为asc SortDir *[]ListDirectConnectLocationsRequestSortDir `json:"sort_dir,omitempty"` // 根据资源ID过滤实例 Id *[]string `json:"id,omitempty"` // 根据名字过滤查询,可查询多个名字。 Name *[]string `json:"name,omitempty"` // 根椐资源状态过淲实例 Status *[]string `json:"status,omitempty"` }
ListDirectConnectLocationsRequest Request Object
func (ListDirectConnectLocationsRequest) String ¶ added in v0.1.128
func (o ListDirectConnectLocationsRequest) String() string
type ListDirectConnectLocationsRequestSortDir ¶ added in v0.1.128
type ListDirectConnectLocationsRequestSortDir struct {
// contains filtered or unexported fields
}
func (ListDirectConnectLocationsRequestSortDir) MarshalJSON ¶ added in v0.1.128
func (c ListDirectConnectLocationsRequestSortDir) MarshalJSON() ([]byte, error)
func (*ListDirectConnectLocationsRequestSortDir) UnmarshalJSON ¶ added in v0.1.128
func (c *ListDirectConnectLocationsRequestSortDir) UnmarshalJSON(b []byte) error
func (ListDirectConnectLocationsRequestSortDir) Value ¶ added in v0.1.128
func (c ListDirectConnectLocationsRequestSortDir) Value() string
type ListDirectConnectLocationsRequestSortDirEnum ¶ added in v0.1.128
type ListDirectConnectLocationsRequestSortDirEnum struct { ASC ListDirectConnectLocationsRequestSortDir DESC ListDirectConnectLocationsRequestSortDir }
func GetListDirectConnectLocationsRequestSortDirEnum ¶ added in v0.1.128
func GetListDirectConnectLocationsRequestSortDirEnum() ListDirectConnectLocationsRequestSortDirEnum
type ListDirectConnectLocationsResponse ¶ added in v0.1.128
type ListDirectConnectLocationsResponse struct { // 专线接入点列表 DirectConnectLocations *[]DirectConnectLocationEntry `json:"direct_connect_locations,omitempty"` PageInfo *PageInfo `json:"page_info,omitempty"` // 请求ID。 RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
ListDirectConnectLocationsResponse Response Object
func (ListDirectConnectLocationsResponse) String ¶ added in v0.1.128
func (o ListDirectConnectLocationsResponse) 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 ¶
func (c ListDirectConnectsRequestSortDir) Value() string
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 ¶
func (o ListDirectConnectsResponse) String() string
type ListGdgwRouteTablesRequest ¶ added in v0.1.125
type ListGdgwRouteTablesRequest struct { // 全域接入网关ID GdgwId string `json:"gdgw_id"` // 地址簇 AddressFamily *[]ListGdgwRouteTablesRequestAddressFamily `json:"address_family,omitempty"` // 下一跳ID Nexthop *[]string `json:"nexthop,omitempty"` // 目的地址 Destination *[]string `json:"destination,omitempty"` }
ListGdgwRouteTablesRequest Request Object
func (ListGdgwRouteTablesRequest) String ¶ added in v0.1.125
func (o ListGdgwRouteTablesRequest) String() string
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
func (c ListGdgwRouteTablesRequestAddressFamily) Value() string
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"` HttpStatusCode int `json:"-"` }
ListGdgwRouteTablesResponse Response Object
func (ListGdgwRouteTablesResponse) String ¶ added in v0.1.125
func (o ListGdgwRouteTablesResponse) String() string
type ListGlobalDcGatewaysRequest ¶ added in v0.1.128
type ListGlobalDcGatewaysRequest struct { // 每页返回的个数。 取值范围:1~2000。 Limit *int32 `json:"limit,omitempty"` // 显示字段列表 Fields *[]string `json:"fields,omitempty"` // 上一页最后一条资源记录的ID,为空时为查询第一页。 使用说明:必须与limit一起使用。 Marker *string `json:"marker,omitempty"` // 排序字段。 SortKey *string `json:"sort_key,omitempty"` // 返回结果按照升序(asc)或降序(desc)排列,默认为asc SortDir *[]ListGlobalDcGatewaysRequestSortDir `json:"sort_dir,omitempty"` // 根据资源ID过滤实例 Id *[]string `json:"id,omitempty"` // 根据名字过滤查询,可查询多个名字。 Name *[]string `json:"name,omitempty"` // 根据企业项目ID过滤资源实例 EnterpriseProjectId *[]string `json:"enterprise_project_id,omitempty"` // 站点网络ID SiteNetworkId *[]string `json:"site_network_id,omitempty"` // 云连接ID CloudConnectionId *[]string `json:"cloud_connection_id,omitempty"` // 根椐资源状态过淲实例 Status *[]string `json:"status,omitempty"` // 全球中心网络ID GlobalCenterNetworkId *[]string `json:"global_center_network_id,omitempty"` }
ListGlobalDcGatewaysRequest Request Object
func (ListGlobalDcGatewaysRequest) String ¶ added in v0.1.128
func (o ListGlobalDcGatewaysRequest) String() string
type ListGlobalDcGatewaysRequestSortDir ¶ added in v0.1.128
type ListGlobalDcGatewaysRequestSortDir struct {
// contains filtered or unexported fields
}
func (ListGlobalDcGatewaysRequestSortDir) MarshalJSON ¶ added in v0.1.128
func (c ListGlobalDcGatewaysRequestSortDir) MarshalJSON() ([]byte, error)
func (*ListGlobalDcGatewaysRequestSortDir) UnmarshalJSON ¶ added in v0.1.128
func (c *ListGlobalDcGatewaysRequestSortDir) UnmarshalJSON(b []byte) error
func (ListGlobalDcGatewaysRequestSortDir) Value ¶ added in v0.1.128
func (c ListGlobalDcGatewaysRequestSortDir) Value() string
type ListGlobalDcGatewaysRequestSortDirEnum ¶ added in v0.1.128
type ListGlobalDcGatewaysRequestSortDirEnum struct { ASC ListGlobalDcGatewaysRequestSortDir DESC ListGlobalDcGatewaysRequestSortDir }
func GetListGlobalDcGatewaysRequestSortDirEnum ¶ added in v0.1.128
func GetListGlobalDcGatewaysRequestSortDirEnum() ListGlobalDcGatewaysRequestSortDirEnum
type ListGlobalDcGatewaysResponse ¶ added in v0.1.128
type ListGlobalDcGatewaysResponse struct { // 全域接入网关列表。 GlobalDcGateways *[]GlobalDcGatewayEntry `json:"global_dc_gateways,omitempty"` PageInfo *PageInfo `json:"page_info,omitempty"` // 请求ID。 RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
ListGlobalDcGatewaysResponse Response Object
func (ListGlobalDcGatewaysResponse) String ¶ added in v0.1.128
func (o ListGlobalDcGatewaysResponse) String() string
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
func (c ListGlobalEipsRequestSortDir) Value() string
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"` 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 ¶
func (o ListHostedDirectConnectsRequest) String() 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 ¶
func (c ListHostedDirectConnectsRequestSortDir) Value() string
type ListHostedDirectConnectsRequestSortDirEnum ¶
type ListHostedDirectConnectsRequestSortDirEnum struct { ASC ListHostedDirectConnectsRequestSortDir DESC ListHostedDirectConnectsRequestSortDir }
func GetListHostedDirectConnectsRequestSortDirEnum ¶
func GetListHostedDirectConnectsRequestSortDirEnum() ListHostedDirectConnectsRequestSortDirEnum
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 ¶
func (o ListHostedDirectConnectsResponse) String() string
type ListPeerLinksRequest ¶ added in v0.1.125
type ListPeerLinksRequest struct { // 全域接入网关ID GlobalDcGatewayId string `json:"global_dc_gateway_id"` // 每页返回的个数。 取值范围: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过滤实例 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
func (c ListPeerLinksRequestSortDir) Value() string
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 { // 专线关联连接列表。 PeerLinks *[]PeerLinkEntry `json:"peer_links,omitempty"` PageInfo *PageInfo `json:"page_info,omitempty"` // 请求ID。 RequestId *string `json:"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 ¶
func (c ListProjectTagsRequestResourceType) Value() string
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
func (o ListSwitchoverTestRecordsRequest) String() string
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
func (c ListSwitchoverTestRecordsRequestSortDir) Value() string
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
func (o ListSwitchoverTestRecordsResponse) String() string
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 ¶
func (o ListTagResourceInstancesRequest) String() 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 ¶
func (o ListTagResourceInstancesRequestBody) String() string
type ListTagResourceInstancesRequestBodyAction ¶
type ListTagResourceInstancesRequestBodyAction struct {
// contains filtered or unexported fields
}
func (ListTagResourceInstancesRequestBodyAction) MarshalJSON ¶
func (c ListTagResourceInstancesRequestBodyAction) MarshalJSON() ([]byte, error)
func (*ListTagResourceInstancesRequestBodyAction) UnmarshalJSON ¶
func (c *ListTagResourceInstancesRequestBodyAction) UnmarshalJSON(b []byte) error
func (ListTagResourceInstancesRequestBodyAction) Value ¶
func (c ListTagResourceInstancesRequestBodyAction) Value() string
type ListTagResourceInstancesRequestBodyActionEnum ¶
type ListTagResourceInstancesRequestBodyActionEnum struct { FILTER ListTagResourceInstancesRequestBodyAction COUNT ListTagResourceInstancesRequestBodyAction }
func GetListTagResourceInstancesRequestBodyActionEnum ¶
func GetListTagResourceInstancesRequestBodyActionEnum() ListTagResourceInstancesRequestBodyActionEnum
type ListTagResourceInstancesRequestResourceType ¶
type ListTagResourceInstancesRequestResourceType struct {
// contains filtered or unexported fields
}
func (ListTagResourceInstancesRequestResourceType) MarshalJSON ¶
func (c ListTagResourceInstancesRequestResourceType) MarshalJSON() ([]byte, error)
func (*ListTagResourceInstancesRequestResourceType) UnmarshalJSON ¶
func (c *ListTagResourceInstancesRequestResourceType) UnmarshalJSON(b []byte) error
func (ListTagResourceInstancesRequestResourceType) Value ¶
func (c ListTagResourceInstancesRequestResourceType) Value() string
type ListTagResourceInstancesRequestResourceTypeEnum ¶
type ListTagResourceInstancesRequestResourceTypeEnum struct { DC_DIRECTCONNECT ListTagResourceInstancesRequestResourceType DC_VGW ListTagResourceInstancesRequestResourceType DC_VIF ListTagResourceInstancesRequestResourceType }
func GetListTagResourceInstancesRequestResourceTypeEnum ¶
func GetListTagResourceInstancesRequestResourceTypeEnum() ListTagResourceInstancesRequestResourceTypeEnum
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 ¶
func (o ListTagResourceInstancesResponse) String() 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 ¶
func (o ListVirtualGatewaysRequest) String() 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 ¶
func (c ListVirtualGatewaysRequestSortDir) Value() string
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 ¶
func (o ListVirtualGatewaysResponse) String() 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 ¶
func (o ListVirtualInterfacesRequest) String() 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 ¶
func (c ListVirtualInterfacesRequestSortDir) Value() string
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 ¶
func (o ListVirtualInterfacesResponse) 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 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 分页查询页的信息
type PeerLinkEntry ¶ added in v0.1.128
type PeerLinkEntry struct { // peer link ID。 Id *string `json:"id,omitempty"` // 租户项目ID TenantId *string `json:"tenant_id,omitempty"` // 专线内部连接(peer link)名字 Name *string `json:"name,omitempty"` // 描述信息 Description *string `json:"description,omitempty"` // 对应的专线全域接入网关ID GlobalDcGatewayId *string `json:"global_dc_gateway_id,omitempty"` BandwidthInfo *BandWidthInfo `json:"bandwidth_info,omitempty"` PeerSite *PeerSite `json:"peer_site,omitempty"` Status *PeerLinkStatus `json:"status,omitempty"` // 创建时间。 CreatedTime *sdktime.SdkTime `json:"created_time,omitempty"` // 更新时间。 UpdatedTime *sdktime.SdkTime `json:"updated_time,omitempty"` // 创建归属服务名 - cc 云连接 - dc 云专线 CreateOwner *sdktime.SdkTime `json:"create_owner,omitempty"` // 实例ID InstanceId *string `json:"instance_id,omitempty"` }
PeerLinkEntry 实例的peer Link的详情
func (PeerLinkEntry) String ¶ added in v0.1.128
func (o PeerLinkEntry) String() string
type PeerLinkStatus ¶ added in v0.1.128
type PeerLinkStatus struct {
// contains filtered or unexported fields
}
PeerLinkStatus 关联连接状态,PENDING_CREATE (创建中), PENDING_UPDATE (更新中), ACTIVE (可用状态), ERROR (失败状态)。
func (PeerLinkStatus) MarshalJSON ¶ added in v0.1.128
func (c PeerLinkStatus) MarshalJSON() ([]byte, error)
func (*PeerLinkStatus) UnmarshalJSON ¶ added in v0.1.128
func (c *PeerLinkStatus) UnmarshalJSON(b []byte) error
func (PeerLinkStatus) Value ¶ added in v0.1.128
func (c PeerLinkStatus) Value() string
type PeerLinkStatusEnum ¶ added in v0.1.128
type PeerLinkStatusEnum struct { PENDING_CREATE PeerLinkStatus PENDING_UPDATE PeerLinkStatus ACTIVE PeerLinkStatus ERROR PeerLinkStatus }
func GetPeerLinkStatusEnum ¶ added in v0.1.128
func GetPeerLinkStatusEnum() PeerLinkStatusEnum
type PeerSite ¶ added in v0.1.128
type PeerSite struct { // 对端网关的ID GatewayId *string `json:"gateway_id,omitempty"` // 对端网关连接的ID(如:对端为ER时为attachment ID,对端为GDGW时为对端的PeerLink Id) LinkId *string `json:"link_id,omitempty"` // 对端网关所在的Region RegionId *string `json:"region_id,omitempty"` // 专线全域接入网关对应的站点位置 SiteCode *string `json:"site_code,omitempty"` // 对等体站点的项目ID ProjectId *string `json:"project_id,omitempty"` // 对等体的类型 - ER 企业路由器 - GDGW 全域接入网关 Type *PeerSiteType `json:"type,omitempty"` }
PeerSite 对端的网关的描述信息
type PeerSiteExternal ¶ added in v0.1.125
type PeerSiteExternal struct { // 全域接入网关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"` }
func (PeerSiteExternal) String ¶ added in v0.1.125
func (o PeerSiteExternal) String() string
type PeerSiteType ¶ added in v0.1.128
type PeerSiteType struct {
// contains filtered or unexported fields
}
func (PeerSiteType) MarshalJSON ¶ added in v0.1.128
func (c PeerSiteType) MarshalJSON() ([]byte, error)
func (*PeerSiteType) UnmarshalJSON ¶ added in v0.1.128
func (c *PeerSiteType) UnmarshalJSON(b []byte) error
func (PeerSiteType) Value ¶ added in v0.1.128
func (c PeerSiteType) Value() string
type PeerSiteTypeEnum ¶ added in v0.1.128
type PeerSiteTypeEnum struct { ER PeerSiteType GDGW PeerSiteType }
func GetPeerSiteTypeEnum ¶ added in v0.1.128
func GetPeerSiteTypeEnum() PeerSiteTypeEnum
type ProviderResponseBody ¶ added in v0.1.128
type ProviderResponseBody struct { // 运营商id Id *string `json:"id,omitempty"` // 运营商简写 ShortName *string `json:"short_name,omitempty"` // 运营商类型 Type *string `json:"type,omitempty"` ProviderValue *ProviderValueBody `json:"provider_value,omitempty"` // 运营商描述信息 Description *string `json:"description,omitempty"` }
ProviderResponseBody 运营商的返回体。
func (ProviderResponseBody) String ¶ added in v0.1.128
func (o ProviderResponseBody) String() string
type ProviderValueBody ¶ added in v0.1.128
type ProviderValueBody struct { // 英文名称。 EnUs *string `json:"en_us,omitempty"` // 中文信息。 ZhCn *string `json:"zh_cn,omitempty"` }
ProviderValueBody 运营商描述信息。
func (ProviderValueBody) String ¶ added in v0.1.128
func (o ProviderValueBody) 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 资源信息
type RouteDescription ¶ added in v0.1.128
type RouteDescription struct { }
RouteDescription 路由描述
func (RouteDescription) String ¶ added in v0.1.128
func (o RouteDescription) String() string
type RouteDestination ¶ added in v0.1.128
type RouteDestination struct { }
RouteDestination 路由子网
func (RouteDestination) String ¶ added in v0.1.128
func (o RouteDestination) String() string
type RouteNextHop ¶ added in v0.1.128
type RouteNextHop struct { }
RouteNextHop 下一跳id
func (RouteNextHop) String ¶ added in v0.1.128
func (o RouteNextHop) String() string
type RouteTypeOfGdgw ¶ added in v0.1.128
type RouteTypeOfGdgw struct {
// contains filtered or unexported fields
}
RouteTypeOfGdgw 下一跳类型: - vif_peer: 虚拟接口对等体 - gdgw: 全域接入网关
func (RouteTypeOfGdgw) MarshalJSON ¶ added in v0.1.128
func (c RouteTypeOfGdgw) MarshalJSON() ([]byte, error)
func (*RouteTypeOfGdgw) UnmarshalJSON ¶ added in v0.1.128
func (c *RouteTypeOfGdgw) UnmarshalJSON(b []byte) error
func (RouteTypeOfGdgw) Value ¶ added in v0.1.128
func (c RouteTypeOfGdgw) Value() string
type RouteTypeOfGdgwEnum ¶ added in v0.1.128
type RouteTypeOfGdgwEnum struct { VIF_PEER RouteTypeOfGdgw GDGW RouteTypeOfGdgw }
func GetRouteTypeOfGdgwEnum ¶ added in v0.1.128
func GetRouteTypeOfGdgwEnum() RouteTypeOfGdgwEnum
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
func (o ShowConnectGatewayResponse) String() string
type ShowDirectConnectLocationRequest ¶ added in v0.1.128
type ShowDirectConnectLocationRequest struct { // direct-connect-locationID。 DirectConnectLocationId string `json:"direct_connect_location_id"` }
ShowDirectConnectLocationRequest Request Object
func (ShowDirectConnectLocationRequest) String ¶ added in v0.1.128
func (o ShowDirectConnectLocationRequest) String() string
type ShowDirectConnectLocationResponse ¶ added in v0.1.128
type ShowDirectConnectLocationResponse struct { DirectConnectLocation *DirectConnectLocationEntry `json:"direct_connect_location,omitempty"` // 请求ID。 RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
ShowDirectConnectLocationResponse Response Object
func (ShowDirectConnectLocationResponse) String ¶ added in v0.1.128
func (o ShowDirectConnectLocationResponse) 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 ShowGdgwRoutetable ¶ added in v0.1.125
type ShowGdgwRoutetable struct { // 路由id Id string `json:"id"` // 租户id TenantId string `json:"tenant_id"` // 网关id GatewayId *string `json:"gateway_id,omitempty"` // 路由子网 Destination string `json:"destination"` // 下一跳id Nexthop string `json:"nexthop"` // 路由类型: - customized: 默认路由 - specific: 自定义路由 - bgp: 动态路由 ObtainMode ShowGdgwRoutetableObtainMode `json:"obtain_mode"` // 路由状态: - ACTIVE: 下发正常 - ERROR: 下发失败 - PENDING_CREATE: 待下发 Status ShowGdgwRoutetableStatus `json:"status"` AddressFamily *AddressFamily `json:"address_family"` // 路由描述 Description *string `json:"description,omitempty"` Type *RouteTypeOfGdgw `json:"type"` }
ShowGdgwRoutetable 路由明细
func (ShowGdgwRoutetable) String ¶ added in v0.1.125
func (o ShowGdgwRoutetable) String() string
type ShowGdgwRoutetableObtainMode ¶ added in v0.1.128
type ShowGdgwRoutetableObtainMode struct {
// contains filtered or unexported fields
}
func (ShowGdgwRoutetableObtainMode) MarshalJSON ¶ added in v0.1.128
func (c ShowGdgwRoutetableObtainMode) MarshalJSON() ([]byte, error)
func (*ShowGdgwRoutetableObtainMode) UnmarshalJSON ¶ added in v0.1.128
func (c *ShowGdgwRoutetableObtainMode) UnmarshalJSON(b []byte) error
func (ShowGdgwRoutetableObtainMode) Value ¶ added in v0.1.128
func (c ShowGdgwRoutetableObtainMode) Value() string
type ShowGdgwRoutetableObtainModeEnum ¶ added in v0.1.128
type ShowGdgwRoutetableObtainModeEnum struct { CUSTOMIZED ShowGdgwRoutetableObtainMode SPECIFIC ShowGdgwRoutetableObtainMode BGP ShowGdgwRoutetableObtainMode }
func GetShowGdgwRoutetableObtainModeEnum ¶ added in v0.1.128
func GetShowGdgwRoutetableObtainModeEnum() ShowGdgwRoutetableObtainModeEnum
type ShowGdgwRoutetableStatus ¶ added in v0.1.128
type ShowGdgwRoutetableStatus struct {
// contains filtered or unexported fields
}
func (ShowGdgwRoutetableStatus) MarshalJSON ¶ added in v0.1.128
func (c ShowGdgwRoutetableStatus) MarshalJSON() ([]byte, error)
func (*ShowGdgwRoutetableStatus) UnmarshalJSON ¶ added in v0.1.128
func (c *ShowGdgwRoutetableStatus) UnmarshalJSON(b []byte) error
func (ShowGdgwRoutetableStatus) Value ¶ added in v0.1.128
func (c ShowGdgwRoutetableStatus) Value() string
type ShowGdgwRoutetableStatusEnum ¶ added in v0.1.128
type ShowGdgwRoutetableStatusEnum struct { ACTIVE ShowGdgwRoutetableStatus ERROR ShowGdgwRoutetableStatus PENDING_CREATE ShowGdgwRoutetableStatus }
func GetShowGdgwRoutetableStatusEnum ¶ added in v0.1.128
func GetShowGdgwRoutetableStatusEnum() ShowGdgwRoutetableStatusEnum
type ShowGlobalDcGatewayRequest ¶ added in v0.1.125
type ShowGlobalDcGatewayRequest struct { // 每页返回的个数。 取值范围:1~2000。 Limit *int32 `json:"limit,omitempty"` // 显示字段列表 Fields *[]string `json:"fields,omitempty"` // show response ext-fields ExtFields *[]string `json:"ext_fields,omitempty"` // 根据企业项目ID过滤资源实例 EnterpriseProjectId *[]string `json:"enterprise_project_id,omitempty"` // 全域接入网关ID GlobalDcGatewayId string `json:"global_dc_gateway_id"` }
ShowGlobalDcGatewayRequest Request Object
func (ShowGlobalDcGatewayRequest) String ¶ added in v0.1.125
func (o ShowGlobalDcGatewayRequest) String() string
type ShowGlobalDcGatewayResponse ¶ added in v0.1.125
type ShowGlobalDcGatewayResponse struct { GlobalDcGateway *GlobalDcGatewayEntry `json:"global_dc_gateway,omitempty"` // 请求ID。 RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
ShowGlobalDcGatewayResponse Response Object
func (ShowGlobalDcGatewayResponse) String ¶ added in v0.1.125
func (o ShowGlobalDcGatewayResponse) 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 ¶
func (o ShowHostedDirectConnectRequest) String() 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 ¶
func (c ShowHostedDirectConnectRequestSortDir) Value() string
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 ¶
func (o ShowHostedDirectConnectResponse) String() string
type ShowPeerLinkRequest ¶ added in v0.1.125
type ShowPeerLinkRequest struct { // 显示字段列表 Fields *[]string `json:"fields,omitempty"` // show response ext-fields ExtFields *[]string `json:"ext_fields,omitempty"` // 全域接入网关ID GlobalDcGatewayId string `json:"global_dc_gateway_id"` // 全域接入网关对等体 PeerLinkId string `json:"peer_link_id"` }
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 { PeerLink *PeerLinkEntry `json:"peer_link,omitempty"` // 请求ID。 RequestId *string `json:"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 专线全域接入网关的配额和使用量](tag:hws,hws_hk) - [peerLinkPerGdgw: 接入网关的关联连接的配额和使用量](tag:hws,hws_hk) 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
func (o ShowQuotasResponseBodyQuotas) String() string
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 ¶
func (c ShowResourceTagRequestResourceType) Value() string
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 ¶
func (o ShowVirtualGatewayResponse) String() string
type ShowVirtualInterfaceRequest ¶
type ShowVirtualInterfaceRequest struct { // 显示字段列表 Fields *[]string `json:"fields,omitempty"` // 虚拟接口ID。 VirtualInterfaceId string `json:"virtual_interface_id"` }
ShowVirtualInterfaceRequest Request Object
func (ShowVirtualInterfaceRequest) String ¶
func (o ShowVirtualInterfaceRequest) String() 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 ¶
func (o ShowVirtualInterfaceResponse) String() 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"` // 倒换测试操作的开始时间。采用UTC时间格式,格式为:yyyy-MM-ddTHH:mm:ss.SSSZ StartTime *sdktime.SdkTime `json:"start_time,omitempty"` // 倒换测试操作的结束时间。采用UTC时间格式,格式为:yyyy-MM-ddTHH:mm:ss.SSSZ 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
func (c SwitchoverTestRecordOperateStatus) Value() string
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
func (c SwitchoverTestRecordOperation) Value() string
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
func (c SwitchoverTestRecordResourceType) Value() string
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 资源标签。
type Tags ¶
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"` 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
func (c UpdateConnectGatewayAddressFamily) Value() string
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
func (o UpdateConnectGatewayRequest) String() string
type UpdateConnectGatewayRequestBody ¶ added in v0.1.125
type UpdateConnectGatewayRequestBody struct {
ConnectGateway *UpdateConnectGateway `json:"connect_gateway,omitempty"`
}
func (UpdateConnectGatewayRequestBody) String ¶ added in v0.1.125
func (o UpdateConnectGatewayRequestBody) String() string
type UpdateConnectGatewayResponse ¶ added in v0.1.125
type UpdateConnectGatewayResponse struct { // 请求ID RequestId *string `json:"request_id,omitempty"` ConnectGateway *ConnectGatewayResponse `json:"connect_gateway,omitempty"` HttpStatusCode int `json:"-"` }
UpdateConnectGatewayResponse Response Object
func (UpdateConnectGatewayResponse) String ¶ added in v0.1.125
func (o UpdateConnectGatewayResponse) String() string
type UpdateDirectConnect ¶
type UpdateDirectConnect struct { // 物理专线的名字 Name *string `json:"name,omitempty"` // 物理专线的描述信息 Description *string `json:"description,omitempty"` // 指定托管专线接入带宽,单位Mbps。[注:标准或运营专线的带宽不能降低!](tag:dt) Bandwidth *int32 `json:"bandwidth,omitempty"` // 物理专线对端所在的物理位置,省/市/街道或IDC名字 PeerLocation *string `json:"peer_location,omitempty"` // 更新资源状态,合法值是:PENDING_PAY,APPLY 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 ¶
func (c UpdateDirectConnectProviderStatus) Value() string
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 ¶
func (o UpdateDirectConnectRequest) String() string
type UpdateDirectConnectRequestBody ¶
type UpdateDirectConnectRequestBody struct {
DirectConnect *UpdateDirectConnect `json:"direct_connect,omitempty"`
}
UpdateDirectConnectRequestBody 物理专线更新对象参数
func (UpdateDirectConnectRequestBody) String ¶
func (o UpdateDirectConnectRequestBody) String() 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 ¶
func (o UpdateDirectConnectResponse) String() 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 ¶
func (c UpdateDirectConnectStatus) Value() string
type UpdateDirectConnectStatusEnum ¶
type UpdateDirectConnectStatusEnum struct { PENDING_PAY UpdateDirectConnectStatus APPLY UpdateDirectConnectStatus }
func GetUpdateDirectConnectStatusEnum ¶
func GetUpdateDirectConnectStatusEnum() UpdateDirectConnectStatusEnum
type UpdateExternalPeerLinkRequestBody ¶ added in v0.1.128
type UpdateExternalPeerLinkRequestBody struct {
PeerLink *UpdateExternalPeerLinkRequestBodyPeerLink `json:"peer_link,omitempty"`
}
UpdateExternalPeerLinkRequestBody 更新关联连接参数
func (UpdateExternalPeerLinkRequestBody) String ¶ added in v0.1.128
func (o UpdateExternalPeerLinkRequestBody) String() string
type UpdateExternalPeerLinkRequestBodyPeerLink ¶ added in v0.1.128
type UpdateExternalPeerLinkRequestBodyPeerLink struct { // 接入网关关联连接的名字 Name *string `json:"name,omitempty"` // 描述信息 Description *string `json:"description,omitempty"` }
func (UpdateExternalPeerLinkRequestBodyPeerLink) String ¶ added in v0.1.128
func (o UpdateExternalPeerLinkRequestBodyPeerLink) String() string
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
func (o UpdateGdgwRouteTableRequest) String() string
type UpdateGdgwRouteTableResponse ¶ added in v0.1.125
type UpdateGdgwRouteTableResponse struct { // 请求id RequestId *string `json:"request_id,omitempty"` // 全域接入网关路由表 GdgwRoutetable *[]ShowGdgwRoutetable `json:"gdgw_routetable,omitempty"` HttpStatusCode int `json:"-"` }
UpdateGdgwRouteTableResponse Response Object
func (UpdateGdgwRouteTableResponse) String ¶ added in v0.1.125
func (o UpdateGdgwRouteTableResponse) String() string
type UpdateGdgwRoutetableRequestBody ¶ added in v0.1.125
type UpdateGdgwRoutetableRequestBody struct { // 是否dry run模式执行 DryRun *bool `json:"dry_run,omitempty"` GdgwRoutetable *GdgwRouteTableRequest `json:"gdgw_routetable,omitempty"` }
UpdateGdgwRoutetableRequestBody 修改全域接入网关路由表的request
func (UpdateGdgwRoutetableRequestBody) String ¶ added in v0.1.125
func (o UpdateGdgwRoutetableRequestBody) String() string
type UpdateGlobalDcGateway ¶ added in v0.1.128
type UpdateGlobalDcGateway struct { // global-dc-gateway名字。 Name *string `json:"name,omitempty"` // 描述信息。 Description *string `json:"description,omitempty"` // global-dc-gateway的地址族 AddressFamily *string `json:"address_family,omitempty"` }
UpdateGlobalDcGateway 更新global-dc-gateway的属性详情。
func (UpdateGlobalDcGateway) String ¶ added in v0.1.128
func (o UpdateGlobalDcGateway) String() string
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
func (o UpdateGlobalDcGatewayRequest) String() string
type UpdateGlobalDcGatewayRequestBody ¶ added in v0.1.125
type UpdateGlobalDcGatewayRequestBody struct {
GlobalDcGateway *UpdateGlobalDcGateway `json:"global_dc_gateway"`
}
UpdateGlobalDcGatewayRequestBody 更新global-dc-gateway的请求体。
func (UpdateGlobalDcGatewayRequestBody) String ¶ added in v0.1.125
func (o UpdateGlobalDcGatewayRequestBody) String() string
type UpdateGlobalDcGatewayResponse ¶ added in v0.1.125
type UpdateGlobalDcGatewayResponse struct { GlobalDcGateway *GlobalDcGatewayEntry `json:"global_dc_gateway,omitempty"` // 请求ID。 RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
UpdateGlobalDcGatewayResponse Response Object
func (UpdateGlobalDcGatewayResponse) String ¶ added in v0.1.125
func (o UpdateGlobalDcGatewayResponse) String() string
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 ¶
func (o UpdateHostedDirectConnectRequest) String() string
type UpdateHostedDirectConnectRequestBody ¶
type UpdateHostedDirectConnectRequestBody struct {
HostedConnect *UpdateHostedDirectConnect `json:"hosted_connect,omitempty"`
}
UpdateHostedDirectConnectRequestBody 更新托管专线对象参数
func (UpdateHostedDirectConnectRequestBody) String ¶
func (o UpdateHostedDirectConnectRequestBody) String() 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 ¶
func (o UpdateHostedDirectConnectResponse) String() 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 *UpdateExternalPeerLinkRequestBody `json:"body,omitempty"` }
UpdatePeerLinkRequest Request Object
func (UpdatePeerLinkRequest) String ¶ added in v0.1.125
func (o UpdatePeerLinkRequest) String() string
type UpdatePeerLinkResponse ¶ added in v0.1.125
type UpdatePeerLinkResponse struct { // 请求ID RequestId *string `json:"request_id,omitempty"` PeerLink *ExternalUpdatePeerLink `json:"peer_link,omitempty"` HttpStatusCode int `json:"-"` }
UpdatePeerLinkResponse Response Object
func (UpdatePeerLinkResponse) String ¶ added in v0.1.125
func (o UpdatePeerLinkResponse) String() string
type UpdateRouteAction ¶ added in v0.1.128
type UpdateRouteAction struct { // 路由子网 Destination string `json:"destination"` // 下一跳id Nexthop string `json:"nexthop"` // 路由描述 Description *string `json:"description,omitempty"` }
func (UpdateRouteAction) String ¶ added in v0.1.128
func (o UpdateRouteAction) String() 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[,当虚拟网关接入VPC时该列表才允许更新。](tag:dt) LocalEpGroup *[]string `json:"local_ep_group,omitempty"` // 虚拟网关到访问云上服务IPv6子网列表,通常是vpc的cidrs。[(预留字段,暂不支持)](tag:dt) 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 ¶
func (o UpdateVirtualGatewayRequest) String() string
type UpdateVirtualGatewayRequestBody ¶
type UpdateVirtualGatewayRequestBody struct {
VirtualGateway *UpdateVirtualGateway `json:"virtual_gateway,omitempty"`
}
func (UpdateVirtualGatewayRequestBody) String ¶
func (o UpdateVirtualGatewayRequestBody) String() 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 ¶
func (o UpdateVirtualGatewayResponse) String() 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"` // 用于公网专线,用户访问公网服务地址列表。[(预留字段,暂不支持)](tag:dt) ServiceEpGroup *[]string `json:"service_ep_group,omitempty"` // 是否使能bfd功能:true或false。[(预留字段,暂不支持)](tag:dt) EnableBfd *bool `json:"enable_bfd,omitempty"` // 是否使能nqa功能:true或false。[(预留字段,暂不支持)](tag:dt) 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 ¶
func (o UpdateVirtualInterfaceRequest) String() string
type UpdateVirtualInterfaceRequestBody ¶
type UpdateVirtualInterfaceRequestBody struct {
VirtualInterface *UpdateVirtualInterface `json:"virtual_interface"`
}
UpdateVirtualInterfaceRequestBody Specifies parameters required for updating a virtual-interface.
func (UpdateVirtualInterfaceRequestBody) String ¶
func (o UpdateVirtualInterfaceRequestBody) String() 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 ¶
func (o UpdateVirtualInterfaceResponse) String() 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 ¶
func (c UpdateVirtualInterfaceStatus) Value() string
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的扩展参数才会显示扩展参数信息,扩展参数信息[(预留字段,暂不支持)](tag:dt)
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 虚拟接口对等体对象
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"` // 虚拟网关接入的ER的ID EnterpriseRouterId *string `json:"enterprise_router_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"` // 虚拟接口创建时间。采用UTC时间格式,格式为:yyyy-MM-ddTHH:mm:ss.SSSZ CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 虚拟接口修改时间。采用UTC时间格式,格式为:yyyy-MM-ddTHH:mm:ss.SSSZ 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"` // 是否使能bfd功能: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"` // 归属的CloudPond站点的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,用于CloudPond场景。[(功能暂不支持)](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的相关信息[(预留字段,暂不支持)](tag:dt) 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 ¶
func (c VirtualInterfaceServiceType) Value() string
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 ¶
- model_add_gdgw_route_action.go
- model_address_body.go
- model_address_family.go
- model_band_width_info.go
- model_bandwidth_info_external.go
- model_base_add_route_action.go
- model_base_delete_route_action.go
- model_batch_create_resource_tags_request.go
- model_batch_create_resource_tags_response.go
- model_batch_operate_resource_tags_request_body.go
- model_bind_global_eips_request.go
- model_bind_global_eips_response.go
- model_binding_geip_body.go
- model_common_routetable.go
- model_connect_gateway_response.go
- model_create_binding_geip_request_body.go
- model_create_connect_gateway.go
- model_create_connect_gateway_request.go
- model_create_connect_gateway_request_body.go
- model_create_connect_gateway_response.go
- model_create_external_peer_link_request_body.go
- model_create_external_peer_link_request_body_peer_link.go
- model_create_external_peer_link_request_body_peer_link_peer_site.go
- model_create_global_dc_gateway.go
- model_create_global_dc_gateway_entry.go
- model_create_global_dc_gateway_request.go
- model_create_global_dc_gateway_request_body.go
- model_create_global_dc_gateway_response.go
- model_create_hosted_direct_connect.go
- model_create_hosted_direct_connect_request.go
- model_create_hosted_direct_connect_request_body.go
- model_create_hosted_direct_connect_response.go
- model_create_peer_link_request.go
- model_create_peer_link_response.go
- model_create_resource_tag_request.go
- model_create_resource_tag_request_body.go
- model_create_resource_tag_response.go
- model_create_switchover_test_.go
- model_create_switchover_test_request_body.go
- model_create_unbinding_geip_request_body.go
- model_create_vif_peer.go
- model_create_vif_peer_request.go
- model_create_vif_peer_request_body.go
- model_create_vif_peer_response.go
- model_create_virtual_gateway.go
- model_create_virtual_gateway_request.go
- model_create_virtual_gateway_request_body.go
- model_create_virtual_gateway_response.go
- model_create_virtual_interface.go
- model_create_virtual_interface_request.go
- model_create_virtual_interface_request_body.go
- model_create_virtual_interface_response.go
- model_delete_connect_gateway_request.go
- model_delete_connect_gateway_response.go
- model_delete_direct_connect_request.go
- model_delete_direct_connect_response.go
- model_delete_gdgw_route_action.go
- model_delete_global_dc_gateway_request.go
- model_delete_global_dc_gateway_response.go
- model_delete_hosted_direct_connect_request.go
- model_delete_hosted_direct_connect_response.go
- model_delete_peer_link_request.go
- model_delete_peer_link_response.go
- model_delete_resource_tag_request.go
- model_delete_resource_tag_response.go
- model_delete_vif_peer_request.go
- model_delete_vif_peer_response.go
- model_delete_virtual_gateway_request.go
- model_delete_virtual_gateway_response.go
- model_delete_virtual_interface_request.go
- model_delete_virtual_interface_response.go
- model_direct_connect.go
- model_direct_connect_location_entry.go
- model_external_create_peer_link.go
- model_external_update_peer_link.go
- model_gdgw_route_table_request.go
- model_global_dc_gateway_entry.go
- model_global_dc_gateway_status.go
- model_hosted_direct_connect.go
- model_info.go
- model_list_binding_geip.go
- model_list_connect_gateways_request.go
- model_list_connect_gateways_response.go
- model_list_direct_connect_locations_request.go
- model_list_direct_connect_locations_response.go
- model_list_direct_connects_request.go
- model_list_direct_connects_response.go
- model_list_gdgw_route_tables_request.go
- model_list_gdgw_route_tables_response.go
- model_list_global_dc_gateways_request.go
- model_list_global_dc_gateways_response.go
- model_list_global_eips_request.go
- model_list_global_eips_response.go
- model_list_hosted_direct_connects_request.go
- model_list_hosted_direct_connects_response.go
- model_list_peer_links_request.go
- model_list_peer_links_response.go
- model_list_project_tags_request.go
- model_list_project_tags_response.go
- model_list_switchover_test_records_request.go
- model_list_switchover_test_records_response.go
- model_list_tag_resource_instances_request.go
- model_list_tag_resource_instances_request_body.go
- model_list_tag_resource_instances_response.go
- model_list_virtual_gateways_request.go
- model_list_virtual_gateways_response.go
- model_list_virtual_interfaces_request.go
- model_list_virtual_interfaces_response.go
- model_locales_body.go
- model_match.go
- model_page_info.go
- model_peer_link_entry.go
- model_peer_link_status.go
- model_peer_site.go
- model_peer_site_external.go
- model_provider_response_body.go
- model_provider_value_body.go
- model_resource.go
- model_route_description.go
- model_route_destination.go
- model_route_next_hop.go
- model_route_type_of_gdgw.go
- model_show_connect_gateway_request.go
- model_show_connect_gateway_response.go
- model_show_direct_connect_location_request.go
- model_show_direct_connect_location_response.go
- model_show_direct_connect_request.go
- model_show_direct_connect_response.go
- model_show_gdgw_routetable.go
- model_show_global_dc_gateway_request.go
- model_show_global_dc_gateway_response.go
- model_show_hosted_direct_connect_request.go
- model_show_hosted_direct_connect_response.go
- model_show_peer_link_request.go
- model_show_peer_link_response.go
- model_show_quotas_request.go
- model_show_quotas_response.go
- model_show_quotas_response_body_quotas.go
- model_show_resource_tag_request.go
- model_show_resource_tag_response.go
- model_show_virtual_gateway_request.go
- model_show_virtual_gateway_response.go
- model_show_virtual_interface_request.go
- model_show_virtual_interface_response.go
- model_switchover_test_record.go
- model_switchover_test_request.go
- model_switchover_test_response.go
- model_tag.go
- model_tags.go
- model_tenant_id_def.go
- model_unbind_global_eips_request.go
- model_unbind_global_eips_response.go
- model_unbinding_geip_body.go
- model_update_connect_gateway.go
- model_update_connect_gateway_request.go
- model_update_connect_gateway_request_body.go
- model_update_connect_gateway_response.go
- model_update_direct_connect.go
- model_update_direct_connect_request.go
- model_update_direct_connect_request_body.go
- model_update_direct_connect_response.go
- model_update_external_peer_link_request_body.go
- model_update_external_peer_link_request_body_peer_link.go
- model_update_gdgw_route_table_request.go
- model_update_gdgw_route_table_response.go
- model_update_gdgw_routetable_request_body.go
- model_update_global_dc_gateway.go
- model_update_global_dc_gateway_request.go
- model_update_global_dc_gateway_request_body.go
- model_update_global_dc_gateway_response.go
- model_update_hosted_direct_connect.go
- model_update_hosted_direct_connect_request.go
- model_update_hosted_direct_connect_request_body.go
- model_update_hosted_direct_connect_response.go
- model_update_peer_link_request.go
- model_update_peer_link_response.go
- model_update_route_action.go
- model_update_vif_peer.go
- model_update_vif_peer_request.go
- model_update_vif_peer_request_body.go
- model_update_vif_peer_response.go
- model_update_virtual_gateway.go
- model_update_virtual_gateway_request.go
- model_update_virtual_gateway_request_body.go
- model_update_virtual_gateway_response.go
- model_update_virtual_interface.go
- model_update_virtual_interface_request.go
- model_update_virtual_interface_request_body.go
- model_update_virtual_interface_response.go
- model_vif_extend_attribute.go
- model_vif_peer.go
- model_virtual_gateway.go
- model_virtual_interface.go