Documentation ¶
Index ¶
- type BandwidthInfoExternal
- 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 ConnectGatewayResponse
- type ConnectGatewayResponseAddressFamily
- type ConnectGatewayResponseAddressFamilyEnum
- type CreateBindingGeipRequestBody
- type CreateConnectGateway
- type CreateConnectGatewayAddressFamily
- type CreateConnectGatewayAddressFamilyEnum
- type CreateConnectGatewayRequest
- type CreateConnectGatewayRequestBody
- type CreateConnectGatewayResponse
- type CreateGlobalDcGatewayRequest
- type CreateGlobalDcGatewayRequestBody
- type CreateGlobalDcGatewayRequestBodyGlobalDcGateway
- type CreateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamily
- type CreateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamilyEnum
- type CreateGlobalDcGatewayRequestBodyGlobalDcGatewayTags
- type CreateGlobalDcGatewayResponse
- type CreateHostedDirectConnect
- type CreateHostedDirectConnectRequest
- type CreateHostedDirectConnectRequestBody
- type CreateHostedDirectConnectResponse
- type CreatePeerLinkRequest
- type CreatePeerLinkRequestBody
- type CreatePeerLinkRequestBodyPeerLink
- type CreatePeerLinkRequestBodyPeerLinkPeerSite
- type CreatePeerLinkRequestBodyPeerLinkPeerSiteType
- type CreatePeerLinkRequestBodyPeerLinkPeerSiteTypeEnum
- 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 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 DirectConnectPortType
- type DirectConnectPortTypeEnum
- type DirectConnectProviderStatus
- type DirectConnectProviderStatusEnum
- type DirectConnectSignedAgreementStatus
- type DirectConnectSignedAgreementStatusEnum
- type DirectConnectStatus
- type DirectConnectStatusEnum
- type DirectConnectType
- type DirectConnectTypeEnum
- type DirectConnectVgwType
- type DirectConnectVgwTypeEnum
- type ExternalCreateGlobalDcGateway
- type ExternalCreatePeerLink
- type ExternalListGlobalDcGateways
- type ExternalListPeerLinks
- type ExternalShowGlobalDcGateway
- type ExternalShowPeerLink
- type ExternalUpdateGlobalDcGateway
- type ExternalUpdatePeerLink
- type HostedDirectConnect
- type HostedDirectConnectPortType
- type HostedDirectConnectPortTypeEnum
- type HostedDirectConnectProviderStatus
- type HostedDirectConnectProviderStatusEnum
- type HostedDirectConnectStatus
- type HostedDirectConnectStatusEnum
- type HostedDirectConnectType
- type HostedDirectConnectTypeEnum
- type Info
- type ListBindingGeip
- type ListConnectGatewaysRequest
- type ListConnectGatewaysRequestSortDir
- type ListConnectGatewaysRequestSortDirEnum
- type ListConnectGatewaysResponse
- type ListDirectConnectsRequest
- type ListDirectConnectsRequestSortDir
- type ListDirectConnectsRequestSortDirEnum
- type ListDirectConnectsResponse
- type ListGdgwRouteTablesRequest
- type ListGdgwRouteTablesRequestAddressFamily
- type ListGdgwRouteTablesRequestAddressFamilyEnum
- type ListGdgwRouteTablesResponse
- type ListGlobalDcGatewayRequest
- type ListGlobalDcGatewayRequestSortDir
- type ListGlobalDcGatewayRequestSortDirEnum
- type ListGlobalDcGatewayResponse
- 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 ListRmsGlobalDcGatewayRequest
- type ListRmsGlobalDcGatewayRequestSortDir
- type ListRmsGlobalDcGatewayRequestSortDirEnum
- type ListRmsGlobalDcGatewayResponse
- 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 Locale
- type LocalesBody
- type Match
- type PageInfo
- type PeerSiteExternal
- type Resource
- type RmsListGlobalDcGateways
- type RmsShowGlobalDcGateway
- type ShowConnectGatewayRequest
- type ShowConnectGatewayResponse
- type ShowDirectConnectRequest
- type ShowDirectConnectResponse
- type ShowGdgwRoutetable
- 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 ShowRmsGlobalDcGatewayRequest
- type ShowRmsGlobalDcGatewayResponse
- 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 UpdateGdgwRouteTableRequest
- type UpdateGdgwRouteTableResponse
- type UpdateGdgwRoutetableRequestBody
- type UpdateGdgwRoutetableRequestBodyGdgwRoutetable
- type UpdateGdgwRoutetableRequestBodyGdgwRoutetableAddRoutes
- type UpdateGdgwRoutetableRequestBodyGdgwRoutetableAddRoutesType
- type UpdateGdgwRoutetableRequestBodyGdgwRoutetableAddRoutesTypeEnum
- type UpdateGdgwRoutetableRequestBodyGdgwRoutetableDelRoutes
- type UpdateGdgwRoutetableRequestBodyGdgwRoutetableDelRoutesType
- type UpdateGdgwRoutetableRequestBodyGdgwRoutetableDelRoutesTypeEnum
- type UpdateGdgwRoutetableRequestBodyGdgwRoutetableUpdateRoutes
- type UpdateGlobalDcGatewayRequest
- type UpdateGlobalDcGatewayRequestBody
- type UpdateGlobalDcGatewayRequestBodyGlobalDcGateway
- type UpdateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamily
- type UpdateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamilyEnum
- type UpdateGlobalDcGatewayResponse
- type UpdateHostedDirectConnect
- type UpdateHostedDirectConnectRequest
- type UpdateHostedDirectConnectRequestBody
- type UpdateHostedDirectConnectResponse
- type UpdatePeerLinkRequest
- type UpdatePeerLinkRequestBody
- type UpdatePeerLinkRequestBodyPeerLink
- type UpdatePeerLinkResponse
- 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 BandwidthInfoExternal ¶ added in v0.1.125
type BandwidthInfoExternal struct { // 带宽值 BandwidthSize *int64 `json:"bandwidth_size,omitempty"` // 带宽包ID GcbId *string `json:"gcb_id,omitempty"` // 冻结状态 FreezeStatus *string `json:"freeze_status,omitempty"` }
func (BandwidthInfoExternal) String ¶ added in v0.1.125
func (o BandwidthInfoExternal) String() string
type BatchCreateResourceTagsRequest ¶
type BatchCreateResourceTagsRequest struct { // 资源实例ID ResourceId string `json:"resource_id"` // - 专线服务资源类型,包括dc-directconnect/dc-vgw/dc-vif - dc-directconnect: 专线物理连接 - dc-vgw: 虚拟网关 - dc-vif: 虚拟接口 ResourceType BatchCreateResourceTagsRequestResourceType `json:"resource_type"` Body *BatchOperateResourceTagsRequestBody `json:"body,omitempty"` }
BatchCreateResourceTagsRequest Request Object
func (BatchCreateResourceTagsRequest) String ¶
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"` XRequestId *string `json:"X-Request-Id,omitempty"` HttpStatusCode int `json:"-"` }
BindGlobalEipsResponse Response Object
func (BindGlobalEipsResponse) String ¶ added in v0.1.125
func (o BindGlobalEipsResponse) String() string
type BindingGeipBody ¶ added in v0.1.125
type BindingGeipBody struct { // 全局弹性公网IP的ID GlobalEipId string `json:"global_eip_id"` // geip子网类型 Type *BindingGeipBodyType `json:"type,omitempty"` }
func (BindingGeipBody) String ¶ added in v0.1.125
func (o BindingGeipBody) String() string
type BindingGeipBodyType ¶ added in v0.1.125
type BindingGeipBodyType struct {
// contains filtered or unexported fields
}
func (BindingGeipBodyType) MarshalJSON ¶ added in v0.1.125
func (c BindingGeipBodyType) MarshalJSON() ([]byte, error)
func (*BindingGeipBodyType) UnmarshalJSON ¶ added in v0.1.125
func (c *BindingGeipBodyType) UnmarshalJSON(b []byte) error
func (BindingGeipBodyType) Value ¶ added in v0.1.125
func (c BindingGeipBodyType) Value() string
type BindingGeipBodyTypeEnum ¶ added in v0.1.125
type BindingGeipBodyTypeEnum struct { IP_ADDRESS BindingGeipBodyType IP_SEGMENT BindingGeipBodyType }
func GetBindingGeipBodyTypeEnum ¶ added in v0.1.125
func GetBindingGeipBodyTypeEnum() BindingGeipBodyTypeEnum
type ConnectGatewayResponse ¶ added in v0.1.125
type ConnectGatewayResponse struct { // 唯一ID Id *string `json:"id,omitempty"` // 租户项目ID TenantId *string `json:"tenant_id,omitempty"` // 网关名字 Name *string `json:"name,omitempty"` // 描述信息 Description *string `json:"description,omitempty"` // 地址族信息 - ipv4: 仅支持ipv4模式 - dual: 支持ipv4 和 ipv6 模式 AddressFamily *ConnectGatewayResponseAddressFamily `json:"address_family,omitempty"` // 网关状态 - DOWN 未使用或关联设备状态为DOWN - ACTIVE 正常 - ERROR 异常 Status *string `json:"status,omitempty"` // 网关站点值 AccessSite *string `json:"access_site,omitempty"` // BGP类型AS号 BgpAsn *int64 `json:"bgp_asn,omitempty"` // 当前绑定的global eip数量 CurrentGeipCount *int32 `json:"current_geip_count,omitempty"` // 创建时间 CreatedTime *sdktime.SdkTime `json:"created_time,omitempty"` // 更新时间 UpdatedTime *sdktime.SdkTime `json:"updated_time,omitempty"` // 带宽包id GcbId *string `json:"gcb_id,omitempty"` // 网关位置 GatewaySite *string `json:"gateway_site,omitempty"` }
ConnectGatewayResponse 互联网关的相信信息对象
func (ConnectGatewayResponse) String ¶ added in v0.1.125
func (o ConnectGatewayResponse) String() string
type ConnectGatewayResponseAddressFamily ¶ added in v0.1.125
type ConnectGatewayResponseAddressFamily struct {
// contains filtered or unexported fields
}
func (ConnectGatewayResponseAddressFamily) MarshalJSON ¶ added in v0.1.125
func (c ConnectGatewayResponseAddressFamily) MarshalJSON() ([]byte, error)
func (*ConnectGatewayResponseAddressFamily) UnmarshalJSON ¶ added in v0.1.125
func (c *ConnectGatewayResponseAddressFamily) UnmarshalJSON(b []byte) error
func (ConnectGatewayResponseAddressFamily) Value ¶ added in v0.1.125
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 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 { // 空运行 - true 是 - false 否 DryRun *bool `json:"dry_run,omitempty"` GlobalDcGateway *CreateGlobalDcGatewayRequestBodyGlobalDcGateway `json:"global_dc_gateway,omitempty"` }
CreateGlobalDcGatewayRequestBody 全球接入网关响应体
func (CreateGlobalDcGatewayRequestBody) String ¶ added in v0.1.125
func (o CreateGlobalDcGatewayRequestBody) String() string
type CreateGlobalDcGatewayRequestBodyGlobalDcGateway ¶ added in v0.1.125
type CreateGlobalDcGatewayRequestBodyGlobalDcGateway struct { // 租户ID TenantId *string `json:"tenant_id,omitempty"` // 全球接入网关名称 Name string `json:"name"` // 描述信息 Description *string `json:"description,omitempty"` // BGP模式的AS号 BgpAsn *int64 `json:"bgp_asn,omitempty"` // 企业项目ID EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 地址簇类型 AddressFamily *CreateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamily `json:"address_family,omitempty"` // 标签 Tags *[]CreateGlobalDcGatewayRequestBodyGlobalDcGatewayTags `json:"tags,omitempty"` }
func (CreateGlobalDcGatewayRequestBodyGlobalDcGateway) String ¶ added in v0.1.125
func (o CreateGlobalDcGatewayRequestBodyGlobalDcGateway) String() string
type CreateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamily ¶ added in v0.1.125
type CreateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamily struct {
// contains filtered or unexported fields
}
func (CreateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamily) MarshalJSON ¶ added in v0.1.125
func (c CreateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamily) MarshalJSON() ([]byte, error)
func (*CreateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamily) UnmarshalJSON ¶ added in v0.1.125
func (c *CreateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamily) UnmarshalJSON(b []byte) error
func (CreateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamily) Value ¶ added in v0.1.125
func (c CreateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamily) Value() string
type CreateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamilyEnum ¶ added in v0.1.125
type CreateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamilyEnum struct { IPV4 CreateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamily DUAL CreateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamily }
func GetCreateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamilyEnum ¶ added in v0.1.125
func GetCreateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamilyEnum() CreateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamilyEnum
type CreateGlobalDcGatewayRequestBodyGlobalDcGatewayTags ¶ added in v0.1.125
type CreateGlobalDcGatewayRequestBodyGlobalDcGatewayTags struct { // 键 Key string `json:"key"` // 值 Value *string `json:"value,omitempty"` }
func (CreateGlobalDcGatewayRequestBodyGlobalDcGatewayTags) String ¶ added in v0.1.125
func (o CreateGlobalDcGatewayRequestBodyGlobalDcGatewayTags) String() string
type CreateGlobalDcGatewayResponse ¶ added in v0.1.125
type CreateGlobalDcGatewayResponse struct { // 请求ID RequestId *string `json:"request_id,omitempty"` GlobalDcGateway *ExternalCreateGlobalDcGateway `json:"global_dc_gateway,omitempty"` XRequestId *string `json:"X-Request-Id,omitempty"` HttpStatusCode int `json:"-"` }
CreateGlobalDcGatewayResponse Response Object
func (CreateGlobalDcGatewayResponse) String ¶ added in v0.1.125
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 *CreatePeerLinkRequestBody `json:"body,omitempty"` }
CreatePeerLinkRequest Request Object
func (CreatePeerLinkRequest) String ¶ added in v0.1.125
func (o CreatePeerLinkRequest) String() string
type CreatePeerLinkRequestBody ¶ added in v0.1.125
type CreatePeerLinkRequestBody struct { // 空运行 - true 是 - false 否 DryRun *bool `json:"dry_run,omitempty"` PeerLink *CreatePeerLinkRequestBodyPeerLink `json:"peer_link,omitempty"` }
func (CreatePeerLinkRequestBody) String ¶ added in v0.1.125
func (o CreatePeerLinkRequestBody) String() string
type CreatePeerLinkRequestBodyPeerLink ¶ added in v0.1.125
type CreatePeerLinkRequestBodyPeerLink struct { Name string `json:"name"` Description *string `json:"description,omitempty"` PeerSite *CreatePeerLinkRequestBodyPeerLinkPeerSite `json:"peer_site"` }
func (CreatePeerLinkRequestBodyPeerLink) String ¶ added in v0.1.125
func (o CreatePeerLinkRequestBodyPeerLink) String() string
type CreatePeerLinkRequestBodyPeerLinkPeerSite ¶ added in v0.1.125
type CreatePeerLinkRequestBodyPeerLinkPeerSite struct { Type *CreatePeerLinkRequestBodyPeerLinkPeerSiteType `json:"type,omitempty"` GatewayId string `json:"gateway_id"` ProjectId string `json:"project_id"` RegionId string `json:"region_id"` }
func (CreatePeerLinkRequestBodyPeerLinkPeerSite) String ¶ added in v0.1.125
func (o CreatePeerLinkRequestBodyPeerLinkPeerSite) String() string
type CreatePeerLinkRequestBodyPeerLinkPeerSiteType ¶ added in v0.1.125
type CreatePeerLinkRequestBodyPeerLinkPeerSiteType struct {
// contains filtered or unexported fields
}
func (CreatePeerLinkRequestBodyPeerLinkPeerSiteType) MarshalJSON ¶ added in v0.1.125
func (c CreatePeerLinkRequestBodyPeerLinkPeerSiteType) MarshalJSON() ([]byte, error)
func (*CreatePeerLinkRequestBodyPeerLinkPeerSiteType) UnmarshalJSON ¶ added in v0.1.125
func (c *CreatePeerLinkRequestBodyPeerLinkPeerSiteType) UnmarshalJSON(b []byte) error
func (CreatePeerLinkRequestBodyPeerLinkPeerSiteType) Value ¶ added in v0.1.125
func (c CreatePeerLinkRequestBodyPeerLinkPeerSiteType) Value() string
type CreatePeerLinkRequestBodyPeerLinkPeerSiteTypeEnum ¶ added in v0.1.125
type CreatePeerLinkRequestBodyPeerLinkPeerSiteTypeEnum struct {
ER CreatePeerLinkRequestBodyPeerLinkPeerSiteType
}
func GetCreatePeerLinkRequestBodyPeerLinkPeerSiteTypeEnum ¶ added in v0.1.125
func GetCreatePeerLinkRequestBodyPeerLinkPeerSiteTypeEnum() CreatePeerLinkRequestBodyPeerLinkPeerSiteTypeEnum
type CreatePeerLinkResponse ¶ added in v0.1.125
type CreatePeerLinkResponse struct { RequestId *string `json:"request_id,omitempty"` PeerLink *ExternalCreatePeerLink `json:"peer_link,omitempty"` XRequestId *string `json:"X-Request-Id,omitempty"` HttpStatusCode int `json:"-"` }
CreatePeerLinkResponse Response Object
func (CreatePeerLinkResponse) String ¶ added in v0.1.125
func (o CreatePeerLinkResponse) String() string
type CreateResourceTagRequest ¶
type CreateResourceTagRequest struct { // 资源实例ID ResourceId string `json:"resource_id"` // - 专线服务资源类型,包括dc-directconnect/dc-vgw/dc-vif - dc-directconnect: 专线物理连接 - dc-vgw: 虚拟网关 - dc-vif: 虚拟接口 ResourceType CreateResourceTagRequestResourceType `json:"resource_type"` Body *CreateResourceTagRequestBody `json:"body,omitempty"` }
CreateResourceTagRequest Request Object
func (CreateResourceTagRequest) String ¶
func (o CreateResourceTagRequest) String() string
type CreateResourceTagRequestBody ¶
type CreateResourceTagRequestBody struct {
Tag *Tag `json:"tag"`
}
CreateResourceTagRequestBody 添加资源标签的请求体。
func (CreateResourceTagRequestBody) String ¶
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"` // VIF对等体名字描述信息 Description *string `json:"description,omitempty"` // 接口的地址簇类型,ipv4,ipv6 AddressFamily string `json:"address_family"` // VIF对等体云侧接口地址 LocalGatewayIp string `json:"local_gateway_ip"` // VIF对等体客户侧接口地址 RemoteGatewayIp string `json:"remote_gateway_ip"` // 路由模式:static/bgp RouteMode *CreateVifPeerRouteMode `json:"route_mode,omitempty"` // BGP邻居的AS号 BgpAsn *int32 `json:"bgp_asn,omitempty"` // BGP邻居的MD5密码 BgpMd5 *string `json:"bgp_md5,omitempty"` // 远端子网列表,记录租户侧的cidrs RemoteEpGroup *[]string `json:"remote_ep_group,omitempty"` // vif对等体对应的虚拟接口ID VifId string `json:"vif_id"` }
CreateVifPeer 创建虚拟接口对等体参数
func (CreateVifPeer) String ¶ added in v0.1.61
func (o CreateVifPeer) String() string
type CreateVifPeerRequest ¶ added in v0.1.61
type CreateVifPeerRequest struct {
Body *CreateVifPeerRequestBody `json:"body,omitempty"`
}
CreateVifPeerRequest Request Object
func (CreateVifPeerRequest) String ¶ added in v0.1.61
func (o CreateVifPeerRequest) String() string
type CreateVifPeerRequestBody ¶ added in v0.1.61
type CreateVifPeerRequestBody struct {
VifPeer *CreateVifPeer `json:"vif_peer,omitempty"`
}
func (CreateVifPeerRequestBody) String ¶ added in v0.1.61
func (o CreateVifPeerRequestBody) String() string
type CreateVifPeerResponse ¶ added in v0.1.61
type CreateVifPeerResponse struct { VifPeer *VifPeer `json:"vif_peer,omitempty"` HttpStatusCode int `json:"-"` }
CreateVifPeerResponse Response Object
func (CreateVifPeerResponse) String ¶ added in v0.1.61
func (o CreateVifPeerResponse) String() string
type CreateVifPeerRouteMode ¶ added in v0.1.61
type CreateVifPeerRouteMode struct {
// contains filtered or unexported fields
}
func (CreateVifPeerRouteMode) MarshalJSON ¶ added in v0.1.61
func (c CreateVifPeerRouteMode) MarshalJSON() ([]byte, error)
func (*CreateVifPeerRouteMode) UnmarshalJSON ¶ added in v0.1.61
func (c *CreateVifPeerRouteMode) UnmarshalJSON(b []byte) error
func (CreateVifPeerRouteMode) Value ¶ added in v0.1.61
func (c CreateVifPeerRouteMode) Value() string
type CreateVifPeerRouteModeEnum ¶ added in v0.1.61
type CreateVifPeerRouteModeEnum struct { BGP CreateVifPeerRouteMode STATIC CreateVifPeerRouteMode }
func GetCreateVifPeerRouteModeEnum ¶ added in v0.1.61
func GetCreateVifPeerRouteModeEnum() CreateVifPeerRouteModeEnum
type CreateVirtualGateway ¶
type CreateVirtualGateway struct { // 虚拟网关接入的VPC的ID VpcId string `json:"vpc_id"` // 虚拟网关名字 Name *string `json:"name,omitempty"` // 虚拟网关的描述信息 Description *string `json:"description,omitempty"` // 虚拟网关到访问云上服务IPv4子网列表,通常是vpc的cidrs LocalEpGroup []string `json:"local_ep_group"` // 预留字段用于虚拟网关到访问云上服务IPv6子网列表,通常是vpc的cidrs LocalEpGroupIpv6 *[]string `json:"local_ep_group_ipv6,omitempty"` // 虚拟网关本地的BGP自冶域号(asn) BgpAsn *int32 `json:"bgp_asn,omitempty"` // 实例所属企业项目ID EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 标签信息 Tags *[]Tag `json:"tags,omitempty"` }
CreateVirtualGateway 创建虚拟网关对象参数
func (CreateVirtualGateway) String ¶
func (o CreateVirtualGateway) String() string
type CreateVirtualGatewayRequest ¶
type CreateVirtualGatewayRequest struct {
Body *CreateVirtualGatewayRequestBody `json:"body,omitempty"`
}
CreateVirtualGatewayRequest Request Object
func (CreateVirtualGatewayRequest) String ¶
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 DirectConnectId *string `json:"direct_connect_id,omitempty"` // 虚拟接口的类型,private Type CreateVirtualInterfaceType `json:"type"` // 接入网关类型:VGW/GDGW/LGW ServiceType *CreateVirtualInterfaceServiceType `json:"service_type,omitempty"` // 对接客户侧vlan Vlan int32 `json:"vlan"` // 虚拟接口接入带宽 Bandwidth int32 `json:"bandwidth"` // 云侧网关IPv4接口地址,如果address_family是IPv4,是必选参数 LocalGatewayV4Ip *string `json:"local_gateway_v4_ip,omitempty"` // 客户侧网关IPv4接口地址,如果address_family是IPv4,是必选参数 RemoteGatewayV4Ip *string `json:"remote_gateway_v4_ip,omitempty"` // 接口的地址簇类型,ipv4,ipv6 AddressFamily *string `json:"address_family,omitempty"` // 云侧网关IPv6接口地址,如果address_family是IPv6,是必选参数 LocalGatewayV6Ip *string `json:"local_gateway_v6_ip,omitempty"` // 客户侧网关IPv6接口地址,如果address_family是IPv6,是必选参数 RemoteGatewayV6Ip *string `json:"remote_gateway_v6_ip,omitempty"` // 虚拟风关连接的虚拟网关的ID VgwId string `json:"vgw_id"` // 路由模式:static/bgp RouteMode CreateVirtualInterfaceRouteMode `json:"route_mode"` // 客户侧BGP邻居的AS号 BgpAsn *int32 `json:"bgp_asn,omitempty"` // BGP邻居的MD5密码 BgpMd5 *string `json:"bgp_md5,omitempty"` // 远端子网列表,记录租户侧的cidrs RemoteEpGroup []string `json:"remote_ep_group"` // 访问公网服务的子网列表 ServiceEpGroup *[]string `json:"service_ep_group,omitempty"` // 是否使能bfd功能:true或false EnableBfd *bool `json:"enable_bfd,omitempty"` // 是否使能nqa功能:true或false EnableNqa *bool `json:"enable_nqa,omitempty"` // 虚拟接口关联的链路聚合组ID LagId *string `json:"lag_id,omitempty"` // 目标的租户的ID,用于跨租户创建虚拟接口场景 ResourceTenantId *string `json:"resource_tenant_id,omitempty"` // 实例所属企业项目ID EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 标签信息 Tags *[]Tag `json:"tags,omitempty"` }
CreateVirtualInterface 创建虚拟接口对象参数
func (CreateVirtualInterface) String ¶
func (o CreateVirtualInterface) String() string
type CreateVirtualInterfaceRequest ¶
type CreateVirtualInterfaceRequest struct {
Body *CreateVirtualInterfaceRequestBody `json:"body,omitempty"`
}
CreateVirtualInterfaceRequest Request Object
func (CreateVirtualInterfaceRequest) String ¶
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 { VPC CreateVirtualInterfaceServiceType 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 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 { XRequestId *string `json:"X-Request-Id,omitempty"` 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 { XRequestId *string `json:"X-Request-Id,omitempty"` HttpStatusCode int `json:"-"` }
DeletePeerLinkResponse Response Object
func (DeletePeerLinkResponse) String ¶ added in v0.1.125
func (o DeletePeerLinkResponse) String() string
type DeleteResourceTagRequest ¶
type DeleteResourceTagRequest struct { // 标签key。 Key string `json:"key"` // 资源实例ID ResourceId string `json:"resource_id"` // - 专线服务资源类型,包括dc-directconnect/dc-vgw/dc-vif - dc-directconnect: 专线物理连接 - dc-vgw: 虚拟网关 - dc-vif: 虚拟接口 ResourceType DeleteResourceTagRequestResourceType `json:"resource_type"` }
DeleteResourceTagRequest Request Object
func (DeleteResourceTagRequest) String ¶
func (o DeleteResourceTagRequest) String() string
type DeleteResourceTagRequestResourceType ¶
type DeleteResourceTagRequestResourceType struct {
// contains filtered or unexported fields
}
func (DeleteResourceTagRequestResourceType) MarshalJSON ¶
func (c DeleteResourceTagRequestResourceType) MarshalJSON() ([]byte, error)
func (*DeleteResourceTagRequestResourceType) UnmarshalJSON ¶
func (c *DeleteResourceTagRequestResourceType) UnmarshalJSON(b []byte) error
func (DeleteResourceTagRequestResourceType) Value ¶
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:待工勘 Status *DirectConnectStatus `json:"status,omitempty"` // 物理专线的申请时间 ApplyTime *sdktime.SdkTime `json:"apply_time,omitempty"` // 物理专线的创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 物理专线的运营商操作状态,合法值是:ACTIVE, DOWN ProviderStatus *DirectConnectProviderStatus `json:"provider_status,omitempty"` // 连接对端的端口类型 PeerPortType *string `json:"peer_port_type,omitempty"` // 专线连接对接的运营商 PeerProvider *string `json:"peer_provider,omitempty"` // 物理专线对应订单号,用于支持包周期计费,识别用户订单 OrderId *string `json:"order_id,omitempty"` // 物理专线订单对应产品标识,用于订制包周期套餐等计费策略 ProductId *string `json:"product_id,omitempty"` // 物理专线订单对应产品规格,用于订制包周期套餐等计费策略 SpecCode *string `json:"spec_code,omitempty"` // 物理专线对应订单号对应包周期的类型 PeriodType *int32 `json:"period_type,omitempty"` // 物理专线对应的包周期时间 PeriodNum *int32 `json:"period_num,omitempty"` // 专线要求的网关类型 VgwType *DirectConnectVgwType `json:"vgw_type,omitempty"` // 物理专线归属的链路聚合组(lag)的ID LagId *string `json:"lag_id,omitempty"` // 专线协议的签暑状态 SignedAgreementStatus *DirectConnectSignedAgreementStatus `json:"signed_agreement_status,omitempty"` // 专线协议的签暑时间 SignedAgreementTime *sdktime.SdkTime `json:"signed_agreement_time,omitempty"` // 实例所属企业项目ID EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 标签信息 Tags *[]Tag `json:"tags,omitempty"` Locales *LocalesBody `json:"locales,omitempty"` // 用户专线可支持的特性列表[(功能暂不支持)](tag:dt) SupportFeature *[]string `json:"support_feature,omitempty"` // 归属的IES站点的ID[(功能暂不支持)](tag:dt) IesId *string `json:"ies_id,omitempty"` // 如果专线资源的状态是Error的情况下,该参数会显示相关错误信息。[(功能暂不支持)](tag:dt) Reason *string `json:"reason,omitempty"` // 客户邮箱信息[(功能暂不支持)](tag:dt) Email *string `json:"email,omitempty"` // 该参数用于销售线路场景,标识一站式专线产品ID[(功能暂不支持)](tag:dt) OnestopProductId *string `json:"onestop_product_id,omitempty"` // 该参数用于销售线路场景,标识机房内部线路资源产品ID[(功能暂不支持)](tag:dt) BuildingLineProductId *string `json:"building_line_product_id,omitempty"` // 该参数用于销售线路场景,标识变更前的一站式专线产品ID,用于在做线路带宽变更时保存上一次的记录。[(功能暂不支持)](tag:dt) LastOnestopProductId *string `json:"last_onestop_product_id,omitempty"` // 该参数用于销售线路场景,标识变更前机房内部线路资源产品ID,用于在做线路带宽变更时保存上一次的记录。[(功能暂不支持)](tag:dt) LastBuildingLineProductId *string `json:"last_building_line_product_id,omitempty"` // 线路带宽变更后的带宽值[(功能暂不支持)](tag:dt) ModifiedBandwidth *int32 `json:"modified_bandwidth,omitempty"` // 标识续费变更的一种状态[(功能暂不支持)](tag:dt) ChangeMode *int32 `json:"change_mode,omitempty"` // 一站式专线状态[(功能暂不支持)](tag:dt) OnestopdcStatus *string `json:"onestopdc_status,omitempty"` // 归属的可用区对应的边界组(public border group),标识是否homezone局点。[(功能暂不支持)](tag:dt) PublicBorderGroup *string `json:"public_border_group,omitempty"` // 用于标识包周期产品是否自动续订[(功能暂不支持)](tag:dt) AutoRenew *int32 `json:"auto_renew,omitempty"` // 95计费保底带宽率[(功能暂不支持)](tag:dt) Ratio95peak *int32 `json:"ratio_95peak,omitempty"` }
DirectConnect 物理专线对象
func (DirectConnect) String ¶
func (o DirectConnect) String() string
type DirectConnectChargeMode ¶
type DirectConnectChargeMode struct {
// contains filtered or unexported fields
}
func (DirectConnectChargeMode) MarshalJSON ¶
func (c DirectConnectChargeMode) MarshalJSON() ([]byte, error)
func (*DirectConnectChargeMode) UnmarshalJSON ¶
func (c *DirectConnectChargeMode) UnmarshalJSON(b []byte) error
func (DirectConnectChargeMode) Value ¶
func (c DirectConnectChargeMode) Value() string
type DirectConnectChargeModeEnum ¶
type DirectConnectChargeModeEnum struct { PREPAYMENT DirectConnectChargeMode BANDWIDTH DirectConnectChargeMode TRAFFIC DirectConnectChargeMode }
func GetDirectConnectChargeModeEnum ¶
func GetDirectConnectChargeModeEnum() DirectConnectChargeModeEnum
type DirectConnectPortType ¶
type DirectConnectPortType struct {
// contains filtered or unexported fields
}
func (DirectConnectPortType) MarshalJSON ¶
func (c DirectConnectPortType) MarshalJSON() ([]byte, error)
func (*DirectConnectPortType) UnmarshalJSON ¶
func (c *DirectConnectPortType) UnmarshalJSON(b []byte) error
func (DirectConnectPortType) Value ¶
func (c DirectConnectPortType) Value() string
type DirectConnectPortTypeEnum ¶
type DirectConnectPortTypeEnum struct { E_1_G DirectConnectPortType E_10_G DirectConnectPortType E_40_G DirectConnectPortType E_100_G DirectConnectPortType }
func GetDirectConnectPortTypeEnum ¶
func GetDirectConnectPortTypeEnum() DirectConnectPortTypeEnum
type DirectConnectProviderStatus ¶
type DirectConnectProviderStatus struct {
// contains filtered or unexported fields
}
func (DirectConnectProviderStatus) MarshalJSON ¶
func (c DirectConnectProviderStatus) MarshalJSON() ([]byte, error)
func (*DirectConnectProviderStatus) UnmarshalJSON ¶
func (c *DirectConnectProviderStatus) UnmarshalJSON(b []byte) error
func (DirectConnectProviderStatus) Value ¶
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 }
func GetDirectConnectStatusEnum ¶
func GetDirectConnectStatusEnum() DirectConnectStatusEnum
type DirectConnectType ¶
type DirectConnectType struct {
// contains filtered or unexported fields
}
func (DirectConnectType) MarshalJSON ¶
func (c DirectConnectType) MarshalJSON() ([]byte, error)
func (*DirectConnectType) UnmarshalJSON ¶
func (c *DirectConnectType) UnmarshalJSON(b []byte) error
func (DirectConnectType) Value ¶
func (c DirectConnectType) Value() string
type DirectConnectTypeEnum ¶
type DirectConnectTypeEnum struct { STANDARD DirectConnectType HOSTING DirectConnectType HOSTED DirectConnectType ONESTOP_STANDARD DirectConnectType ONESTOP_HOSTED DirectConnectType }
func GetDirectConnectTypeEnum ¶
func GetDirectConnectTypeEnum() DirectConnectTypeEnum
type DirectConnectVgwType ¶
type DirectConnectVgwType struct {
// contains filtered or unexported fields
}
func (DirectConnectVgwType) MarshalJSON ¶
func (c DirectConnectVgwType) MarshalJSON() ([]byte, error)
func (*DirectConnectVgwType) UnmarshalJSON ¶
func (c *DirectConnectVgwType) UnmarshalJSON(b []byte) error
func (DirectConnectVgwType) Value ¶
func (c DirectConnectVgwType) Value() string
type DirectConnectVgwTypeEnum ¶
type DirectConnectVgwTypeEnum struct {
DEFAULT DirectConnectVgwType
}
func GetDirectConnectVgwTypeEnum ¶
func GetDirectConnectVgwTypeEnum() DirectConnectVgwTypeEnum
type ExternalCreateGlobalDcGateway ¶ added in v0.1.125
type ExternalCreateGlobalDcGateway struct { // 唯一ID Id *string `json:"id,omitempty"` // 租户ID TenantId *string `json:"tenant_id,omitempty"` // 全球接入网关ID Name string `json:"name"` // 描述信息 Description *string `json:"description,omitempty"` // 企业项目ID EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 地址簇 AddressFamily *string `json:"address_family,omitempty"` // 全球中心网络ID GlobalCenterNetworkId *string `json:"global_center_network_id,omitempty"` // 站点网络ID SiteNetworkId *string `json:"site_network_id,omitempty"` // 云连接ID CloudConnectionId *string `json:"cloud_connection_id,omitempty"` // BGP的AS号 BgpAsn *int64 `json:"bgp_asn,omitempty"` // 局点ID RegionId *string `json:"region_id,omitempty"` // 位置名称 LocationName *string `json:"location_name,omitempty"` // 当前对等体数量 CurrentPeerLinkCount *int32 `json:"current_peer_link_count,omitempty"` // 有效对等体数量 AvailablePeerLinkCount *int32 `json:"available_peer_link_count,omitempty"` // 是否冻结 - true 是 - false 否 AdminStateUp *bool `json:"admin_state_up,omitempty"` // 状态值 - ACTIVE 正常 - ERROR 异常 Status *string `json:"status,omitempty"` // 创建时间 CreatedTime *sdktime.SdkTime `json:"created_time,omitempty"` // 修改时间 UpdatedTime *sdktime.SdkTime `json:"updated_time,omitempty"` }
ExternalCreateGlobalDcGateway 创建成功返回响应体
func (ExternalCreateGlobalDcGateway) String ¶ added in v0.1.125
func (o ExternalCreateGlobalDcGateway) String() string
type ExternalCreatePeerLink ¶ added in v0.1.125
type ExternalCreatePeerLink struct { // 唯一ID Id *string `json:"id,omitempty"` // 租户ID TenantId *string `json:"tenant_id,omitempty"` // 名称 Name string `json:"name"` // 描述 Description *string `json:"description,omitempty"` // 全球接入网关ID GlobalDcGatewayId *string `json:"global_dc_gateway_id,omitempty"` // 实例ID InstanceId *string `json:"instance_id,omitempty"` BandwidthInfo *BandwidthInfoExternal `json:"bandwidth_info,omitempty"` PeerSite *PeerSiteExternal `json:"peer_site"` // 状态: ACTIVE-正常 Status *string `json:"status,omitempty"` // 原因 Reason *string `json:"reason,omitempty"` // 创建时间 CreatedTime *sdktime.SdkTime `json:"created_time,omitempty"` // 修改时间 UpdatedTime *sdktime.SdkTime `json:"updated_time,omitempty"` }
func (ExternalCreatePeerLink) String ¶ added in v0.1.125
func (o ExternalCreatePeerLink) String() string
type ExternalListGlobalDcGateways ¶ added in v0.1.125
type ExternalListGlobalDcGateways struct { // 唯一ID Id *string `json:"id,omitempty"` // 租户ID TenantId *string `json:"tenant_id,omitempty"` // 名称 Name *string `json:"name,omitempty"` // 描述信息 Description *string `json:"description,omitempty"` // 企业项目ID EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 全球中心网络ID GlobalCenterNetworkId *string `json:"global_center_network_id,omitempty"` // 站点网络ID SiteNetworkId *string `json:"site_network_id,omitempty"` // 云连接ID CloudConnectionId *string `json:"cloud_connection_id,omitempty"` // BGP模式的AS号 BgpAsn *int64 `json:"bgp_asn,omitempty"` // 局点ID RegionId *string `json:"region_id,omitempty"` // 位置名称 LocationName *string `json:"location_name,omitempty"` // 地址簇 AddressFamily *string `json:"address_family,omitempty"` Locales *Locale `json:"locales,omitempty"` // 当前对等体数量 CurrentPeerLinkCount *int32 `json:"current_peer_link_count,omitempty"` // 有效对等体数量 AvailablePeerLinkCount *int32 `json:"available_peer_link_count,omitempty"` // 是否冻结: true-是,false-否 AdminStateUp *bool `json:"admin_state_up,omitempty"` // 状态: ACTIVE-正常,ERROR-异常 Status *string `json:"status,omitempty"` // 失败原因 Reason *string `json:"reason,omitempty"` // 创建时间 CreatedTime *sdktime.SdkTime `json:"created_time,omitempty"` // 修改时间 UpdatedTime *sdktime.SdkTime `json:"updated_time,omitempty"` // 标签 Tags *[]Tag `json:"tags,omitempty"` }
func (ExternalListGlobalDcGateways) String ¶ added in v0.1.125
func (o ExternalListGlobalDcGateways) String() string
type ExternalListPeerLinks ¶ added in v0.1.125
type ExternalListPeerLinks struct { Id *string `json:"id,omitempty"` TenantId *string `json:"tenant_id,omitempty"` Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` GlobalDcGatewayId *string `json:"global_dc_gateway_id,omitempty"` InstanceId *string `json:"instance_id,omitempty"` CreateOwner *string `json:"create_owner,omitempty"` BandwidthInfo *BandwidthInfoExternal `json:"bandwidth_info,omitempty"` PeerSite *PeerSiteExternal `json:"peer_site,omitempty"` Status *string `json:"status,omitempty"` Reason *string `json:"reason,omitempty"` CreatedTime *sdktime.SdkTime `json:"created_time,omitempty"` UpdatedTime *sdktime.SdkTime `json:"updated_time,omitempty"` }
func (ExternalListPeerLinks) String ¶ added in v0.1.125
func (o ExternalListPeerLinks) String() string
type ExternalShowGlobalDcGateway ¶ added in v0.1.125
type ExternalShowGlobalDcGateway struct { // 唯一ID Id *string `json:"id,omitempty"` // 租户ID TenantId *string `json:"tenant_id,omitempty"` // 名称 Name *string `json:"name,omitempty"` // 描述信息 Description *string `json:"description,omitempty"` // 企业项目ID EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 全球中心网路ID GlobalCenterNetworkId *string `json:"global_center_network_id,omitempty"` // 站点网络ID SiteNetworkId *string `json:"site_network_id,omitempty"` // 云连接ID CloudConnectionId *string `json:"cloud_connection_id,omitempty"` // BGP模式AS号 BgpAsn *int64 `json:"bgp_asn,omitempty"` // 局点ID RegionId *string `json:"region_id,omitempty"` // 位置名称 LocationName *string `json:"location_name,omitempty"` Locales *Locale `json:"locales,omitempty"` // 当前对等体数量 CurrentPeerLinkCount *int32 `json:"current_peer_link_count,omitempty"` // 有效对等体数量 AvailablePeerLinkCount *int32 `json:"available_peer_link_count,omitempty"` // 是否冻结:true-是,false-否 AdminStateUp *bool `json:"admin_state_up,omitempty"` // 状态:ACTIVE-正常,ERROR-异常 Status *string `json:"status,omitempty"` // 创建时间 CreatedTime *sdktime.SdkTime `json:"created_time,omitempty"` // 更新时间 UpdatedTime *sdktime.SdkTime `json:"updated_time,omitempty"` // 返回给RMS的资源标签 Tags map[string]string `json:"tags,omitempty"` }
func (ExternalShowGlobalDcGateway) String ¶ added in v0.1.125
func (o ExternalShowGlobalDcGateway) String() string
type ExternalShowPeerLink ¶ added in v0.1.125
type ExternalShowPeerLink struct { // 唯一ID Id *string `json:"id,omitempty"` // 租户ID TenantId *string `json:"tenant_id,omitempty"` // 名称 Name *string `json:"name,omitempty"` // 描述信息 Description *string `json:"description,omitempty"` // 实例ID InstanceId *string `json:"instance_id,omitempty"` // 全球接入网关ID GlobalDcGatewayId *string `json:"global_dc_gateway_id,omitempty"` // 创建者 CreateOwner *string `json:"create_owner,omitempty"` BandwidthInfo *BandwidthInfoExternal `json:"bandwidth_info,omitempty"` PeerSite *PeerSiteExternal `json:"peer_site,omitempty"` // 状态:ACTIVE-正常,ERROR-异常 Status *string `json:"status,omitempty"` // 原因 Reason *string `json:"reason,omitempty"` // 创建时间 CreatedTime *sdktime.SdkTime `json:"created_time,omitempty"` // 修改时间 UpdatedTime *sdktime.SdkTime `json:"updated_time,omitempty"` }
ExternalShowPeerLink 对外对等体对象
func (ExternalShowPeerLink) String ¶ added in v0.1.125
func (o ExternalShowPeerLink) String() string
type ExternalUpdateGlobalDcGateway ¶ added in v0.1.125
type ExternalUpdateGlobalDcGateway struct { // 唯一ID Id *string `json:"id,omitempty"` // 租户ID TenantId *string `json:"tenant_id,omitempty"` // 名称 Name *string `json:"name,omitempty"` // 描述信息 Description *string `json:"description,omitempty"` // 企业项目ID EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 全球中心网络ID GlobalCenterNetworkId *string `json:"global_center_network_id,omitempty"` // 站点网络ID SiteNetworkId *string `json:"site_network_id,omitempty"` // 云连接ID CloudConnectionId *string `json:"cloud_connection_id,omitempty"` // BGP模式的AS号 BgpAsn *int64 `json:"bgp_asn,omitempty"` // 租户ID RegionId *string `json:"region_id,omitempty"` // 位置名称 LocationName *string `json:"location_name,omitempty"` // 当前对等体数量 CurrentPeerLinkCount *int32 `json:"current_peer_link_count,omitempty"` // 有效对等体数量 AvailablePeerLinkCount *int32 `json:"available_peer_link_count,omitempty"` // 是否冻结:true-是,false-否 AdminStateUp *bool `json:"admin_state_up,omitempty"` // 状态: ACTIVE-正常,ERROR-异常 Status *string `json:"status,omitempty"` // 创建时间 CreatedTime *sdktime.SdkTime `json:"created_time,omitempty"` // 修改时间 UpdatedTime *sdktime.SdkTime `json:"updated_time,omitempty"` }
ExternalUpdateGlobalDcGateway 修改响应体对象
func (ExternalUpdateGlobalDcGateway) String ¶ added in v0.1.125
func (o ExternalUpdateGlobalDcGateway) String() string
type ExternalUpdatePeerLink ¶ added in v0.1.125
type ExternalUpdatePeerLink struct { Id *string `json:"id,omitempty"` TenantId *string `json:"tenant_id,omitempty"` Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` GlobalDcGatewayId *string `json:"global_dc_gateway_id,omitempty"` BandwidthInfo *BandwidthInfoExternal `json:"bandwidth_info,omitempty"` PeerSite *PeerSiteExternal `json:"peer_site,omitempty"` Status *string `json:"status,omitempty"` Reason *string `json:"reason,omitempty"` CreatedTime *sdktime.SdkTime `json:"created_time,omitempty"` UpdatedTime *sdktime.SdkTime `json:"updated_time,omitempty"` }
func (ExternalUpdatePeerLink) String ¶ added in v0.1.125
func (o ExternalUpdatePeerLink) String() string
type HostedDirectConnect ¶
type HostedDirectConnect struct { // 托管专线ID Id *string `json:"id,omitempty"` // 实例所属项目ID。 TenantId *string `json:"tenant_id,omitempty"` // 物理专线名字 Name *string `json:"name,omitempty"` // 物理专线的描述信息 Description *string `json:"description,omitempty"` // 物理专线接入带宽,单位Mbps。 Bandwidth *int32 `json:"bandwidth,omitempty"` // 专线的接入位置信息 Location *string `json:"location,omitempty"` // 物理专线对端所在的物理位置,省/市/街道或IDC名字。 PeerLocation *string `json:"peer_location,omitempty"` // hosted物理专线对应的hosting物理专线的ID HostingId *string `json:"hosting_id,omitempty"` // 专线线路的提供商 Provider *string `json:"provider,omitempty"` // 管理状态:true或false AdminStateUp *bool `json:"admin_state_up,omitempty"` // hosted物理专线预分配的vlan。 Vlan *int32 `json:"vlan,omitempty"` // 操作状态,合法值是: BUILD:已开通 ACTIVE:虚拟网关正常 DOWN:专线对应的端口处于down的状态,可能存在线路故障等异常。 ERROR:虚拟网关异常 PENDING_DELETE:删除中 PENDING_UPDATE:更新中 PENDING_CREATE:创建中 Status *HostedDirectConnectStatus `json:"status,omitempty"` // 物理专线申请时间 ApplyTime *string `json:"apply_time,omitempty"` // 物理专线创建时间 CreateTime *string `json:"create_time,omitempty"` // 物理专线的运营商操作状态,合法值是:ACTIVE, DOWN ProviderStatus *HostedDirectConnectProviderStatus `json:"provider_status,omitempty"` // 物理专线接入接口的类型,支持1G 10G 40G 100G PortType *HostedDirectConnectPortType `json:"port_type,omitempty"` // 物理专线的类型,类型包括标准(standard),运营专线(hosting),托管专线(hosted)[,一站式标准(onestop_standard),一站式托管(onestop_hosted)](tag:hws)。 Type *HostedDirectConnectType `json:"type,omitempty"` }
HostedDirectConnect 托管专线对象信息
func (HostedDirectConnect) String ¶
func (o HostedDirectConnect) String() string
type HostedDirectConnectPortType ¶ added in v0.1.73
type HostedDirectConnectPortType struct {
// contains filtered or unexported fields
}
func (HostedDirectConnectPortType) MarshalJSON ¶ added in v0.1.73
func (c HostedDirectConnectPortType) MarshalJSON() ([]byte, error)
func (*HostedDirectConnectPortType) UnmarshalJSON ¶ added in v0.1.73
func (c *HostedDirectConnectPortType) UnmarshalJSON(b []byte) error
func (HostedDirectConnectPortType) Value ¶ added in v0.1.73
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 *string `json:"status,omitempty"` // geip类型:IP_ADDRESS/IP_SEGMENT Type *string `json:"type,omitempty"` // geip绑定失败的原因 ErrorMessage *string `json:"error_message,omitempty"` // geip的地址ip/mask Cidr *string `json:"cidr,omitempty"` // geip的地址簇 AddressFamily *string `json:"address_family,omitempty"` // IES的集群vtepIp IeVtepIp *string `json:"ie_vtep_ip,omitempty"` // geip绑定时间 CreatedTime *string `json:"created_time,omitempty"` // 带宽包的id GcbId *string `json:"gcb_id,omitempty"` }
ListBindingGeip Returns geip and its binding status
func (ListBindingGeip) String ¶ added in v0.1.125
func (o ListBindingGeip) String() string
type ListConnectGatewaysRequest ¶ added in v0.1.125
type ListConnectGatewaysRequest struct { // 每页返回的个数。 取值范围:1~2000。 Limit *int32 `json:"limit,omitempty"` Offset *int32 `json:"offset,omitempty"` // 上一页最后一条资源记录的ID,为空时为查询第一页。 使用说明:必须与limit一起使用。 Marker *string `json:"marker,omitempty"` PageReverse *bool `json:"page_reverse,omitempty"` // 显示字段列表 Fields *[]string `json:"fields,omitempty"` // show response ext-fields ExtFields *[]string `json:"ext_fields,omitempty"` // 排序字段。 SortKey *string `json:"sort_key,omitempty"` // 返回结果按照升序(asc)或降序(desc)排列,默认为asc SortDir *[]ListConnectGatewaysRequestSortDir `json:"sort_dir,omitempty"` // 根据资源ID过滤实例 Id *[]string `json:"id,omitempty"` // 根据名字过滤查询,可查询多个名字。 Name *[]string `json:"name,omitempty"` // 根椐资源状态过淲实例 Status *[]string `json:"status,omitempty"` }
ListConnectGatewaysRequest Request Object
func (ListConnectGatewaysRequest) String ¶ added in v0.1.125
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 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"` // 显示字段列表 Fields *[]string `json:"fields,omitempty"` // show response ext-fields ExtFields *[]string `json:"ext_fields,omitempty"` // 下一条ID Nexthop *[]string `json:"nexthop,omitempty"` // 目的地址 Destination *[]string `json:"destination,omitempty"` // 地址簇 AddressFamily *[]ListGdgwRouteTablesRequestAddressFamily `json:"address_family,omitempty"` }
ListGdgwRouteTablesRequest Request Object
func (ListGdgwRouteTablesRequest) String ¶ added in v0.1.125
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"` XRequestId *string `json:"X-Request-Id,omitempty"` HttpStatusCode int `json:"-"` }
ListGdgwRouteTablesResponse Response Object
func (ListGdgwRouteTablesResponse) String ¶ added in v0.1.125
func (o ListGdgwRouteTablesResponse) String() string
type ListGlobalDcGatewayRequest ¶ added in v0.1.125
type ListGlobalDcGatewayRequest struct { // 每页返回的个数。 取值范围:1~2000。 Limit *int32 `json:"limit,omitempty"` // 上一页最后一条资源记录的ID,为空时为查询第一页。 使用说明:必须与limit一起使用。 Marker *string `json:"marker,omitempty"` // 显示字段列表 Fields *[]string `json:"fields,omitempty"` // 排序字段。 SortKey *string `json:"sort_key,omitempty"` // 返回结果按照升序(asc)或降序(desc)排列,默认为asc SortDir *[]ListGlobalDcGatewayRequestSortDir `json:"sort_dir,omitempty"` // 根椐运营专线ID过滤托管专线列表 HostingId *[]string `json:"hosting_id,omitempty"` // 根据企业项目ID过滤资源实例 EnterpriseProjectId *[]string `json:"enterprise_project_id,omitempty"` // 根据资源ID过滤实例 Id *[]string `json:"id,omitempty"` // 根据名字过滤查询,可查询多个名字。 Name *[]string `json:"name,omitempty"` // 全球中心网络ID GlobalCenterNetworkId *[]string `json:"global_center_network_id,omitempty"` // 站点网络ID SiteNetworkId *[]string `json:"site_network_id,omitempty"` // 云连接ID CloudConnectionId *[]string `json:"cloud_connection_id,omitempty"` }
ListGlobalDcGatewayRequest Request Object
func (ListGlobalDcGatewayRequest) String ¶ added in v0.1.125
func (o ListGlobalDcGatewayRequest) String() string
type ListGlobalDcGatewayRequestSortDir ¶ added in v0.1.125
type ListGlobalDcGatewayRequestSortDir struct {
// contains filtered or unexported fields
}
func (ListGlobalDcGatewayRequestSortDir) MarshalJSON ¶ added in v0.1.125
func (c ListGlobalDcGatewayRequestSortDir) MarshalJSON() ([]byte, error)
func (*ListGlobalDcGatewayRequestSortDir) UnmarshalJSON ¶ added in v0.1.125
func (c *ListGlobalDcGatewayRequestSortDir) UnmarshalJSON(b []byte) error
func (ListGlobalDcGatewayRequestSortDir) Value ¶ added in v0.1.125
func (c ListGlobalDcGatewayRequestSortDir) Value() string
type ListGlobalDcGatewayRequestSortDirEnum ¶ added in v0.1.125
type ListGlobalDcGatewayRequestSortDirEnum struct { ASC ListGlobalDcGatewayRequestSortDir DESC ListGlobalDcGatewayRequestSortDir }
func GetListGlobalDcGatewayRequestSortDirEnum ¶ added in v0.1.125
func GetListGlobalDcGatewayRequestSortDirEnum() ListGlobalDcGatewayRequestSortDirEnum
type ListGlobalDcGatewayResponse ¶ added in v0.1.125
type ListGlobalDcGatewayResponse struct { // 请求ID RequestId *string `json:"request_id,omitempty"` GlobalDcGateways *[]ExternalListGlobalDcGateways `json:"global_dc_gateways,omitempty"` PageInfo *PageInfo `json:"page_info,omitempty"` XRequestId *string `json:"X-Request-Id,omitempty"` HttpStatusCode int `json:"-"` }
ListGlobalDcGatewayResponse Response Object
func (ListGlobalDcGatewayResponse) String ¶ added in v0.1.125
func (o ListGlobalDcGatewayResponse) 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"` XRequestId *string `json:"X-Request-Id,omitempty"` HttpStatusCode int `json:"-"` }
ListGlobalEipsResponse Response Object
func (ListGlobalEipsResponse) String ¶ added in v0.1.125
func (o ListGlobalEipsResponse) String() string
type ListHostedDirectConnectsRequest ¶
type ListHostedDirectConnectsRequest struct { // 每页返回的个数。 取值范围:1~2000。 Limit *int32 `json:"limit,omitempty"` // 上一页最后一条资源记录的ID,为空时为查询第一页。 使用说明:必须与limit一起使用。 Marker *string `json:"marker,omitempty"` // 显示字段列表 Fields *[]string `json:"fields,omitempty"` // 返回结果按照升序(asc)或降序(desc)排列,默认为asc SortDir *[]ListHostedDirectConnectsRequestSortDir `json:"sort_dir,omitempty"` // 排序字段。 SortKey *string `json:"sort_key,omitempty"` // 根椐运营专线ID过滤托管专线列表 HostingId *[]string `json:"hosting_id,omitempty"` // 根据资源ID过滤实例 Id *[]string `json:"id,omitempty"` // 根据名字过滤查询,可查询多个名字。 Name *[]string `json:"name,omitempty"` }
ListHostedDirectConnectsRequest Request Object
func (ListHostedDirectConnectsRequest) String ¶
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 { // 每页返回的个数。 取值范围:1~2000。 Limit *int32 `json:"limit,omitempty"` Offset *int32 `json:"offset,omitempty"` // 上一页最后一条资源记录的ID,为空时为查询第一页。 使用说明:必须与limit一起使用。 Marker *string `json:"marker,omitempty"` PageReverse *bool `json:"page_reverse,omitempty"` // 显示字段列表 Fields *[]string `json:"fields,omitempty"` // show response ext-fields ExtFields *[]string `json:"ext_fields,omitempty"` // 排序字段。 SortKey *string `json:"sort_key,omitempty"` // 返回结果按照升序(asc)或降序(desc)排列,默认为asc SortDir *[]ListPeerLinksRequestSortDir `json:"sort_dir,omitempty"` // 全球接入网关ID GlobalDcGatewayId string `json:"global_dc_gateway_id"` // 根据资源ID过滤实例 Id *[]string `json:"id,omitempty"` // 根据名字过滤查询,可查询多个名字。 Name *[]string `json:"name,omitempty"` }
ListPeerLinksRequest Request Object
func (ListPeerLinksRequest) String ¶ added in v0.1.125
func (o ListPeerLinksRequest) String() string
type ListPeerLinksRequestSortDir ¶ added in v0.1.125
type ListPeerLinksRequestSortDir struct {
// contains filtered or unexported fields
}
func (ListPeerLinksRequestSortDir) MarshalJSON ¶ added in v0.1.125
func (c ListPeerLinksRequestSortDir) MarshalJSON() ([]byte, error)
func (*ListPeerLinksRequestSortDir) UnmarshalJSON ¶ added in v0.1.125
func (c *ListPeerLinksRequestSortDir) UnmarshalJSON(b []byte) error
func (ListPeerLinksRequestSortDir) Value ¶ added in v0.1.125
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 { RequestId *string `json:"request_id,omitempty"` PeerLinks *[]ExternalListPeerLinks `json:"peer_links,omitempty"` PageInfo *PageInfo `json:"page_info,omitempty"` XRequestId *string `json:"X-Request-Id,omitempty"` HttpStatusCode int `json:"-"` }
ListPeerLinksResponse Response Object
func (ListPeerLinksResponse) String ¶ added in v0.1.125
func (o ListPeerLinksResponse) String() string
type ListProjectTagsRequest ¶
type ListProjectTagsRequest struct { // - 专线服务资源类型,包括dc-directconnect/dc-vgw/dc-vif - dc-directconnect: 专线物理连接 - dc-vgw: 虚拟网关 - dc-vif: 虚拟接口 ResourceType ListProjectTagsRequestResourceType `json:"resource_type"` }
ListProjectTagsRequest Request Object
func (ListProjectTagsRequest) String ¶
func (o ListProjectTagsRequest) String() string
type ListProjectTagsRequestResourceType ¶
type ListProjectTagsRequestResourceType struct {
// contains filtered or unexported fields
}
func (ListProjectTagsRequestResourceType) MarshalJSON ¶
func (c ListProjectTagsRequestResourceType) MarshalJSON() ([]byte, error)
func (*ListProjectTagsRequestResourceType) UnmarshalJSON ¶
func (c *ListProjectTagsRequestResourceType) UnmarshalJSON(b []byte) error
func (ListProjectTagsRequestResourceType) Value ¶
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 ListRmsGlobalDcGatewayRequest ¶ added in v0.1.125
type ListRmsGlobalDcGatewayRequest struct { // 每页返回的个数。 取值范围:1~2000。 Limit *int32 `json:"limit,omitempty"` Offset *int32 `json:"offset,omitempty"` // 上一页最后一条资源记录的ID,为空时为查询第一页。 使用说明:必须与limit一起使用。 Marker *string `json:"marker,omitempty"` PageReverse *bool `json:"page_reverse,omitempty"` // 通过rp_name过滤记录 RpName string `json:"rp_name"` // domain_id DomainId string `json:"domain_id"` // region_id RegionId string `json:"region_id"` // resource_type ResourceType string `json:"resource_type"` // 显示字段列表 Fields *[]string `json:"fields,omitempty"` // show response ext-fields ExtFields *[]string `json:"ext_fields,omitempty"` // 排序字段。 SortKey *string `json:"sort_key,omitempty"` // 返回结果按照升序(asc)或降序(desc)排列,默认为asc SortDir *[]ListRmsGlobalDcGatewayRequestSortDir `json:"sort_dir,omitempty"` // 根据资源ID过滤实例 Id *[]string `json:"id,omitempty"` // 根据名字过滤查询,可查询多个名字。 Name *[]string `json:"name,omitempty"` // 根椐资源状态过淲实例 Status *[]string `json:"status,omitempty"` // 根据企业项目ID过滤资源实例 EnterpriseProjectId *[]string `json:"enterprise_project_id,omitempty"` // 全球中心网络ID GlobalCenterNetworkId *[]string `json:"global_center_network_id,omitempty"` // 站点网络ID SiteNetworkId *[]string `json:"site_network_id,omitempty"` // 云连接ID CloudConnectionId *[]string `json:"cloud_connection_id,omitempty"` }
ListRmsGlobalDcGatewayRequest Request Object
func (ListRmsGlobalDcGatewayRequest) String ¶ added in v0.1.125
func (o ListRmsGlobalDcGatewayRequest) String() string
type ListRmsGlobalDcGatewayRequestSortDir ¶ added in v0.1.125
type ListRmsGlobalDcGatewayRequestSortDir struct {
// contains filtered or unexported fields
}
func (ListRmsGlobalDcGatewayRequestSortDir) MarshalJSON ¶ added in v0.1.125
func (c ListRmsGlobalDcGatewayRequestSortDir) MarshalJSON() ([]byte, error)
func (*ListRmsGlobalDcGatewayRequestSortDir) UnmarshalJSON ¶ added in v0.1.125
func (c *ListRmsGlobalDcGatewayRequestSortDir) UnmarshalJSON(b []byte) error
func (ListRmsGlobalDcGatewayRequestSortDir) Value ¶ added in v0.1.125
func (c ListRmsGlobalDcGatewayRequestSortDir) Value() string
type ListRmsGlobalDcGatewayRequestSortDirEnum ¶ added in v0.1.125
type ListRmsGlobalDcGatewayRequestSortDirEnum struct { ASC ListRmsGlobalDcGatewayRequestSortDir DESC ListRmsGlobalDcGatewayRequestSortDir }
func GetListRmsGlobalDcGatewayRequestSortDirEnum ¶ added in v0.1.125
func GetListRmsGlobalDcGatewayRequestSortDirEnum() ListRmsGlobalDcGatewayRequestSortDirEnum
type ListRmsGlobalDcGatewayResponse ¶ added in v0.1.125
type ListRmsGlobalDcGatewayResponse struct { // 请求ID RequestId *string `json:"request_id,omitempty"` // 全球接入网关 GlobalDcGateways *[]RmsListGlobalDcGateways `json:"global_dc_gateways,omitempty"` PageInfo *PageInfo `json:"page_info,omitempty"` XRequestId *string `json:"X-Request-Id,omitempty"` HttpStatusCode int `json:"-"` }
ListRmsGlobalDcGatewayResponse Response Object
func (ListRmsGlobalDcGatewayResponse) String ¶ added in v0.1.125
func (o ListRmsGlobalDcGatewayResponse) 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 Locale ¶ added in v0.1.125
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 PeerSiteExternal ¶ added in v0.1.125
type PeerSiteExternal struct { // 类型 Type *string `json:"type,omitempty"` // 网关ID GatewayId *string `json:"gateway_id,omitempty"` // 连接ID LinkId *string `json:"link_id,omitempty"` // 局点ID RegionId *string `json:"region_id,omitempty"` // 项目ID ProjectId *string `json:"project_id,omitempty"` // 站点编码 SiteCode *string `json:"site_code,omitempty"` }
PeerSiteExternal 对等体对象
func (PeerSiteExternal) String ¶ added in v0.1.125
func (o PeerSiteExternal) String() string
type Resource ¶
type Resource struct { // 资源详情。 资源对象,用于扩展。默认为空。 ResourceDetail *interface{} `json:"resource_detail,omitempty"` // 资源的ID。 ResourceId string `json:"resource_id"` // 资源名称,资源没有名称时默认为空字符串。 ResourceName *string `json:"resource_name,omitempty"` // 标签列表,没有标签默认为空数组。 Tags []Tag `json:"tags"` // 标签列表,没有标签默认为空数组。 SysTags *[]Tag `json:"sys_tags,omitempty"` }
Resource 资源信息
type RmsListGlobalDcGateways ¶ added in v0.1.125
type RmsListGlobalDcGateways struct { // 唯一ID Id *string `json:"id,omitempty"` // 租户ID TenantId *string `json:"tenant_id,omitempty"` // 名称 Name *string `json:"name,omitempty"` // 描述信息 Description *string `json:"description,omitempty"` // 企业项目ID EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 全球中心网路ID GlobalCenterNetworkId *string `json:"global_center_network_id,omitempty"` // 站点网络ID SiteNetworkId *string `json:"site_network_id,omitempty"` // 云连接ID CloudConnectionId *string `json:"cloud_connection_id,omitempty"` // BGP模式AS号 BgpAsn *int64 `json:"bgp_asn,omitempty"` // 局点ID RegionId *string `json:"region_id,omitempty"` // 位置名称 LocationName *string `json:"location_name,omitempty"` Locales *Locale `json:"locales,omitempty"` // 当前对等体数量 CurrentPeerLinkCount *int32 `json:"current_peer_link_count,omitempty"` // 有效对等体数量 AvailablePeerLinkCount *int32 `json:"available_peer_link_count,omitempty"` // 是否冻结:true-是,false-否 AdminStateUp *bool `json:"admin_state_up,omitempty"` // 状态:ACTIVE-正常,ERROR-异常 Status *string `json:"status,omitempty"` // 创建时间 CreatedTime *sdktime.SdkTime `json:"created_time,omitempty"` // 更新时间 UpdatedTime *sdktime.SdkTime `json:"updated_time,omitempty"` // 返回给RMS的资源标签 Tags map[string]string `json:"tags,omitempty"` }
func (RmsListGlobalDcGateways) String ¶ added in v0.1.125
func (o RmsListGlobalDcGateways) String() string
type RmsShowGlobalDcGateway ¶ added in v0.1.125
type RmsShowGlobalDcGateway struct { // 唯一ID Id *string `json:"id,omitempty"` // 租户ID TenantId *string `json:"tenant_id,omitempty"` // 名称 Name *string `json:"name,omitempty"` // 描述信息 Description *string `json:"description,omitempty"` // 企业项目ID EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 全球中心网路ID GlobalCenterNetworkId *string `json:"global_center_network_id,omitempty"` // 站点网络ID SiteNetworkId *string `json:"site_network_id,omitempty"` // 云连接ID CloudConnectionId *string `json:"cloud_connection_id,omitempty"` // BGP模式AS号 BgpAsn *int64 `json:"bgp_asn,omitempty"` // 局点ID RegionId *string `json:"region_id,omitempty"` // 位置名称 LocationName *string `json:"location_name,omitempty"` Locales *Locale `json:"locales,omitempty"` // 当前对等体数量 CurrentPeerLinkCount *int32 `json:"current_peer_link_count,omitempty"` // 有效对等体数量 AvailablePeerLinkCount *int32 `json:"available_peer_link_count,omitempty"` // 是否冻结:true-是,false-否 AdminStateUp *bool `json:"admin_state_up,omitempty"` // 状态:ACTIVE-正常,ERROR-异常 Status *string `json:"status,omitempty"` // 创建时间 CreatedTime *sdktime.SdkTime `json:"created_time,omitempty"` // 更新时间 UpdatedTime *sdktime.SdkTime `json:"updated_time,omitempty"` // 返回给RMS的资源标签 Tags map[string]string `json:"tags,omitempty"` }
func (RmsShowGlobalDcGateway) String ¶ added in v0.1.125
func (o RmsShowGlobalDcGateway) String() string
type ShowConnectGatewayRequest ¶ added in v0.1.125
type ShowConnectGatewayRequest struct { // 互联网关ID ConnectGatewayId string `json:"connect_gateway_id"` }
ShowConnectGatewayRequest Request Object
func (ShowConnectGatewayRequest) String ¶ added in v0.1.125
func (o ShowConnectGatewayRequest) String() string
type ShowConnectGatewayResponse ¶ added in v0.1.125
type ShowConnectGatewayResponse struct { // 请求ID RequestId *string `json:"request_id,omitempty"` ConnectGateway *ConnectGatewayResponse `json:"connect_gateway,omitempty"` HttpStatusCode int `json:"-"` }
ShowConnectGatewayResponse Response Object
func (ShowConnectGatewayResponse) String ¶ added in v0.1.125
func (o ShowConnectGatewayResponse) 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,omitempty"` // 租户ID TenantId *string `json:"tenant_id,omitempty"` // 网关ID GatewayId *string `json:"gateway_id,omitempty"` // 描述信息 Destination *string `json:"destination,omitempty"` // 下一跳ID Nexthop *string `json:"nexthop,omitempty"` // 类型 Type *string `json:"type,omitempty"` // 获得模式 ObtainMode *string `json:"obtain_mode,omitempty"` // 状态:ACTIVE-正常,ERROR-异常 Status *string `json:"status,omitempty"` // 地址簇:ipv4 | ipv6 AddressFamily *string `json:"address_family,omitempty"` // 描述信息 Description *string `json:"description,omitempty"` }
ShowGdgwRoutetable 路由表详细
func (ShowGdgwRoutetable) String ¶ added in v0.1.125
func (o ShowGdgwRoutetable) String() string
type ShowGlobalDcGatewayRequest ¶ added in v0.1.125
type ShowGlobalDcGatewayRequest struct { // 全球接入网关ID GlobalDcGatewayId string `json:"global_dc_gateway_id"` // 显示字段列表 Fields *[]string `json:"fields,omitempty"` // show response ext-fields ExtFields *[]string `json:"ext_fields,omitempty"` }
ShowGlobalDcGatewayRequest Request Object
func (ShowGlobalDcGatewayRequest) String ¶ added in v0.1.125
func (o ShowGlobalDcGatewayRequest) String() string
type ShowGlobalDcGatewayResponse ¶ added in v0.1.125
type ShowGlobalDcGatewayResponse struct { RequestId *string `json:"request_id,omitempty"` GlobalDcGateway *ExternalShowGlobalDcGateway `json:"global_dc_gateway,omitempty"` XRequestId *string `json:"X-Request-Id,omitempty"` HttpStatusCode int `json:"-"` }
ShowGlobalDcGatewayResponse Response Object
func (ShowGlobalDcGatewayResponse) String ¶ added in v0.1.125
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 { // 全球接入网关ID GlobalDcGatewayId string `json:"global_dc_gateway_id"` // 全球接入网关对等体 PeerLinkId string `json:"peer_link_id"` // 显示字段列表 Fields *[]string `json:"fields,omitempty"` // show response ext-fields ExtFields *[]string `json:"ext_fields,omitempty"` }
ShowPeerLinkRequest Request Object
func (ShowPeerLinkRequest) String ¶ added in v0.1.125
func (o ShowPeerLinkRequest) String() string
type ShowPeerLinkResponse ¶ added in v0.1.125
type ShowPeerLinkResponse struct { // 请求ID RequestId *string `json:"request_id,omitempty"` PeerLink *ExternalShowPeerLink `json:"peer_link,omitempty"` XRequestId *string `json:"X-Request-Id,omitempty"` HttpStatusCode int `json:"-"` }
ShowPeerLinkResponse Response Object
func (ShowPeerLinkResponse) String ¶ added in v0.1.125
func (o ShowPeerLinkResponse) String() string
type ShowQuotasRequest ¶ added in v0.1.61
type ShowQuotasRequest struct { // 支持过滤的配额类型: - [physicalConnect: 物理连接direct_connect实例的配额和使用量] - [virtualInterface: 虚拟接口virtual-interface的配额和使用量] - [connectGateway: 连接网关(用于关联GEIP)的配额和使用量](tag:hws) - [geip: 每租户可以关联GEIP的配额和使用量](tag:hws) - [globalDcGateway 专线全球接入网关的配额和使用量] - [peerLinkPerGdgw: 接入网关的关联连接的配额和使用量] Type *[]string `json:"type,omitempty"` }
ShowQuotasRequest Request Object
func (ShowQuotasRequest) String ¶ added in v0.1.61
func (o ShowQuotasRequest) String() string
type ShowQuotasResponse ¶ added in v0.1.61
type ShowQuotasResponse struct { Quotas *ShowQuotasResponseBodyQuotas `json:"quotas,omitempty"` HttpStatusCode int `json:"-"` }
ShowQuotasResponse Response Object
func (ShowQuotasResponse) String ¶ added in v0.1.61
func (o ShowQuotasResponse) String() string
type ShowQuotasResponseBodyQuotas ¶ added in v0.1.61
type ShowQuotasResponseBodyQuotas struct {
Resources *[]Info `json:"resources,omitempty"`
}
ShowQuotasResponseBodyQuotas 配额使用详情
func (ShowQuotasResponseBodyQuotas) String ¶ added in v0.1.61
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 ShowRmsGlobalDcGatewayRequest ¶ added in v0.1.125
type ShowRmsGlobalDcGatewayRequest struct { // 通过rp_name过滤记录 RpName string `json:"rp_name"` // domain_id DomainId string `json:"domain_id"` // region_id RegionId string `json:"region_id"` // resource_type ResourceType string `json:"resource_type"` // 全球接入网关ID GlobalDcGatewayId string `json:"global_dc_gateway_id"` // 显示字段列表 Fields *[]string `json:"fields,omitempty"` // show response ext-fields ExtFields *[]string `json:"ext_fields,omitempty"` }
ShowRmsGlobalDcGatewayRequest Request Object
func (ShowRmsGlobalDcGatewayRequest) String ¶ added in v0.1.125
func (o ShowRmsGlobalDcGatewayRequest) String() string
type ShowRmsGlobalDcGatewayResponse ¶ added in v0.1.125
type ShowRmsGlobalDcGatewayResponse struct { // 请求ID RequestId *string `json:"request_id,omitempty"` GlobalDcGateway *RmsShowGlobalDcGateway `json:"global_dc_gateway,omitempty"` XRequestId *string `json:"X-Request-Id,omitempty"` HttpStatusCode int `json:"-"` }
ShowRmsGlobalDcGatewayResponse Response Object
func (ShowRmsGlobalDcGatewayResponse) String ¶ added in v0.1.125
func (o ShowRmsGlobalDcGatewayResponse) 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"` // 倒换测试操作的开始时间 StartTime *sdktime.SdkTime `json:"start_time,omitempty"` // 倒换测试操作的结束时间 EndTime *sdktime.SdkTime `json:"end_time,omitempty"` // 倒换测试状态记录 STARTING: 初始状态 INPROGRESS: 配置下发中 COMPLETE: 配置下发完成 ERROR: 配置下发失败 OperateStatus *SwitchoverTestRecordOperateStatus `json:"operate_status,omitempty"` }
SwitchoverTestRecord 倒换测试记录信息
func (SwitchoverTestRecord) String ¶ added in v0.1.61
func (o SwitchoverTestRecord) String() string
type SwitchoverTestRecordOperateStatus ¶ added in v0.1.61
type SwitchoverTestRecordOperateStatus struct {
// contains filtered or unexported fields
}
func (SwitchoverTestRecordOperateStatus) MarshalJSON ¶ added in v0.1.61
func (c SwitchoverTestRecordOperateStatus) MarshalJSON() ([]byte, error)
func (*SwitchoverTestRecordOperateStatus) UnmarshalJSON ¶ added in v0.1.61
func (c *SwitchoverTestRecordOperateStatus) UnmarshalJSON(b []byte) error
func (SwitchoverTestRecordOperateStatus) Value ¶ added in v0.1.61
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"` XRequestId *string `json:"X-Request-Id,omitempty"` HttpStatusCode int `json:"-"` }
UnbindGlobalEipsResponse Response Object
func (UnbindGlobalEipsResponse) String ¶ added in v0.1.125
func (o UnbindGlobalEipsResponse) String() string
type UnbindingGeipBody ¶ added in v0.1.125
type UnbindingGeipBody struct { // 全局弹性公网IP的ID GlobalEipId string `json:"global_eip_id"` }
func (UnbindingGeipBody) String ¶ added in v0.1.125
func (o UnbindingGeipBody) String() string
type UpdateConnectGateway ¶ added in v0.1.125
type UpdateConnectGateway struct { // 网关名字 Name *string `json:"name,omitempty"` // 描述信息 Description *string `json:"description,omitempty"` // 地址族信息 AddressFamily *UpdateConnectGatewayAddressFamily `json:"address_family,omitempty"` }
func (UpdateConnectGateway) String ¶ added in v0.1.125
func (o UpdateConnectGateway) String() string
type UpdateConnectGatewayAddressFamily ¶ added in v0.1.125
type UpdateConnectGatewayAddressFamily struct {
// contains filtered or unexported fields
}
func (UpdateConnectGatewayAddressFamily) MarshalJSON ¶ added in v0.1.125
func (c UpdateConnectGatewayAddressFamily) MarshalJSON() ([]byte, error)
func (*UpdateConnectGatewayAddressFamily) UnmarshalJSON ¶ added in v0.1.125
func (c *UpdateConnectGatewayAddressFamily) UnmarshalJSON(b []byte) error
func (UpdateConnectGatewayAddressFamily) Value ¶ added in v0.1.125
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 {
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 Bandwidth *int32 `json:"bandwidth,omitempty"` // 物理专线对端所在的物理位置,省/市/街道或IDC名字 PeerLocation *string `json:"peer_location,omitempty"` // 更新资源状态,合法值是:PENDING_PAY Status *UpdateDirectConnectStatus `json:"status,omitempty"` // 更新运营商状态,合法值是:ACTIVE,DOWN ProviderStatus *UpdateDirectConnectProviderStatus `json:"provider_status,omitempty"` }
UpdateDirectConnect 物理专线更新参数
func (UpdateDirectConnect) String ¶
func (o UpdateDirectConnect) String() string
type UpdateDirectConnectProviderStatus ¶
type UpdateDirectConnectProviderStatus struct {
// contains filtered or unexported fields
}
func (UpdateDirectConnectProviderStatus) MarshalJSON ¶
func (c UpdateDirectConnectProviderStatus) MarshalJSON() ([]byte, error)
func (*UpdateDirectConnectProviderStatus) UnmarshalJSON ¶
func (c *UpdateDirectConnectProviderStatus) UnmarshalJSON(b []byte) error
func (UpdateDirectConnectProviderStatus) Value ¶
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
}
func GetUpdateDirectConnectStatusEnum ¶
func GetUpdateDirectConnectStatusEnum() UpdateDirectConnectStatusEnum
type UpdateGdgwRouteTableRequest ¶ added in v0.1.125
type UpdateGdgwRouteTableRequest struct { // 全球接入网关ID GdgwId string `json:"gdgw_id"` Body *UpdateGdgwRoutetableRequestBody `json:"body,omitempty"` }
UpdateGdgwRouteTableRequest Request Object
func (UpdateGdgwRouteTableRequest) String ¶ added in v0.1.125
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"` XRequestId *string `json:"X-Request-Id,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 { // 空运行:true-是,false-否 DryRun *bool `json:"dry_run,omitempty"` GdgwRoutetable *UpdateGdgwRoutetableRequestBodyGdgwRoutetable `json:"gdgw_routetable,omitempty"` }
func (UpdateGdgwRoutetableRequestBody) String ¶ added in v0.1.125
func (o UpdateGdgwRoutetableRequestBody) String() string
type UpdateGdgwRoutetableRequestBodyGdgwRoutetable ¶ added in v0.1.125
type UpdateGdgwRoutetableRequestBodyGdgwRoutetable struct { AddRoutes *[]UpdateGdgwRoutetableRequestBodyGdgwRoutetableAddRoutes `json:"add_routes,omitempty"` // 删除的路由 DelRoutes *[]UpdateGdgwRoutetableRequestBodyGdgwRoutetableDelRoutes `json:"del_routes,omitempty"` // 仅更新该条路由的附加信息,不执行交换机的路由更新操作。当前支持更新:路由描述-description信息 UpdateRoutes *[]UpdateGdgwRoutetableRequestBodyGdgwRoutetableUpdateRoutes `json:"update_routes,omitempty"` }
func (UpdateGdgwRoutetableRequestBodyGdgwRoutetable) String ¶ added in v0.1.125
func (o UpdateGdgwRoutetableRequestBodyGdgwRoutetable) String() string
type UpdateGdgwRoutetableRequestBodyGdgwRoutetableAddRoutes ¶ added in v0.1.125
type UpdateGdgwRoutetableRequestBodyGdgwRoutetableAddRoutes struct { // 目的地址 Destination string `json:"destination"` // 下一跳 Nexthop string `json:"nexthop"` // 类型 Type UpdateGdgwRoutetableRequestBodyGdgwRoutetableAddRoutesType `json:"type"` // 说明信息 Description *string `json:"description,omitempty"` }
func (UpdateGdgwRoutetableRequestBodyGdgwRoutetableAddRoutes) String ¶ added in v0.1.125
func (o UpdateGdgwRoutetableRequestBodyGdgwRoutetableAddRoutes) String() string
type UpdateGdgwRoutetableRequestBodyGdgwRoutetableAddRoutesType ¶ added in v0.1.125
type UpdateGdgwRoutetableRequestBodyGdgwRoutetableAddRoutesType struct {
// contains filtered or unexported fields
}
func (UpdateGdgwRoutetableRequestBodyGdgwRoutetableAddRoutesType) MarshalJSON ¶ added in v0.1.125
func (c UpdateGdgwRoutetableRequestBodyGdgwRoutetableAddRoutesType) MarshalJSON() ([]byte, error)
func (*UpdateGdgwRoutetableRequestBodyGdgwRoutetableAddRoutesType) UnmarshalJSON ¶ added in v0.1.125
func (c *UpdateGdgwRoutetableRequestBodyGdgwRoutetableAddRoutesType) UnmarshalJSON(b []byte) error
func (UpdateGdgwRoutetableRequestBodyGdgwRoutetableAddRoutesType) Value ¶ added in v0.1.125
func (c UpdateGdgwRoutetableRequestBodyGdgwRoutetableAddRoutesType) Value() string
type UpdateGdgwRoutetableRequestBodyGdgwRoutetableAddRoutesTypeEnum ¶ added in v0.1.125
type UpdateGdgwRoutetableRequestBodyGdgwRoutetableAddRoutesTypeEnum struct { VIF_PEER UpdateGdgwRoutetableRequestBodyGdgwRoutetableAddRoutesType PEER_LINK UpdateGdgwRoutetableRequestBodyGdgwRoutetableAddRoutesType GDGW UpdateGdgwRoutetableRequestBodyGdgwRoutetableAddRoutesType }
func GetUpdateGdgwRoutetableRequestBodyGdgwRoutetableAddRoutesTypeEnum ¶ added in v0.1.125
func GetUpdateGdgwRoutetableRequestBodyGdgwRoutetableAddRoutesTypeEnum() UpdateGdgwRoutetableRequestBodyGdgwRoutetableAddRoutesTypeEnum
type UpdateGdgwRoutetableRequestBodyGdgwRoutetableDelRoutes ¶ added in v0.1.125
type UpdateGdgwRoutetableRequestBodyGdgwRoutetableDelRoutes struct { // 目的地址 Destination string `json:"destination"` // 下一跳 Nexthop string `json:"nexthop"` // 类型 Type UpdateGdgwRoutetableRequestBodyGdgwRoutetableDelRoutesType `json:"type"` }
func (UpdateGdgwRoutetableRequestBodyGdgwRoutetableDelRoutes) String ¶ added in v0.1.125
func (o UpdateGdgwRoutetableRequestBodyGdgwRoutetableDelRoutes) String() string
type UpdateGdgwRoutetableRequestBodyGdgwRoutetableDelRoutesType ¶ added in v0.1.125
type UpdateGdgwRoutetableRequestBodyGdgwRoutetableDelRoutesType struct {
// contains filtered or unexported fields
}
func (UpdateGdgwRoutetableRequestBodyGdgwRoutetableDelRoutesType) MarshalJSON ¶ added in v0.1.125
func (c UpdateGdgwRoutetableRequestBodyGdgwRoutetableDelRoutesType) MarshalJSON() ([]byte, error)
func (*UpdateGdgwRoutetableRequestBodyGdgwRoutetableDelRoutesType) UnmarshalJSON ¶ added in v0.1.125
func (c *UpdateGdgwRoutetableRequestBodyGdgwRoutetableDelRoutesType) UnmarshalJSON(b []byte) error
func (UpdateGdgwRoutetableRequestBodyGdgwRoutetableDelRoutesType) Value ¶ added in v0.1.125
func (c UpdateGdgwRoutetableRequestBodyGdgwRoutetableDelRoutesType) Value() string
type UpdateGdgwRoutetableRequestBodyGdgwRoutetableDelRoutesTypeEnum ¶ added in v0.1.125
type UpdateGdgwRoutetableRequestBodyGdgwRoutetableDelRoutesTypeEnum struct { VIF_PEER UpdateGdgwRoutetableRequestBodyGdgwRoutetableDelRoutesType PEER_LINK UpdateGdgwRoutetableRequestBodyGdgwRoutetableDelRoutesType GDGW UpdateGdgwRoutetableRequestBodyGdgwRoutetableDelRoutesType }
func GetUpdateGdgwRoutetableRequestBodyGdgwRoutetableDelRoutesTypeEnum ¶ added in v0.1.125
func GetUpdateGdgwRoutetableRequestBodyGdgwRoutetableDelRoutesTypeEnum() UpdateGdgwRoutetableRequestBodyGdgwRoutetableDelRoutesTypeEnum
type UpdateGdgwRoutetableRequestBodyGdgwRoutetableUpdateRoutes ¶ added in v0.1.125
type UpdateGdgwRoutetableRequestBodyGdgwRoutetableUpdateRoutes struct { // 目的地址 Destination string `json:"destination"` // 下一跳 Nexthop string `json:"nexthop"` // 描述信息 Description *string `json:"description,omitempty"` }
func (UpdateGdgwRoutetableRequestBodyGdgwRoutetableUpdateRoutes) String ¶ added in v0.1.125
func (o UpdateGdgwRoutetableRequestBodyGdgwRoutetableUpdateRoutes) 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 { // 空运行? true-是,false-否 DryRun *bool `json:"dry_run,omitempty"` GlobalDcGateway *UpdateGlobalDcGatewayRequestBodyGlobalDcGateway `json:"global_dc_gateway,omitempty"` }
UpdateGlobalDcGatewayRequestBody 创建全球接入网关请求体
func (UpdateGlobalDcGatewayRequestBody) String ¶ added in v0.1.125
func (o UpdateGlobalDcGatewayRequestBody) String() string
type UpdateGlobalDcGatewayRequestBodyGlobalDcGateway ¶ added in v0.1.125
type UpdateGlobalDcGatewayRequestBodyGlobalDcGateway struct { // 名称 Name *string `json:"name,omitempty"` // 描述信息 Description *string `json:"description,omitempty"` // 地址簇类型 AddressFamily *UpdateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamily `json:"address_family,omitempty"` }
func (UpdateGlobalDcGatewayRequestBodyGlobalDcGateway) String ¶ added in v0.1.125
func (o UpdateGlobalDcGatewayRequestBodyGlobalDcGateway) String() string
type UpdateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamily ¶ added in v0.1.125
type UpdateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamily struct {
// contains filtered or unexported fields
}
func (UpdateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamily) MarshalJSON ¶ added in v0.1.125
func (c UpdateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamily) MarshalJSON() ([]byte, error)
func (*UpdateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamily) UnmarshalJSON ¶ added in v0.1.125
func (c *UpdateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamily) UnmarshalJSON(b []byte) error
func (UpdateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamily) Value ¶ added in v0.1.125
func (c UpdateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamily) Value() string
type UpdateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamilyEnum ¶ added in v0.1.125
type UpdateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamilyEnum struct { IPV4 UpdateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamily DUAL UpdateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamily }
func GetUpdateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamilyEnum ¶ added in v0.1.125
func GetUpdateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamilyEnum() UpdateGlobalDcGatewayRequestBodyGlobalDcGatewayAddressFamilyEnum
type UpdateGlobalDcGatewayResponse ¶ added in v0.1.125
type UpdateGlobalDcGatewayResponse struct { // 请求ID RequestId *string `json:"request_id,omitempty"` GlobalDcGateway *ExternalUpdateGlobalDcGateway `json:"global_dc_gateway,omitempty"` XRequestId *string `json:"X-Request-Id,omitempty"` HttpStatusCode int `json:"-"` }
UpdateGlobalDcGatewayResponse Response Object
func (UpdateGlobalDcGatewayResponse) String ¶ added in v0.1.125
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 *UpdatePeerLinkRequestBody `json:"body,omitempty"` }
UpdatePeerLinkRequest Request Object
func (UpdatePeerLinkRequest) String ¶ added in v0.1.125
func (o UpdatePeerLinkRequest) String() string
type UpdatePeerLinkRequestBody ¶ added in v0.1.125
type UpdatePeerLinkRequestBody struct { // 空运行 - true 是 - false 否 DryRun *bool `json:"dry_run,omitempty"` PeerLink *UpdatePeerLinkRequestBodyPeerLink `json:"peer_link,omitempty"` }
func (UpdatePeerLinkRequestBody) String ¶ added in v0.1.125
func (o UpdatePeerLinkRequestBody) String() string
type UpdatePeerLinkRequestBodyPeerLink ¶ added in v0.1.125
type UpdatePeerLinkRequestBodyPeerLink struct { // 名称 Name *string `json:"name,omitempty"` // 描述 Description *string `json:"description,omitempty"` }
func (UpdatePeerLinkRequestBodyPeerLink) String ¶ added in v0.1.125
func (o UpdatePeerLinkRequestBodyPeerLink) 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"` XRequestId *string `json:"X-Request-Id,omitempty"` HttpStatusCode int `json:"-"` }
UpdatePeerLinkResponse Response Object
func (UpdatePeerLinkResponse) String ¶ added in v0.1.125
func (o UpdatePeerLinkResponse) String() string
type UpdateVifPeer ¶ added in v0.1.61
type UpdateVifPeer struct { // VIF对等体名字 Name string `json:"name"` // VIF对等体名字描述信息 Description *string `json:"description,omitempty"` // 远端子网列表,记录用户侧的cidrs RemoteEpGroup []string `json:"remote_ep_group"` }
UpdateVifPeer 更新虚拟接口对等体参数
func (UpdateVifPeer) String ¶ added in v0.1.61
func (o UpdateVifPeer) String() string
type UpdateVifPeerRequest ¶ added in v0.1.61
type UpdateVifPeerRequest struct { // 虚拟接口对等体ID VifPeerId string `json:"vif_peer_id"` Body *UpdateVifPeerRequestBody `json:"body,omitempty"` }
UpdateVifPeerRequest Request Object
func (UpdateVifPeerRequest) String ¶ added in v0.1.61
func (o UpdateVifPeerRequest) String() string
type UpdateVifPeerRequestBody ¶ added in v0.1.61
type UpdateVifPeerRequestBody struct {
VifPeer *UpdateVifPeer `json:"vif_peer,omitempty"`
}
UpdateVifPeerRequestBody 更新对等体参数
func (UpdateVifPeerRequestBody) String ¶ added in v0.1.61
func (o UpdateVifPeerRequestBody) String() string
type UpdateVifPeerResponse ¶ added in v0.1.61
type UpdateVifPeerResponse struct { VifPeer *VifPeer `json:"vif_peer,omitempty"` HttpStatusCode int `json:"-"` }
UpdateVifPeerResponse Response Object
func (UpdateVifPeerResponse) String ¶ added in v0.1.61
func (o UpdateVifPeerResponse) String() string
type UpdateVirtualGateway ¶
type UpdateVirtualGateway struct { // 更新虚拟网关的名字 Name *string `json:"name,omitempty"` // 虚拟网关的描述信息 Description *string `json:"description,omitempty"` // 虚拟网关到访问云上服务IPv4子网列表,通常是vpc的cidrs LocalEpGroup *[]string `json:"local_ep_group,omitempty"` // 虚拟网关到访问云上服务IPv6子网列表,通常是vpc的cidrs LocalEpGroupIpv6 *[]string `json:"local_ep_group_ipv6,omitempty"` }
UpdateVirtualGateway 更新虚拟网关参数
func (UpdateVirtualGateway) String ¶
func (o UpdateVirtualGateway) String() string
type UpdateVirtualGatewayRequest ¶
type UpdateVirtualGatewayRequest struct { // 虚拟网关ID VirtualGatewayId string `json:"virtual_gateway_id"` Body *UpdateVirtualGatewayRequestBody `json:"body,omitempty"` }
UpdateVirtualGatewayRequest Request Object
func (UpdateVirtualGatewayRequest) String ¶
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"` // 用于公网专线,用户访问公网服务地址列表 ServiceEpGroup *[]string `json:"service_ep_group,omitempty"` // 是否使能bfd功能:true或false EnableBfd *bool `json:"enable_bfd,omitempty"` // 是否使能nqa功能:true或false EnableNqa *bool `json:"enable_nqa,omitempty"` // 对其他租户创建的虚拟接口进行确认,可以是ACCEPTED和REJECTED Status *UpdateVirtualInterfaceStatus `json:"status,omitempty"` }
UpdateVirtualInterface 虚拟接口更新对象
func (UpdateVirtualInterface) String ¶
func (o UpdateVirtualInterface) String() string
type UpdateVirtualInterfaceRequest ¶
type UpdateVirtualInterfaceRequest struct { // 虚拟接口ID。 VirtualInterfaceId string `json:"virtual_interface_id"` Body *UpdateVirtualInterfaceRequestBody `json:"body,omitempty"` }
UpdateVirtualInterfaceRequest Request Object
func (UpdateVirtualInterfaceRequest) String ¶
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的扩展参数才会显示扩展参数信息
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"` // 实例所属项目ID。 TenantId *string `json:"tenant_id,omitempty"` // 虚拟网关的名字 Name *string `json:"name,omitempty"` // 虚拟网关的描述 Description *string `json:"description,omitempty"` // 虚拟网关类型:default Type *string `json:"type,omitempty"` // 虚拟网关到访问云上服务IPv4子网列表,通常是vpc的cidrs LocalEpGroup *[]string `json:"local_ep_group,omitempty"` // 预留字段用于虚拟网关到访问云上服务IPv6子网列表,通常是vpc的cidrs LocalEpGroupIpv6 *[]string `json:"local_ep_group_ipv6,omitempty"` // 管理状态:true或false AdminStateUp *bool `json:"admin_state_up,omitempty"` // 操作状态,合法值是:ACTIVE,DOWN,BUILD,ERROR,PENDING_CREATE,PENDING_UPDATE,PENDING_DELETE Status *string `json:"status,omitempty"` // 虚拟网关本地的BGP自冶域号(asn) BgpAsn *int32 `json:"bgp_asn,omitempty"` // 实例所属企业项目ID EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 归属的设备ID DeviceId *string `json:"device_id,omitempty"` // 归属的冗余设备ID RedundantDeviceId *string `json:"redundant_device_id,omitempty"` // 归属的可用区对应的边界组(public border group),标识是否homezone局点。 PublicBorderGroup *string `json:"public_border_group,omitempty"` // 标签信息 Tags *[]Tag `json:"tags,omitempty"` }
VirtualGateway 虚拟网关对象
func (VirtualGateway) String ¶
func (o VirtualGateway) String() string
type VirtualInterface ¶
type VirtualInterface struct { // 虚拟接口的ID Id *string `json:"id,omitempty"` // 虚拟接口的名字 Name *string `json:"name,omitempty"` // 管理状态:true或false AdminStateUp *bool `json:"admin_state_up,omitempty"` // 虚拟接口接入带宽 Bandwidth *int32 `json:"bandwidth,omitempty"` // 虚拟接口创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 虚拟接口的描述 Description *string `json:"description,omitempty"` // 物理专线的ID DirectConnectId *string `json:"direct_connect_id,omitempty"` // 接入网关的类型:包括VGW,GDGW,LGW等 ServiceType *VirtualInterfaceServiceType `json:"service_type,omitempty"` // 操作状态,合法值是:ACTIVE,DOWN,BUILD,ERROR,PENDING_CREATE,PENDING_UPDATE,PENDING_DELETE,DELETED,AUTHORIZATION,REJECTED Status *string `json:"status,omitempty"` // 租户ID TenantId *string `json:"tenant_id,omitempty"` // 表示接口类型:private Type *VirtualInterfaceType `json:"type,omitempty"` // 虚拟网关的ID VgwId *string `json:"vgw_id,omitempty"` // 同用户网关对接的vlan, 配置范围0-3999 Vlan *int32 `json:"vlan,omitempty"` // VIF远端子网路由配置规格 RouteLimit *int32 `json:"route_limit,omitempty"` // 是否使能nqa功能:true或false EnableNqa *bool `json:"enable_nqa,omitempty"` // 是否使能nqa功能:true或false EnableBfd *bool `json:"enable_bfd,omitempty"` // VIF关联的链路聚合组ID LagId *string `json:"lag_id,omitempty"` // 归属的设备ID DeviceId *string `json:"device_id,omitempty"` // 实例所属企业项目ID EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 标签信息 Tags *[]Tag `json:"tags,omitempty"` // 云侧网关IPv4接口地址,该字段现已经移到vifpeer参数列表中,未来将会废弃。 LocalGatewayV4Ip *string `json:"local_gateway_v4_ip,omitempty"` // 客户侧网关IPv4接口地址,该字段现已经移到vifpeer参数列表中,未来将会废弃。 RemoteGatewayV4Ip *string `json:"remote_gateway_v4_ip,omitempty"` // 归属的IES站点的ID[(功能暂不支持)](tag:dt) IesId *string `json:"ies_id,omitempty"` // 如果资源的状态是Error的情况下,该参数会显示相关错误信息。 Reason *string `json:"reason,omitempty"` // 标识虚拟接口是否开启限速 RateLimit *bool `json:"rate_limit,omitempty"` // 接口的地址簇类型,ipv4,ipv6。该字段现已迁移到vifpeer参数列表中,未来将会废弃。 AddressFamily *string `json:"address_family,omitempty"` // 云侧网关IPv6接口地址,该字段现已迁移到vifpeer参数列表中,未来将会废弃。 LocalGatewayV6Ip *string `json:"local_gateway_v6_ip,omitempty"` // 客户侧网关IPv6接口地址,该字段现已迁移到vifpeer参数列表中,未来将会废弃。 RemoteGatewayV6Ip *string `json:"remote_gateway_v6_ip,omitempty"` // 本地网关的ID,用于IES场景。[(功能暂不支持)](tag:dt) LgwId *string `json:"lgw_id,omitempty"` // 虚拟接口关联的网关的ID GatewayId *string `json:"gateway_id,omitempty"` // 远端子网列表,记录租户侧的cidrs。该字段现已迁移到vifpeer参数列表中,未来将会废弃。 RemoteEpGroup *[]string `json:"remote_ep_group,omitempty"` // 该字段用于公网专线接口,表示租户可以访问云上公网服务地址列表。该字段现已迁移到vifpeer参数列表中,未来将会废弃。 ServiceEpGroup *[]string `json:"service_ep_group,omitempty"` // BGP的路由配置规格 BgpRouteLimit *int32 `json:"bgp_route_limit,omitempty"` // 虚拟接口的优先级,支持两种优先级状态normal和low。 接口优先级相同时表示负载关系,接口优先级不同时表示主备关系,出云流量优先转到优先级更高的normal接口。 目前仅BGP模式接口支持。 Priority *VirtualInterfacePriority `json:"priority,omitempty"` // vif的Peer的相关信息 VifPeers *[]VifPeer `json:"vif_peers,omitempty"` ExtendAttribute *VifExtendAttribute `json:"extend_attribute,omitempty"` }
VirtualInterface 虚拟接口对象
func (VirtualInterface) String ¶
func (o VirtualInterface) String() string
type VirtualInterfacePriority ¶ added in v0.1.73
type VirtualInterfacePriority struct {
// contains filtered or unexported fields
}
func (VirtualInterfacePriority) MarshalJSON ¶ added in v0.1.73
func (c VirtualInterfacePriority) MarshalJSON() ([]byte, error)
func (*VirtualInterfacePriority) UnmarshalJSON ¶ added in v0.1.73
func (c *VirtualInterfacePriority) UnmarshalJSON(b []byte) error
func (VirtualInterfacePriority) Value ¶ added in v0.1.73
func (c VirtualInterfacePriority) Value() string
type VirtualInterfacePriorityEnum ¶ added in v0.1.73
type VirtualInterfacePriorityEnum struct { NORMAL VirtualInterfacePriority LOW VirtualInterfacePriority }
func GetVirtualInterfacePriorityEnum ¶ added in v0.1.73
func GetVirtualInterfacePriorityEnum() VirtualInterfacePriorityEnum
type VirtualInterfaceServiceType ¶
type VirtualInterfaceServiceType struct {
// contains filtered or unexported fields
}
func (VirtualInterfaceServiceType) MarshalJSON ¶
func (c VirtualInterfaceServiceType) MarshalJSON() ([]byte, error)
func (*VirtualInterfaceServiceType) UnmarshalJSON ¶
func (c *VirtualInterfaceServiceType) UnmarshalJSON(b []byte) error
func (VirtualInterfaceServiceType) Value ¶
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_bandwidth_info_external.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_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_global_dc_gateway_request.go
- model_create_global_dc_gateway_request_body.go
- model_create_global_dc_gateway_request_body_global_dc_gateway.go
- model_create_global_dc_gateway_request_body_global_dc_gateway_tags.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_request_body.go
- model_create_peer_link_request_body_peer_link.go
- model_create_peer_link_request_body_peer_link_peer_site.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_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_external_create_global_dc_gateway.go
- model_external_create_peer_link.go
- model_external_list_global_dc_gateways.go
- model_external_list_peer_links.go
- model_external_show_global_dc_gateway.go
- model_external_show_peer_link.go
- model_external_update_global_dc_gateway.go
- model_external_update_peer_link.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_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_gateway_request.go
- model_list_global_dc_gateway_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_rms_global_dc_gateway_request.go
- model_list_rms_global_dc_gateway_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_locale.go
- model_locales_body.go
- model_match.go
- model_page_info.go
- model_peer_site_external.go
- model_resource.go
- model_rms_list_global_dc_gateways.go
- model_rms_show_global_dc_gateway.go
- model_show_connect_gateway_request.go
- model_show_connect_gateway_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_rms_global_dc_gateway_request.go
- model_show_rms_global_dc_gateway_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_gdgw_route_table_request.go
- model_update_gdgw_route_table_response.go
- model_update_gdgw_routetable_request_body.go
- model_update_gdgw_routetable_request_body_gdgw_routetable.go
- model_update_gdgw_routetable_request_body_gdgw_routetable_add_routes.go
- model_update_gdgw_routetable_request_body_gdgw_routetable_del_routes.go
- model_update_gdgw_routetable_request_body_gdgw_routetable_update_routes.go
- model_update_global_dc_gateway_request.go
- model_update_global_dc_gateway_request_body.go
- model_update_global_dc_gateway_request_body_global_dc_gateway.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_request_body.go
- model_update_peer_link_request_body_peer_link.go
- model_update_peer_link_response.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