Documentation ¶
Index ¶
- type BatchCreateResourceTagsRequest
- type BatchCreateResourceTagsRequestResourceType
- type BatchCreateResourceTagsRequestResourceTypeEnum
- type BatchCreateResourceTagsResponse
- type BatchOperateResourceTagsRequestBody
- type BatchOperateResourceTagsRequestBodyAction
- type BatchOperateResourceTagsRequestBodyActionEnum
- type CreateHostedDirectConnect
- type CreateHostedDirectConnectRequest
- type CreateHostedDirectConnectRequestBody
- type CreateHostedDirectConnectResponse
- type CreateResourceTagRequest
- type CreateResourceTagRequestBody
- type CreateResourceTagRequestResourceType
- type CreateResourceTagRequestResourceTypeEnum
- type CreateResourceTagResponse
- 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 DeleteDirectConnectRequest
- type DeleteDirectConnectResponse
- type DeleteHostedDirectConnectRequest
- type DeleteHostedDirectConnectResponse
- type DeleteResourceTagRequest
- type DeleteResourceTagRequestResourceType
- type DeleteResourceTagRequestResourceTypeEnum
- type DeleteResourceTagResponse
- 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 HostedDirectConnect
- type HostedDirectConnectProviderStatus
- type HostedDirectConnectProviderStatusEnum
- type HostedDirectConnectStatus
- type HostedDirectConnectStatusEnum
- type ListDirectConnectsRequest
- type ListDirectConnectsRequestSortDir
- type ListDirectConnectsRequestSortDirEnum
- type ListDirectConnectsResponse
- type ListHostedDirectConnectsRequest
- type ListHostedDirectConnectsRequestSortDir
- type ListHostedDirectConnectsRequestSortDirEnum
- type ListHostedDirectConnectsResponse
- type ListProjectTagsRequest
- type ListProjectTagsRequestResourceType
- type ListProjectTagsRequestResourceTypeEnum
- type ListProjectTagsResponse
- 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 Match
- type PageInfo
- type Resource
- type ShowDirectConnectRequest
- type ShowDirectConnectResponse
- type ShowHostedDirectConnectRequest
- type ShowHostedDirectConnectRequestSortDir
- type ShowHostedDirectConnectRequestSortDirEnum
- type ShowHostedDirectConnectResponse
- type ShowResourceTagRequest
- type ShowResourceTagRequestResourceType
- type ShowResourceTagRequestResourceTypeEnum
- type ShowResourceTagResponse
- type ShowVirtualGatewayRequest
- type ShowVirtualGatewayResponse
- type ShowVirtualInterfaceRequest
- type ShowVirtualInterfaceResponse
- type Tag
- type Tags
- type TenantIdDef
- type UpdateDirectConnect
- type UpdateDirectConnectProviderStatus
- type UpdateDirectConnectProviderStatusEnum
- type UpdateDirectConnectRequest
- type UpdateDirectConnectRequestBody
- type UpdateDirectConnectResponse
- type UpdateDirectConnectStatus
- type UpdateDirectConnectStatusEnum
- type UpdateHostedDirectConnect
- type UpdateHostedDirectConnectRequest
- type UpdateHostedDirectConnectRequestBody
- type UpdateHostedDirectConnectResponse
- 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 VirtualGatewayType
- type VirtualGatewayTypeEnum
- type VirtualInterface
- 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 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 DC_LAG 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 CreateHostedDirectConnect ¶
type CreateHostedDirectConnect struct { // 托管物理专线的名字。 Name *string `json:"name,omitempty"` // 托管专线的描述信息 Description *string `json:"description,omitempty"` // 指定托管专线接入带宽,单位Mbps Bandwidth *int32 `json:"bandwidth,omitempty"` // 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 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 DC_LAG 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 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 GDWW 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 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 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 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 DC_LAG 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 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) Type *DirectConnectType `json:"type,omitempty"` // hosted物理专线对应的hosting物理专线的ID HostingId *string `json:"hosting_id,omitempty"` // 计费模式:prepayment/bandwidth/traffic ChargeMode *DirectConnectChargeMode `json:"charge_mode,omitempty"` // 物理专线连接的线路运营商如:中国电信 中国联通 中国移动 中国其他 境外其他专线归属的运营商 Provider *string `json:"provider,omitempty"` // 管理状态:true或false AdminStateUp *bool `json:"admin_state_up,omitempty"` // 为托管hosted物理专线分配的vlan。 Vlan *int32 `json:"vlan,omitempty"` // 资源状态,合法值是:ACTIVE,DOWN,BUILD,ERROR,PENDING_DELETE,DELETED,APPLY,DENY,PENDING_PAY,PAID,ORDERING,ACCEPT,REJECTED 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"` // 实例所属企业项目ID EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 标签信息 Tags *[]Tag `json:"tags,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 PORT 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 ORDERING DirectConnectStatus ACCEPT DirectConnectStatus REJECTED DirectConnectStatus }
func GetDirectConnectStatusEnum ¶
func GetDirectConnectStatusEnum() DirectConnectStatusEnum
type DirectConnectType ¶
type DirectConnectType struct {
// contains filtered or unexported fields
}
func (DirectConnectType) MarshalJSON ¶
func (c DirectConnectType) MarshalJSON() ([]byte, error)
func (*DirectConnectType) UnmarshalJSON ¶
func (c *DirectConnectType) UnmarshalJSON(b []byte) error
func (DirectConnectType) Value ¶
func (c DirectConnectType) Value() string
type DirectConnectTypeEnum ¶
type DirectConnectTypeEnum struct { STANDARD DirectConnectType HOSTING DirectConnectType HOSTED DirectConnectType ONESTOP_STANDARD DirectConnectType ONESTOP_HOSTED DirectConnectType }
func GetDirectConnectTypeEnum ¶
func GetDirectConnectTypeEnum() DirectConnectTypeEnum
type DirectConnectVgwType ¶
type DirectConnectVgwType struct {
// contains filtered or unexported fields
}
func (DirectConnectVgwType) MarshalJSON ¶
func (c DirectConnectVgwType) MarshalJSON() ([]byte, error)
func (*DirectConnectVgwType) UnmarshalJSON ¶
func (c *DirectConnectVgwType) UnmarshalJSON(b []byte) error
func (DirectConnectVgwType) Value ¶
func (c DirectConnectVgwType) Value() string
type DirectConnectVgwTypeEnum ¶
type DirectConnectVgwTypeEnum struct {
DEFAULT DirectConnectVgwType
}
func GetDirectConnectVgwTypeEnum ¶
func GetDirectConnectVgwTypeEnum() DirectConnectVgwTypeEnum
type HostedDirectConnect ¶
type HostedDirectConnect struct { // 托管专线ID Id *string `json:"id,omitempty"` // 实例所属项目ID。 TenantId *string `json:"tenant_id,omitempty"` // 物理专线名字 Name *string `json:"name,omitempty"` // 物理专线的描述信息 Description *string `json:"description,omitempty"` // 物理专线接入带宽,单位Mbps。 Bandwidth *int32 `json:"bandwidth,omitempty"` // 专线的接入位置信息 Location *string `json:"location,omitempty"` // 物理专线对端所在的物理位置,省/市/街道或IDC名字。 PeerLocation *string `json:"peer_location,omitempty"` // hosted物理专线对应的hosting物理专线的ID HostingId *string `json:"hosting_id,omitempty"` // 专线线路的提供商 Provider *string `json:"provider,omitempty"` // 管理状态:true或false AdminStateUp *bool `json:"admin_state_up,omitempty"` // hosted物理专线预分配的vlan。 Vlan *int32 `json:"vlan,omitempty"` // 操作状态,合法值是:ACTIVE, ERROR,PENDING_CREATE,PENDING_UPDATE。ACTIVE:虚拟网关正常ERROR: 虚拟网关异常PENDING_CREATE:创建中PENDING_UPDATE:更新中 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"` }
HostedDirectConnect 托管专线对象信息
func (HostedDirectConnect) String ¶
func (o HostedDirectConnect) String() string
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 PAID HostedDirectConnectStatus APPLY HostedDirectConnectStatus PENDING_SURVEY HostedDirectConnectStatus ACTIVE HostedDirectConnectStatus DOWN HostedDirectConnectStatus ERROR HostedDirectConnectStatus PENDING_DELETE HostedDirectConnectStatus DELETED HostedDirectConnectStatus DENY HostedDirectConnectStatus PENDING_PAY HostedDirectConnectStatus ORDERING HostedDirectConnectStatus ACCEPT HostedDirectConnectStatus REJECTED HostedDirectConnectStatus }
func GetHostedDirectConnectStatusEnum ¶
func GetHostedDirectConnectStatusEnum() HostedDirectConnectStatusEnum
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 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 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 DC_LAG 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 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 DC_LAG 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"` // 通过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 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 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 ShowDirectConnectRequest ¶
type ShowDirectConnectRequest struct { // 物理专线连接ID。 DirectConnectId string `json:"direct_connect_id"` // 每页返回的个数。 取值范围:1~2000。 Limit *int32 `json:"limit,omitempty"` // 上一页最后一条资源记录的ID,为空时为查询第一页。 使用说明:必须与limit一起使用。 Marker *string `json:"marker,omitempty"` // 显示字段列表 Fields *[]string `json:"fields,omitempty"` }
ShowDirectConnectRequest Request Object
func (ShowDirectConnectRequest) String ¶
func (o ShowDirectConnectRequest) String() string
type ShowDirectConnectResponse ¶
type ShowDirectConnectResponse struct { // 操作请求ID RequestId *string `json:"request_id,omitempty"` DirectConnect *DirectConnect `json:"direct_connect,omitempty"` HttpStatusCode int `json:"-"` }
ShowDirectConnectResponse Response Object
func (ShowDirectConnectResponse) String ¶
func (o ShowDirectConnectResponse) String() string
type ShowHostedDirectConnectRequest ¶
type ShowHostedDirectConnectRequest struct { // 托管专线连接ID。 HostedConnectId string `json:"hosted_connect_id"` // 每页返回的个数。 取值范围:1~2000。 Limit *int32 `json:"limit,omitempty"` // 上一页最后一条资源记录的ID,为空时为查询第一页。 使用说明:必须与limit一起使用。 Marker *string `json:"marker,omitempty"` // 显示字段列表 Fields *[]string `json:"fields,omitempty"` // 返回结果按照升序(asc)或降序(desc)排列,默认为asc SortDir *[]ShowHostedDirectConnectRequestSortDir `json:"sort_dir,omitempty"` // 排序字段。 SortKey *string `json:"sort_key,omitempty"` // 根椐运营专线ID过滤托管专线列表 HostingId *[]string `json:"hosting_id,omitempty"` }
ShowHostedDirectConnectRequest Request Object
func (ShowHostedDirectConnectRequest) String ¶
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 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 DC_LAG ShowResourceTagRequestResourceType }
func GetShowResourceTagRequestResourceTypeEnum ¶
func GetShowResourceTagRequestResourceTypeEnum() ShowResourceTagRequestResourceTypeEnum
type ShowResourceTagResponse ¶
type ShowResourceTagResponse struct { // 标签列表 Tags *[]Tag `json:"tags,omitempty"` // 标签列表,没有标签默认为空数组。 SysTags *[]Tag `json:"sys_tags,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
ShowResourceTagResponse Response Object
func (ShowResourceTagResponse) String ¶
func (o ShowResourceTagResponse) String() string
type ShowVirtualGatewayRequest ¶
type ShowVirtualGatewayRequest struct { // 显示字段列表 Fields *[]string `json:"fields,omitempty"` // 虚拟网关ID VirtualGatewayId string `json:"virtual_gateway_id"` }
ShowVirtualGatewayRequest Request Object
func (ShowVirtualGatewayRequest) String ¶
func (o ShowVirtualGatewayRequest) String() string
type ShowVirtualGatewayResponse ¶
type ShowVirtualGatewayResponse struct { VirtualGateway *VirtualGateway `json:"virtual_gateway,omitempty"` // 操作请求ID RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
ShowVirtualGatewayResponse Response Object
func (ShowVirtualGatewayResponse) String ¶
func (o ShowVirtualGatewayResponse) String() string
type ShowVirtualInterfaceRequest ¶
type ShowVirtualInterfaceRequest struct { // 显示字段列表 Fields *[]string `json:"fields,omitempty"` // 虚拟接口ID。 VirtualInterfaceId string `json:"virtual_interface_id"` }
ShowVirtualInterfaceRequest Request Object
func (ShowVirtualInterfaceRequest) String ¶
func (o ShowVirtualInterfaceRequest) String() string
type ShowVirtualInterfaceResponse ¶
type ShowVirtualInterfaceResponse struct { // 操作请求ID RequestId *string `json:"request_id,omitempty"` VirtualInterface *VirtualInterface `json:"virtual_interface,omitempty"` HttpStatusCode int `json:"-"` }
ShowVirtualInterfaceResponse Response Object
func (ShowVirtualInterfaceResponse) String ¶
func (o ShowVirtualInterfaceResponse) String() string
type 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 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 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 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等可靠性检测信息
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"` }
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 *VirtualGatewayType `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"` // 标签信息 Tags *[]Tag `json:"tags,omitempty"` }
VirtualGateway 虚拟网关对象
func (VirtualGateway) String ¶
func (o VirtualGateway) String() string
type VirtualGatewayType ¶
type VirtualGatewayType struct {
// contains filtered or unexported fields
}
func (VirtualGatewayType) MarshalJSON ¶
func (c VirtualGatewayType) MarshalJSON() ([]byte, error)
func (*VirtualGatewayType) UnmarshalJSON ¶
func (c *VirtualGatewayType) UnmarshalJSON(b []byte) error
func (VirtualGatewayType) Value ¶
func (c VirtualGatewayType) Value() string
type VirtualGatewayTypeEnum ¶
type VirtualGatewayTypeEnum struct {
DEFAULT VirtualGatewayType
}
func GetVirtualGatewayTypeEnum ¶
func GetVirtualGatewayTypeEnum() VirtualGatewayTypeEnum
type VirtualInterface ¶
type VirtualInterface struct { // 虚拟接口的ID Id *string `json:"id,omitempty"` // 虚拟接口的名字 Name *string `json:"name,omitempty"` // 管理状态:true或false AdminStateUp *bool `json:"admin_state_up,omitempty"` // 虚拟接口接入带宽 Bandwidth *int32 `json:"bandwidth,omitempty"` // 虚拟接口创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 虚拟接口更新时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` // 虚拟接口的描述 Description *string `json:"description,omitempty"` // 物理专线的ID DirectConnectId *string `json:"direct_connect_id,omitempty"` // 接入网关的类型:包括VGW,GDGW,LGW等 ServiceType *VirtualInterfaceServiceType `json:"service_type,omitempty"` // 操作状态,合法值是:ACTIVE,DOWN,BUILD,ERROR,PENDING_CREATE,PENDING_UPDATE,PENDING_DELETE,DELETED,AUTHORIZATION,REJECTED Status *string `json:"status,omitempty"` // 租户ID TenantId *string `json:"tenant_id,omitempty"` // 表示接口类型:private Type *VirtualInterfaceType `json:"type,omitempty"` // 虚拟网关的ID VgwId *string `json:"vgw_id,omitempty"` // 同用户网关对接的vlan, 配置范围0-3999 Vlan *int32 `json:"vlan,omitempty"` // VIF远端子网路由配置规格 RouteLimit *int32 `json:"route_limit,omitempty"` // 是否使能nqa功能:true或false EnableNqa *bool `json:"enable_nqa,omitempty"` // 是否使能nqa功能:true或false EnableBfd *bool `json:"enable_bfd,omitempty"` // VIF关联的链路聚合组ID LagId *string `json:"lag_id,omitempty"` // 归属的设备ID DeviceId *string `json:"device_id,omitempty"` // 实例所属企业项目ID EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 标签信息 Tags *[]Tag `json:"tags,omitempty"` // vif的Peer的相关信息 VifPeers *[]VifPeer `json:"vif_peers,omitempty"` ExtendAttribute *VifExtendAttribute `json:"extend_attribute,omitempty"` }
VirtualInterface 虚拟接口对象
func (VirtualInterface) String ¶
func (o VirtualInterface) String() string
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 { VPC VirtualInterfaceServiceType VGW VirtualInterfaceServiceType GDWW 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_batch_create_resource_tags_request.go
- model_batch_create_resource_tags_response.go
- model_batch_operate_resource_tags_request_body.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_resource_tag_request.go
- model_create_resource_tag_request_body.go
- model_create_resource_tag_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_direct_connect_request.go
- model_delete_direct_connect_response.go
- model_delete_hosted_direct_connect_request.go
- model_delete_hosted_direct_connect_response.go
- model_delete_resource_tag_request.go
- model_delete_resource_tag_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_hosted_direct_connect.go
- model_list_direct_connects_request.go
- model_list_direct_connects_response.go
- model_list_hosted_direct_connects_request.go
- model_list_hosted_direct_connects_response.go
- model_list_project_tags_request.go
- model_list_project_tags_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_match.go
- model_page_info.go
- model_resource.go
- model_show_direct_connect_request.go
- model_show_direct_connect_response.go
- model_show_hosted_direct_connect_request.go
- model_show_hosted_direct_connect_response.go
- model_show_resource_tag_request.go
- model_show_resource_tag_response.go
- model_show_virtual_gateway_request.go
- model_show_virtual_gateway_response.go
- model_show_virtual_interface_request.go
- model_show_virtual_interface_response.go
- model_tag.go
- model_tags.go
- model_tenant_id_def.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_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_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