Documentation ¶
Index ¶
- type AcceptAttachmentRequest
- type AcceptAttachmentResponse
- type AssociateRouteTableRequest
- type AssociateRouteTableResponse
- type Association
- type AssociationRequestBody
- type AttachmentDetails
- type AttachmentResponse
- type AvailableZone
- type BatchCreateResourceTagsRequest
- type BatchCreateResourceTagsRequestResourceType
- type BatchCreateResourceTagsRequestResourceTypeEnum
- type BatchCreateResourceTagsResponse
- type BatchOperateResourceTagsRequestBody
- type BatchOperateResourceTagsRequestBodyAction
- type BatchOperateResourceTagsRequestBodyActionEnum
- type ChangeAvailabilityZoneRequest
- type ChangeAvailabilityZoneResponse
- type CreateEnterpriseRouter
- type CreateEnterpriseRouterChargeMode
- type CreateEnterpriseRouterChargeModeEnum
- type CreateEnterpriseRouterRequest
- type CreateEnterpriseRouterRequestBody
- type CreateEnterpriseRouterResponse
- type CreateFlowLogRequest
- type CreateFlowLogRequestBody
- type CreateFlowLogResponse
- type CreateResourceTagRequest
- type CreateResourceTagRequestBody
- type CreateResourceTagRequestResourceType
- type CreateResourceTagRequestResourceTypeEnum
- type CreateResourceTagResponse
- type CreateRoute
- type CreateRouteRequestBody
- type CreateRouteTable
- type CreateRouteTableRequest
- type CreateRouteTableRequestBody
- type CreateRouteTableResponse
- type CreateStaticRouteRequest
- type CreateStaticRouteResponse
- type CreateVpcAttachmentBody
- type CreateVpcAttachmentRequest
- type CreateVpcAttachmentResponse
- type DeleteEnterpriseRouterRequest
- type DeleteEnterpriseRouterResponse
- type DeleteFlowLogRequest
- type DeleteFlowLogResponse
- type DeleteResourceTagRequest
- type DeleteResourceTagRequestResourceType
- type DeleteResourceTagRequestResourceTypeEnum
- type DeleteResourceTagResponse
- type DeleteRouteTableRequest
- type DeleteRouteTableResponse
- type DeleteStaticRouteRequest
- type DeleteStaticRouteResponse
- type DeleteVpcAttachmentRequest
- type DeleteVpcAttachmentResponse
- type DisableFlowLogRequest
- type DisableFlowLogResponse
- type DisablePropagationRequest
- type DisablePropagationResponse
- type DisassociateRouteTableRequest
- type DisassociateRouteTableResponse
- type EffectiveRoute
- type EnableFlowLogRequest
- type EnableFlowLogResponse
- type EnablePropagationRequest
- type EnablePropagationResponse
- type EnterpriseRouter
- type EnterpriseRouterAz
- type ExportRoutePolicy
- type FlowLog
- type FlowLogRequest
- type FlowLogRequestLogStoreType
- type FlowLogRequestLogStoreTypeEnum
- type FlowLogRequestResourceType
- type FlowLogRequestResourceTypeEnum
- type ImportRoutePolicy
- type ListAssociationsRequest
- type ListAssociationsRequestResourceType
- type ListAssociationsRequestResourceTypeEnum
- type ListAssociationsRequestSortDir
- type ListAssociationsRequestSortDirEnum
- type ListAssociationsRequestState
- type ListAssociationsRequestStateEnum
- type ListAssociationsResponse
- type ListAttachmentsRequest
- type ListAttachmentsRequestResourceType
- type ListAttachmentsRequestResourceTypeEnum
- type ListAttachmentsRequestSortDir
- type ListAttachmentsRequestSortDirEnum
- type ListAttachmentsRequestState
- type ListAttachmentsRequestStateEnum
- type ListAttachmentsResponse
- type ListAvailabilityZoneRequest
- type ListAvailabilityZoneResponse
- type ListEffectiveRoutesRequest
- type ListEffectiveRoutesRequestResourceType
- type ListEffectiveRoutesRequestResourceTypeEnum
- type ListEffectiveRoutesResponse
- type ListEnterpriseRoutersRequest
- type ListEnterpriseRoutersRequestSortDir
- type ListEnterpriseRoutersRequestSortDirEnum
- type ListEnterpriseRoutersRequestState
- type ListEnterpriseRoutersRequestStateEnum
- type ListEnterpriseRoutersResponse
- type ListFlowLogsRequest
- type ListFlowLogsRequestResourceType
- type ListFlowLogsRequestResourceTypeEnum
- type ListFlowLogsRequestSortDir
- type ListFlowLogsRequestSortDirEnum
- type ListFlowLogsResponse
- type ListProjectTagsRequest
- type ListProjectTagsRequestResourceType
- type ListProjectTagsRequestResourceTypeEnum
- type ListProjectTagsResponse
- type ListPropagationsRequest
- type ListPropagationsRequestResourceType
- type ListPropagationsRequestResourceTypeEnum
- type ListPropagationsRequestSortDir
- type ListPropagationsRequestSortDirEnum
- type ListPropagationsRequestState
- type ListPropagationsRequestStateEnum
- type ListPropagationsResponse
- type ListRouteTablesRequest
- type ListRouteTablesRequestSortDir
- type ListRouteTablesRequestSortDirEnum
- type ListRouteTablesRequestState
- type ListRouteTablesRequestStateEnum
- type ListRouteTablesResponse
- type ListStaticRoutesRequest
- type ListStaticRoutesRequestResourceType
- type ListStaticRoutesRequestResourceTypeEnum
- type ListStaticRoutesRequestSortDir
- type ListStaticRoutesRequestSortDirEnum
- type ListStaticRoutesResponse
- type ListVpcAttachmentsRequest
- type ListVpcAttachmentsRequestSortDir
- type ListVpcAttachmentsRequestSortDirEnum
- type ListVpcAttachmentsRequestState
- type ListVpcAttachmentsRequestStateEnum
- type ListVpcAttachmentsResponse
- type PageInfo
- type Propagation
- type PropagationRequestBody
- type Quota
- type RejectAttachmentRequest
- type RejectAttachmentResponse
- type Route
- type RouteAttachment
- type RouteTable
- type ShowAttachmentRequest
- type ShowAttachmentResponse
- type ShowEnterpriseRouterRequest
- type ShowEnterpriseRouterResponse
- type ShowFlowLogRequest
- type ShowFlowLogResponse
- type ShowQuotasRequest
- type ShowQuotasResponse
- type ShowResourceTagRequest
- type ShowResourceTagRequestResourceType
- type ShowResourceTagRequestResourceTypeEnum
- type ShowResourceTagResponse
- type ShowRouteTableRequest
- type ShowRouteTableResponse
- type ShowStaticRouteRequest
- type ShowStaticRouteResponse
- type ShowVpcAttachmentRequest
- type ShowVpcAttachmentResponse
- type Tag
- type Tags
- type UpdateAttachmentBody
- type UpdateAttachmentRequest
- type UpdateAttachmentRequestBody
- type UpdateAttachmentResponse
- type UpdateEnterpriseRouter
- type UpdateEnterpriseRouterRequest
- type UpdateEnterpriseRouterRequestBody
- type UpdateEnterpriseRouterResponse
- type UpdateFlowLogRequest
- type UpdateFlowLogRequestBody
- type UpdateFlowLogResponse
- type UpdateRoute
- type UpdateRouteRequestBody
- type UpdateRouteTable
- type UpdateRouteTableRequest
- type UpdateRouteTableRequestBody
- type UpdateRouteTableResponse
- type UpdateStaticRouteRequest
- type UpdateStaticRouteResponse
- type UpdateVpcAttachmentBody
- type UpdateVpcAttachmentRequest
- type UpdateVpcAttachmentRequestBody
- type UpdateVpcAttachmentResponse
- type VpcAttachmentCreateRequest
- type VpcAttachmentDetails
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcceptAttachmentRequest ¶ added in v0.1.56
type AcceptAttachmentRequest struct { // 企业路由器实例ID ErId string `json:"er_id"` // 连接ID AttachmentId string `json:"attachment_id"` }
AcceptAttachmentRequest Request Object
func (AcceptAttachmentRequest) String ¶ added in v0.1.56
func (o AcceptAttachmentRequest) String() string
type AcceptAttachmentResponse ¶ added in v0.1.56
type AcceptAttachmentResponse struct { Attachment *AttachmentResponse `json:"attachment,omitempty"` // 请求id RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
AcceptAttachmentResponse Response Object
func (AcceptAttachmentResponse) String ¶ added in v0.1.56
func (o AcceptAttachmentResponse) String() string
type AssociateRouteTableRequest ¶
type AssociateRouteTableRequest struct { // 幂等性标识 XClientToken *string `json:"X-Client-Token,omitempty"` // 企业路由器实例ID ErId string `json:"er_id"` // 路由表ID RouteTableId string `json:"route_table_id"` Body *AssociationRequestBody `json:"body,omitempty"` }
AssociateRouteTableRequest Request Object
func (AssociateRouteTableRequest) String ¶
func (o AssociateRouteTableRequest) String() string
type AssociateRouteTableResponse ¶
type AssociateRouteTableResponse struct { Association *Association `json:"association,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` XClientToken *string `json:"X-Client-Token,omitempty"` HttpStatusCode int `json:"-"` }
AssociateRouteTableResponse Response Object
func (AssociateRouteTableResponse) String ¶
func (o AssociateRouteTableResponse) String() string
type Association ¶
type Association struct { // 关联唯一标识 Id *string `json:"id,omitempty"` // 路由表唯一标识 RouteTableId *string `json:"route_table_id,omitempty"` // 连接唯一标识 AttachmentId *string `json:"attachment_id,omitempty"` // 连接的类型 ResourceType *string `json:"resource_type,omitempty"` // 连接的资源唯一标识 ResourceId *string `json:"resource_id,omitempty"` // 状态 State *string `json:"state,omitempty"` // 资源创建时间 采用UTC时间 格式:YYYY-MM-DDTHH:MM:SS CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"` // 资源更新时间 采用UTC时间 格式:YYYY-MM-DDTHH:MM:SS UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"` RoutePolicy *ExportRoutePolicy `json:"route_policy,omitempty"` }
Association 关联详情
func (Association) String ¶
func (o Association) String() string
type AssociationRequestBody ¶
type AssociationRequestBody struct { // 连接唯一标识 AttachmentId *string `json:"attachment_id,omitempty"` RoutePolicy *ExportRoutePolicy `json:"route_policy,omitempty"` }
AssociationRequestBody 关联
func (AssociationRequestBody) String ¶
func (o AssociationRequestBody) String() string
type AttachmentDetails ¶
type AttachmentDetails struct { // 连接ID Id string `json:"id"` // 连接名字 Name string `json:"name"` // 描述信息 Description *string `json:"description,omitempty"` // 连接状态:pending|available|modifying|deleting|deleted|failed|pending_acceptance|rejected|initiating_request|freezed State *string `json:"state,omitempty"` // 创建时间 CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"` // 更新时间 UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"` // 企业路由器关联tag Tags *[]Tag `json:"tags,omitempty"` // 项目ID ProjectId string `json:"project_id"` // er id ErId *string `json:"er_id,omitempty"` // 内部连接关联的资源ID ResourceId string `json:"resource_id"` // 内部连接关联的资源类型: - vgw:云专线的虚拟网关 - vpn:vpn网关 - - peering:对等连接,通过云连接CC加载不同区域的企业路由器来创建“对等连接(Peering)”连接 - - - vpc:虚拟私有云 - ResourceType string `json:"resource_type"` // 资源所属项目ID ResourceProjectId *string `json:"resource_project_id,omitempty"` // 表示此连接是否被关联 Associated *bool `json:"associated,omitempty"` // 关联路由表id RouteTableId *string `json:"route_table_id,omitempty"` }
func (AttachmentDetails) String ¶
func (o AttachmentDetails) String() string
type AttachmentResponse ¶
type AttachmentResponse struct { // 连接名字 Name string `json:"name"` // 连接ID Id string `json:"id"` // 描述信息 Description string `json:"description"` // 连接状态:pending|available|modifying|deleting|deleted|failed|pending_acceptance|rejected|initiating_request|freezed State string `json:"state"` // 创建时间 CreatedAt *sdktime.SdkTime `json:"created_at"` // 更新时间 UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"` // 企业路由器关联tag Tags *[]Tag `json:"tags,omitempty"` // 项目ID ProjectId string `json:"project_id"` // 内部连接关联的资源ID ResourceId string `json:"resource_id"` // 内部连接关联的资源类型: - vgw:云专线的虚拟网关 - vpn:vpn网关 - - peering:对等连接,通过云连接CC加载不同区域的企业路由器来创建“对等连接(Peering)”连接 - - - vpc:虚拟私有云 - ResourceType string `json:"resource_type"` // 资源所属项目ID ResourceProjectId *string `json:"resource_project_id,omitempty"` }
AttachmentResponse 连接基本信息详情
func (AttachmentResponse) String ¶
func (o AttachmentResponse) String() string
type AvailableZone ¶
type AvailableZone struct { // 可用区编码 Code *string `json:"code,omitempty"` // 可用区是否可用available|unavailable State *string `json:"state,omitempty"` }
func (AvailableZone) String ¶
func (o AvailableZone) String() string
type BatchCreateResourceTagsRequest ¶ added in v0.1.49
type BatchCreateResourceTagsRequest struct { // 资源ID ResourceId string `json:"resource_id"` // 标签资源类型: - instance: 企业路由器实例 - route-table: 路由表 - vpc-attachment: VPC连接 - vgw-attachment: 虚拟网关连接 - peering-attachment: 对等连接(Peering)连接 - vpn-attachment: VPN网关连接 - - - - - attachments: 所有连接类型 ResourceType BatchCreateResourceTagsRequestResourceType `json:"resource_type"` Body *BatchOperateResourceTagsRequestBody `json:"body,omitempty"` }
BatchCreateResourceTagsRequest Request Object
func (BatchCreateResourceTagsRequest) String ¶ added in v0.1.49
func (o BatchCreateResourceTagsRequest) String() string
type BatchCreateResourceTagsRequestResourceType ¶ added in v0.1.49
type BatchCreateResourceTagsRequestResourceType struct {
// contains filtered or unexported fields
}
func (BatchCreateResourceTagsRequestResourceType) MarshalJSON ¶ added in v0.1.49
func (c BatchCreateResourceTagsRequestResourceType) MarshalJSON() ([]byte, error)
func (*BatchCreateResourceTagsRequestResourceType) UnmarshalJSON ¶ added in v0.1.49
func (c *BatchCreateResourceTagsRequestResourceType) UnmarshalJSON(b []byte) error
func (BatchCreateResourceTagsRequestResourceType) Value ¶ added in v0.1.49
func (c BatchCreateResourceTagsRequestResourceType) Value() string
type BatchCreateResourceTagsRequestResourceTypeEnum ¶ added in v0.1.49
type BatchCreateResourceTagsRequestResourceTypeEnum struct { INSTANCE BatchCreateResourceTagsRequestResourceType ROUTE_TABLE BatchCreateResourceTagsRequestResourceType VPC_ATTACHMENT BatchCreateResourceTagsRequestResourceType DGW_ATTACHMENT BatchCreateResourceTagsRequestResourceType VGW_ATTACHMENT BatchCreateResourceTagsRequestResourceType PEERING_ATTACHMENT BatchCreateResourceTagsRequestResourceType VPN_ATTACHMENT BatchCreateResourceTagsRequestResourceType CAN_ATTACHMENT BatchCreateResourceTagsRequestResourceType ECN_ATTACHMENT BatchCreateResourceTagsRequestResourceType GDGW_ATTACHMENT BatchCreateResourceTagsRequestResourceType CONNECT_ATTACHMENT BatchCreateResourceTagsRequestResourceType CFW_ATTACHMENT BatchCreateResourceTagsRequestResourceType ATTACHMENTS BatchCreateResourceTagsRequestResourceType }
func GetBatchCreateResourceTagsRequestResourceTypeEnum ¶ added in v0.1.49
func GetBatchCreateResourceTagsRequestResourceTypeEnum() BatchCreateResourceTagsRequestResourceTypeEnum
type BatchCreateResourceTagsResponse ¶ added in v0.1.49
type BatchCreateResourceTagsResponse struct { Body *string `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
BatchCreateResourceTagsResponse Response Object
func (BatchCreateResourceTagsResponse) String ¶ added in v0.1.49
func (o BatchCreateResourceTagsResponse) String() string
type BatchOperateResourceTagsRequestBody ¶ added in v0.1.49
type BatchOperateResourceTagsRequestBody struct { // 功能说明:操作标识。 取值范围: create(创建) delete(删除) Action BatchOperateResourceTagsRequestBodyAction `json:"action"` // 标签列表。 Tags *[]Tag `json:"tags,omitempty"` }
BatchOperateResourceTagsRequestBody 批量添加删除的请求体。
func (BatchOperateResourceTagsRequestBody) String ¶ added in v0.1.49
func (o BatchOperateResourceTagsRequestBody) String() string
type BatchOperateResourceTagsRequestBodyAction ¶ added in v0.1.49
type BatchOperateResourceTagsRequestBodyAction struct {
// contains filtered or unexported fields
}
func (BatchOperateResourceTagsRequestBodyAction) MarshalJSON ¶ added in v0.1.49
func (c BatchOperateResourceTagsRequestBodyAction) MarshalJSON() ([]byte, error)
func (*BatchOperateResourceTagsRequestBodyAction) UnmarshalJSON ¶ added in v0.1.49
func (c *BatchOperateResourceTagsRequestBodyAction) UnmarshalJSON(b []byte) error
func (BatchOperateResourceTagsRequestBodyAction) Value ¶ added in v0.1.49
func (c BatchOperateResourceTagsRequestBodyAction) Value() string
type BatchOperateResourceTagsRequestBodyActionEnum ¶ added in v0.1.49
type BatchOperateResourceTagsRequestBodyActionEnum struct { CREATE BatchOperateResourceTagsRequestBodyAction DELETE BatchOperateResourceTagsRequestBodyAction }
func GetBatchOperateResourceTagsRequestBodyActionEnum ¶ added in v0.1.49
func GetBatchOperateResourceTagsRequestBodyActionEnum() BatchOperateResourceTagsRequestBodyActionEnum
type ChangeAvailabilityZoneRequest ¶
type ChangeAvailabilityZoneRequest struct { // 企业路由器实例ID ErId string `json:"er_id"` Body *EnterpriseRouterAz `json:"body,omitempty"` }
ChangeAvailabilityZoneRequest Request Object
func (ChangeAvailabilityZoneRequest) String ¶
func (o ChangeAvailabilityZoneRequest) String() string
type ChangeAvailabilityZoneResponse ¶
type ChangeAvailabilityZoneResponse struct { Instance *EnterpriseRouter `json:"instance,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
ChangeAvailabilityZoneResponse Response Object
func (ChangeAvailabilityZoneResponse) String ¶
func (o ChangeAvailabilityZoneResponse) String() string
type CreateEnterpriseRouter ¶
type CreateEnterpriseRouter struct { // 企业路由器实例名称 Name string `json:"name"` // 企业路由器实例描述信息 Description *string `json:"description,omitempty"` // 企业路由器实例的BGP AS号 Asn int64 `json:"asn"` // 企业项目ID EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 计费模式 按需 ChargeMode *CreateEnterpriseRouterChargeMode `json:"charge_mode,omitempty"` // 标签信息 Tags *[]Tag `json:"tags,omitempty"` // 是否开启默认路由表传播,默认false不开启 EnableDefaultPropagation *bool `json:"enable_default_propagation,omitempty"` // 是否开启默认路由表关联,默认false不开启 EnableDefaultAssociation *bool `json:"enable_default_association,omitempty"` // 企业路由器所在的可用区列表 AvailabilityZoneIds []string `json:"availability_zone_ids"` AutoAcceptSharedAttachments *bool `json:"auto_accept_shared_attachments,omitempty"` }
CreateEnterpriseRouter 企业路由器
func (CreateEnterpriseRouter) String ¶
func (o CreateEnterpriseRouter) String() string
type CreateEnterpriseRouterChargeMode ¶
type CreateEnterpriseRouterChargeMode struct {
// contains filtered or unexported fields
}
func (CreateEnterpriseRouterChargeMode) MarshalJSON ¶
func (c CreateEnterpriseRouterChargeMode) MarshalJSON() ([]byte, error)
func (*CreateEnterpriseRouterChargeMode) UnmarshalJSON ¶
func (c *CreateEnterpriseRouterChargeMode) UnmarshalJSON(b []byte) error
func (CreateEnterpriseRouterChargeMode) Value ¶
func (c CreateEnterpriseRouterChargeMode) Value() string
type CreateEnterpriseRouterChargeModeEnum ¶
type CreateEnterpriseRouterChargeModeEnum struct { POST_PAID CreateEnterpriseRouterChargeMode PRE_PAID CreateEnterpriseRouterChargeMode }
func GetCreateEnterpriseRouterChargeModeEnum ¶
func GetCreateEnterpriseRouterChargeModeEnum() CreateEnterpriseRouterChargeModeEnum
type CreateEnterpriseRouterRequest ¶
type CreateEnterpriseRouterRequest struct { // 幂等性标识 XClientToken *string `json:"X-Client-Token,omitempty"` Body *CreateEnterpriseRouterRequestBody `json:"body,omitempty"` }
CreateEnterpriseRouterRequest Request Object
func (CreateEnterpriseRouterRequest) String ¶
func (o CreateEnterpriseRouterRequest) String() string
type CreateEnterpriseRouterRequestBody ¶
type CreateEnterpriseRouterRequestBody struct {
Instance *CreateEnterpriseRouter `json:"instance"`
}
CreateEnterpriseRouterRequestBody This is a auto create Body Object
func (CreateEnterpriseRouterRequestBody) String ¶
func (o CreateEnterpriseRouterRequestBody) String() string
type CreateEnterpriseRouterResponse ¶
type CreateEnterpriseRouterResponse struct { Instance *EnterpriseRouter `json:"instance,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` XClientToken *string `json:"X-Client-Token,omitempty"` HttpStatusCode int `json:"-"` }
CreateEnterpriseRouterResponse Response Object
func (CreateEnterpriseRouterResponse) String ¶
func (o CreateEnterpriseRouterResponse) String() string
type CreateFlowLogRequest ¶ added in v0.1.49
type CreateFlowLogRequest struct { // 幂等性标识 XClientToken *string `json:"X-Client-Token,omitempty"` // 企业路由器实例ID ErId string `json:"er_id"` Body *CreateFlowLogRequestBody `json:"body,omitempty"` }
CreateFlowLogRequest Request Object
func (CreateFlowLogRequest) String ¶ added in v0.1.49
func (o CreateFlowLogRequest) String() string
type CreateFlowLogRequestBody ¶ added in v0.1.49
type CreateFlowLogRequestBody struct {
FlowLog *FlowLogRequest `json:"flow_log"`
}
CreateFlowLogRequestBody 创建流日志请求体
func (CreateFlowLogRequestBody) String ¶ added in v0.1.49
func (o CreateFlowLogRequestBody) String() string
type CreateFlowLogResponse ¶ added in v0.1.49
type CreateFlowLogResponse struct { FlowLog *FlowLog `json:"flow_log,omitempty"` // 请求id RequestId *string `json:"request_id,omitempty"` XClientToken *string `json:"X-Client-Token,omitempty"` HttpStatusCode int `json:"-"` }
CreateFlowLogResponse Response Object
func (CreateFlowLogResponse) String ¶ added in v0.1.49
func (o CreateFlowLogResponse) String() string
type CreateResourceTagRequest ¶ added in v0.1.12
type CreateResourceTagRequest struct { // 资源ID ResourceId string `json:"resource_id"` // 标签资源类型: - instance: 企业路由器实例 - route-table: 路由表 - vpc-attachment: VPC连接 - vgw-attachment: 虚拟网关连接 - peering-attachment: 对等连接(Peering)连接 - vpn-attachment: VPN网关连接 - - - - - attachments: 所有连接类型 ResourceType CreateResourceTagRequestResourceType `json:"resource_type"` Body *CreateResourceTagRequestBody `json:"body,omitempty"` }
CreateResourceTagRequest Request Object
func (CreateResourceTagRequest) String ¶ added in v0.1.12
func (o CreateResourceTagRequest) String() string
type CreateResourceTagRequestBody ¶ added in v0.1.12
type CreateResourceTagRequestBody struct {
Tag *Tag `json:"tag"`
}
CreateResourceTagRequestBody 创建资源标签的请求体
func (CreateResourceTagRequestBody) String ¶ added in v0.1.12
func (o CreateResourceTagRequestBody) String() string
type CreateResourceTagRequestResourceType ¶ added in v0.1.12
type CreateResourceTagRequestResourceType struct {
// contains filtered or unexported fields
}
func (CreateResourceTagRequestResourceType) MarshalJSON ¶ added in v0.1.12
func (c CreateResourceTagRequestResourceType) MarshalJSON() ([]byte, error)
func (*CreateResourceTagRequestResourceType) UnmarshalJSON ¶ added in v0.1.12
func (c *CreateResourceTagRequestResourceType) UnmarshalJSON(b []byte) error
func (CreateResourceTagRequestResourceType) Value ¶ added in v0.1.12
func (c CreateResourceTagRequestResourceType) Value() string
type CreateResourceTagRequestResourceTypeEnum ¶ added in v0.1.12
type CreateResourceTagRequestResourceTypeEnum struct { INSTANCE CreateResourceTagRequestResourceType ROUTE_TABLE CreateResourceTagRequestResourceType VPC_ATTACHMENT CreateResourceTagRequestResourceType DGW_ATTACHMENT CreateResourceTagRequestResourceType VGW_ATTACHMENT CreateResourceTagRequestResourceType PEERING_ATTACHMENT CreateResourceTagRequestResourceType VPN_ATTACHMENT CreateResourceTagRequestResourceType CAN_ATTACHMENT CreateResourceTagRequestResourceType ECN_ATTACHMENT CreateResourceTagRequestResourceType GDGW_ATTACHMENT CreateResourceTagRequestResourceType CONNECT_ATTACHMENT CreateResourceTagRequestResourceType CFW_ATTACHMENT CreateResourceTagRequestResourceType ATTACHMENTS CreateResourceTagRequestResourceType }
func GetCreateResourceTagRequestResourceTypeEnum ¶ added in v0.1.12
func GetCreateResourceTagRequestResourceTypeEnum() CreateResourceTagRequestResourceTypeEnum
type CreateResourceTagResponse ¶ added in v0.1.12
type CreateResourceTagResponse struct { Body *string `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
CreateResourceTagResponse Response Object
func (CreateResourceTagResponse) String ¶ added in v0.1.12
func (o CreateResourceTagResponse) String() string
type CreateRoute ¶
type CreateRoute struct { // 路由目的地址 Destination string `json:"destination"` // 路由下一跳指向的连接ID AttachmentId *string `json:"attachment_id,omitempty"` // 是否为黑洞路由,默认为false IsBlackhole *bool `json:"is_blackhole,omitempty"` }
CreateRoute 创建路由请求体
func (CreateRoute) String ¶
func (o CreateRoute) String() string
type CreateRouteRequestBody ¶
type CreateRouteRequestBody struct {
Route *CreateRoute `json:"route"`
}
CreateRouteRequestBody This is a auto create Body Object
func (CreateRouteRequestBody) String ¶
func (o CreateRouteRequestBody) String() string
type CreateRouteTable ¶
type CreateRouteTable struct { // 路由器表名称 Name string `json:"name"` // 路由器表描述信息 Description *string `json:"description,omitempty"` // 标签信息 Tags *[]Tag `json:"tags,omitempty"` }
CreateRouteTable 路由表
func (CreateRouteTable) String ¶
func (o CreateRouteTable) String() string
type CreateRouteTableRequest ¶
type CreateRouteTableRequest struct { // 幂等性标识 XClientToken *string `json:"X-Client-Token,omitempty"` // 企业路由器实例ID ErId string `json:"er_id"` Body *CreateRouteTableRequestBody `json:"body,omitempty"` }
CreateRouteTableRequest Request Object
func (CreateRouteTableRequest) String ¶
func (o CreateRouteTableRequest) String() string
type CreateRouteTableRequestBody ¶
type CreateRouteTableRequestBody struct {
RouteTable *CreateRouteTable `json:"route_table,omitempty"`
}
CreateRouteTableRequestBody This is a auto create Body Object
func (CreateRouteTableRequestBody) String ¶
func (o CreateRouteTableRequestBody) String() string
type CreateRouteTableResponse ¶
type CreateRouteTableResponse struct { RouteTable *RouteTable `json:"route_table,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` XClientToken *string `json:"X-Client-Token,omitempty"` HttpStatusCode int `json:"-"` }
CreateRouteTableResponse Response Object
func (CreateRouteTableResponse) String ¶
func (o CreateRouteTableResponse) String() string
type CreateStaticRouteRequest ¶
type CreateStaticRouteRequest struct { // 幂等性标识 XClientToken *string `json:"X-Client-Token,omitempty"` // 路由表ID RouteTableId string `json:"route_table_id"` Body *CreateRouteRequestBody `json:"body,omitempty"` }
CreateStaticRouteRequest Request Object
func (CreateStaticRouteRequest) String ¶
func (o CreateStaticRouteRequest) String() string
type CreateStaticRouteResponse ¶
type CreateStaticRouteResponse struct { Route *Route `json:"route,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` XClientToken *string `json:"X-Client-Token,omitempty"` HttpStatusCode int `json:"-"` }
CreateStaticRouteResponse Response Object
func (CreateStaticRouteResponse) String ¶
func (o CreateStaticRouteResponse) String() string
type CreateVpcAttachmentBody ¶
type CreateVpcAttachmentBody struct {
VpcAttachment *VpcAttachmentCreateRequest `json:"vpc_attachment"`
}
func (CreateVpcAttachmentBody) String ¶
func (o CreateVpcAttachmentBody) String() string
type CreateVpcAttachmentRequest ¶
type CreateVpcAttachmentRequest struct { // 幂等性标识 XClientToken *string `json:"X-Client-Token,omitempty"` // 企业路由器实例ID ErId string `json:"er_id"` Body *CreateVpcAttachmentBody `json:"body,omitempty"` }
CreateVpcAttachmentRequest Request Object
func (CreateVpcAttachmentRequest) String ¶
func (o CreateVpcAttachmentRequest) String() string
type CreateVpcAttachmentResponse ¶
type CreateVpcAttachmentResponse struct { VpcAttachment *VpcAttachmentDetails `json:"vpc_attachment,omitempty"` // 请求id RequestId *string `json:"request_id,omitempty"` XClientToken *string `json:"X-Client-Token,omitempty"` HttpStatusCode int `json:"-"` }
CreateVpcAttachmentResponse Response Object
func (CreateVpcAttachmentResponse) String ¶
func (o CreateVpcAttachmentResponse) String() string
type DeleteEnterpriseRouterRequest ¶
type DeleteEnterpriseRouterRequest struct { // 企业路由器实例ID ErId string `json:"er_id"` }
DeleteEnterpriseRouterRequest Request Object
func (DeleteEnterpriseRouterRequest) String ¶
func (o DeleteEnterpriseRouterRequest) String() string
type DeleteEnterpriseRouterResponse ¶
type DeleteEnterpriseRouterResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteEnterpriseRouterResponse Response Object
func (DeleteEnterpriseRouterResponse) String ¶
func (o DeleteEnterpriseRouterResponse) String() string
type DeleteFlowLogRequest ¶ added in v0.1.49
type DeleteFlowLogRequest struct { // 企业路由器实例ID ErId string `json:"er_id"` // 流日志ID FlowLogId string `json:"flow_log_id"` }
DeleteFlowLogRequest Request Object
func (DeleteFlowLogRequest) String ¶ added in v0.1.49
func (o DeleteFlowLogRequest) String() string
type DeleteFlowLogResponse ¶ added in v0.1.49
type DeleteFlowLogResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteFlowLogResponse Response Object
func (DeleteFlowLogResponse) String ¶ added in v0.1.49
func (o DeleteFlowLogResponse) String() string
type DeleteResourceTagRequest ¶ added in v0.1.12
type DeleteResourceTagRequest struct { // 标签键 Key string `json:"key"` // 资源ID ResourceId string `json:"resource_id"` // 标签资源类型: - instance: 企业路由器实例 - route-table: 路由表 - vpc-attachment: VPC连接 - vgw-attachment: 虚拟网关连接 - peering-attachment: 对等连接(Peering)连接 - vpn-attachment: VPN网关连接 - - - - - attachments: 所有连接类型 ResourceType DeleteResourceTagRequestResourceType `json:"resource_type"` }
DeleteResourceTagRequest Request Object
func (DeleteResourceTagRequest) String ¶ added in v0.1.12
func (o DeleteResourceTagRequest) String() string
type DeleteResourceTagRequestResourceType ¶ added in v0.1.12
type DeleteResourceTagRequestResourceType struct {
// contains filtered or unexported fields
}
func (DeleteResourceTagRequestResourceType) MarshalJSON ¶ added in v0.1.12
func (c DeleteResourceTagRequestResourceType) MarshalJSON() ([]byte, error)
func (*DeleteResourceTagRequestResourceType) UnmarshalJSON ¶ added in v0.1.12
func (c *DeleteResourceTagRequestResourceType) UnmarshalJSON(b []byte) error
func (DeleteResourceTagRequestResourceType) Value ¶ added in v0.1.12
func (c DeleteResourceTagRequestResourceType) Value() string
type DeleteResourceTagRequestResourceTypeEnum ¶ added in v0.1.12
type DeleteResourceTagRequestResourceTypeEnum struct { INSTANCE DeleteResourceTagRequestResourceType ROUTE_TABLE DeleteResourceTagRequestResourceType VPC_ATTACHMENT DeleteResourceTagRequestResourceType DGW_ATTACHMENT DeleteResourceTagRequestResourceType VGW_ATTACHMENT DeleteResourceTagRequestResourceType PEERING_ATTACHMENT DeleteResourceTagRequestResourceType VPN_ATTACHMENT DeleteResourceTagRequestResourceType CAN_ATTACHMENT DeleteResourceTagRequestResourceType ECN_ATTACHMENT DeleteResourceTagRequestResourceType GDGW_ATTACHMENT DeleteResourceTagRequestResourceType CONNECT_ATTACHMENT DeleteResourceTagRequestResourceType CFW_ATTACHMENT DeleteResourceTagRequestResourceType ATTACHMENTS DeleteResourceTagRequestResourceType }
func GetDeleteResourceTagRequestResourceTypeEnum ¶ added in v0.1.12
func GetDeleteResourceTagRequestResourceTypeEnum() DeleteResourceTagRequestResourceTypeEnum
type DeleteResourceTagResponse ¶ added in v0.1.12
type DeleteResourceTagResponse struct { Body *string `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
DeleteResourceTagResponse Response Object
func (DeleteResourceTagResponse) String ¶ added in v0.1.12
func (o DeleteResourceTagResponse) String() string
type DeleteRouteTableRequest ¶
type DeleteRouteTableRequest struct { // 企业路由器实例ID ErId string `json:"er_id"` // 路由表ID RouteTableId string `json:"route_table_id"` }
DeleteRouteTableRequest Request Object
func (DeleteRouteTableRequest) String ¶
func (o DeleteRouteTableRequest) String() string
type DeleteRouteTableResponse ¶
type DeleteRouteTableResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteRouteTableResponse Response Object
func (DeleteRouteTableResponse) String ¶
func (o DeleteRouteTableResponse) String() string
type DeleteStaticRouteRequest ¶
type DeleteStaticRouteRequest struct { // 路由表ID RouteTableId string `json:"route_table_id"` // 路由ID RouteId string `json:"route_id"` }
DeleteStaticRouteRequest Request Object
func (DeleteStaticRouteRequest) String ¶
func (o DeleteStaticRouteRequest) String() string
type DeleteStaticRouteResponse ¶
type DeleteStaticRouteResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteStaticRouteResponse Response Object
func (DeleteStaticRouteResponse) String ¶
func (o DeleteStaticRouteResponse) String() string
type DeleteVpcAttachmentRequest ¶
type DeleteVpcAttachmentRequest struct { // 企业路由器实例ID ErId string `json:"er_id"` // VPC连接ID VpcAttachmentId string `json:"vpc_attachment_id"` }
DeleteVpcAttachmentRequest Request Object
func (DeleteVpcAttachmentRequest) String ¶
func (o DeleteVpcAttachmentRequest) String() string
type DeleteVpcAttachmentResponse ¶
type DeleteVpcAttachmentResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteVpcAttachmentResponse Response Object
func (DeleteVpcAttachmentResponse) String ¶
func (o DeleteVpcAttachmentResponse) String() string
type DisableFlowLogRequest ¶ added in v0.1.49
type DisableFlowLogRequest struct { // 企业路由器实例ID ErId string `json:"er_id"` // 流日志ID FlowLogId string `json:"flow_log_id"` }
DisableFlowLogRequest Request Object
func (DisableFlowLogRequest) String ¶ added in v0.1.49
func (o DisableFlowLogRequest) String() string
type DisableFlowLogResponse ¶ added in v0.1.49
type DisableFlowLogResponse struct { FlowLog *FlowLog `json:"flow_log,omitempty"` // 请求id RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
DisableFlowLogResponse Response Object
func (DisableFlowLogResponse) String ¶ added in v0.1.49
func (o DisableFlowLogResponse) String() string
type DisablePropagationRequest ¶
type DisablePropagationRequest struct { // 企业路由器实例ID ErId string `json:"er_id"` // 路由表ID RouteTableId string `json:"route_table_id"` Body *PropagationRequestBody `json:"body,omitempty"` }
DisablePropagationRequest Request Object
func (DisablePropagationRequest) String ¶
func (o DisablePropagationRequest) String() string
type DisablePropagationResponse ¶
type DisablePropagationResponse struct {
HttpStatusCode int `json:"-"`
}
DisablePropagationResponse Response Object
func (DisablePropagationResponse) String ¶
func (o DisablePropagationResponse) String() string
type DisassociateRouteTableRequest ¶
type DisassociateRouteTableRequest struct { // 企业路由器实例ID ErId string `json:"er_id"` // 路由表ID RouteTableId string `json:"route_table_id"` Body *AssociationRequestBody `json:"body,omitempty"` }
DisassociateRouteTableRequest Request Object
func (DisassociateRouteTableRequest) String ¶
func (o DisassociateRouteTableRequest) String() string
type DisassociateRouteTableResponse ¶
type DisassociateRouteTableResponse struct {
HttpStatusCode int `json:"-"`
}
DisassociateRouteTableResponse Response Object
func (DisassociateRouteTableResponse) String ¶
func (o DisassociateRouteTableResponse) String() string
type EffectiveRoute ¶
type EffectiveRoute struct { // 路由ID RouteId *string `json:"route_id,omitempty"` // 路由目的地 Destination *string `json:"destination,omitempty"` // 路由下一跳列表 NextHops *[]RouteAttachment `json:"next_hops,omitempty"` // 是否黑洞路由 IsBlackhole *bool `json:"is_blackhole,omitempty"` // 路由类型 RouteType *string `json:"route_type,omitempty"` }
EffectiveRoute 有效路由数据
func (EffectiveRoute) String ¶
func (o EffectiveRoute) String() string
type EnableFlowLogRequest ¶ added in v0.1.49
type EnableFlowLogRequest struct { // 企业路由器实例ID ErId string `json:"er_id"` // 流日志ID FlowLogId string `json:"flow_log_id"` }
EnableFlowLogRequest Request Object
func (EnableFlowLogRequest) String ¶ added in v0.1.49
func (o EnableFlowLogRequest) String() string
type EnableFlowLogResponse ¶ added in v0.1.49
type EnableFlowLogResponse struct { FlowLog *FlowLog `json:"flow_log,omitempty"` // 请求id RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
EnableFlowLogResponse Response Object
func (EnableFlowLogResponse) String ¶ added in v0.1.49
func (o EnableFlowLogResponse) String() string
type EnablePropagationRequest ¶
type EnablePropagationRequest struct { // 幂等性标识 XClientToken *string `json:"X-Client-Token,omitempty"` // 企业路由器实例ID ErId string `json:"er_id"` // 路由表ID RouteTableId string `json:"route_table_id"` Body *PropagationRequestBody `json:"body,omitempty"` }
EnablePropagationRequest Request Object
func (EnablePropagationRequest) String ¶
func (o EnablePropagationRequest) String() string
type EnablePropagationResponse ¶
type EnablePropagationResponse struct { Propagation *Propagation `json:"propagation,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` XClientToken *string `json:"X-Client-Token,omitempty"` HttpStatusCode int `json:"-"` }
EnablePropagationResponse Response Object
func (EnablePropagationResponse) String ¶
func (o EnablePropagationResponse) String() string
type EnterpriseRouter ¶
type EnterpriseRouter struct { // 企业路由器实例的ID Id string `json:"id"` // 企业路由器实例名称 Name string `json:"name"` // 企业路由器实例描述信息 Description *string `json:"description,omitempty"` // 运行状态 State string `json:"state"` // 标签信息 Tags *[]Tag `json:"tags,omitempty"` // 计费模式 按需 ChargeMode *string `json:"charge_mode,omitempty"` // 创建时间 CreatedAt *sdktime.SdkTime `json:"created_at"` // 更新时间 UpdatedAt *sdktime.SdkTime `json:"updated_at"` // 企业项目ID EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 项目ID ProjectId string `json:"project_id"` // 企业路由器实例的BGP AS号 Asn int64 `json:"asn"` // 是否开启默认路由表传播,默认false不开启 EnableDefaultPropagation bool `json:"enable_default_propagation"` // 是否开启默认路由表关联,默认false不开启 EnableDefaultAssociation bool `json:"enable_default_association"` // 默认传播路由表id DefaultPropagationRouteTableId *string `json:"default_propagation_route_table_id,omitempty"` // 默认关联路由表id DefaultAssociationRouteTableId *string `json:"default_association_route_table_id,omitempty"` // 企业路由器所在可用区信息 AvailabilityZoneIds []string `json:"availability_zone_ids"` AutoAcceptSharedAttachments *bool `json:"auto_accept_shared_attachments,omitempty"` }
EnterpriseRouter 企业路由器
func (EnterpriseRouter) String ¶
func (o EnterpriseRouter) String() string
type EnterpriseRouterAz ¶
type EnterpriseRouterAz struct { // 企业路由器实例所在的可用区 AvailabilityZoneIds []string `json:"availability_zone_ids"` }
func (EnterpriseRouterAz) String ¶
func (o EnterpriseRouterAz) String() string
type ExportRoutePolicy ¶
type ExportRoutePolicy struct { // 出方向Ipv4协议路由策略id ExportPolicyId *string `json:"export_policy_id,omitempty"` }
ExportRoutePolicy 出方向路由策略
func (ExportRoutePolicy) String ¶
func (o ExportRoutePolicy) String() string
type FlowLog ¶ added in v0.1.49
type FlowLog struct { // 流日志ID Id string `json:"id"` // 流日志名称 Name string `json:"name"` // 流日志描述 Description *string `json:"description,omitempty"` // 流日志任务创建者项目ID ProjectId string `json:"project_id"` // 采集的资源类型:attachment ResourceType string `json:"resource_type"` // 采集的资源ID ResourceId string `json:"resource_id"` // 日志组ID LogGroupId string `json:"log_group_id"` // 日志流ID LogStreamId string `json:"log_stream_id"` // 流日志存储类型 LogStoreType string `json:"log_store_type"` // 日志聚合时间,单位s,取值范围:60-600 LogAggregationInterval *int32 `json:"log_aggregation_interval,omitempty"` // 创建时间 CreatedAt *sdktime.SdkTime `json:"created_at"` // 更新时间 UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"` // 日志资源状态:pending|available|modifying|deleting|deleted|failed State string `json:"state"` // 日志开关:true|false Enabled bool `json:"enabled"` }
FlowLog 流日志详情
type FlowLogRequest ¶ added in v0.1.49
type FlowLogRequest struct { // 流日志名称 Name string `json:"name"` // 流日志描述 Description *string `json:"description,omitempty"` // 流日志采集的资源类型: - VPC连接 - 虚拟网关连接 - 对等连接 ResourceType FlowLogRequestResourceType `json:"resource_type"` // 要采集的资源ID ResourceId string `json:"resource_id"` // 日志组ID。请在云日志服务中获取,详情请参见《云日志服务用户指南》。 LogGroupId string `json:"log_group_id"` // 日志主题ID。请在云日志服务中获取,详情请参见《云日志服务用户指南》。 LogStreamId string `json:"log_stream_id"` // 流日志的存储类型: - LTS: 云日志服务器存储 LogStoreType FlowLogRequestLogStoreType `json:"log_store_type"` }
FlowLogRequest 创建流日志请求体
func (FlowLogRequest) String ¶ added in v0.1.49
func (o FlowLogRequest) String() string
type FlowLogRequestLogStoreType ¶ added in v0.1.49
type FlowLogRequestLogStoreType struct {
// contains filtered or unexported fields
}
func (FlowLogRequestLogStoreType) MarshalJSON ¶ added in v0.1.49
func (c FlowLogRequestLogStoreType) MarshalJSON() ([]byte, error)
func (*FlowLogRequestLogStoreType) UnmarshalJSON ¶ added in v0.1.49
func (c *FlowLogRequestLogStoreType) UnmarshalJSON(b []byte) error
func (FlowLogRequestLogStoreType) Value ¶ added in v0.1.49
func (c FlowLogRequestLogStoreType) Value() string
type FlowLogRequestLogStoreTypeEnum ¶ added in v0.1.49
type FlowLogRequestLogStoreTypeEnum struct {
LTS FlowLogRequestLogStoreType
}
func GetFlowLogRequestLogStoreTypeEnum ¶ added in v0.1.49
func GetFlowLogRequestLogStoreTypeEnum() FlowLogRequestLogStoreTypeEnum
type FlowLogRequestResourceType ¶ added in v0.1.49
type FlowLogRequestResourceType struct {
// contains filtered or unexported fields
}
func (FlowLogRequestResourceType) MarshalJSON ¶ added in v0.1.49
func (c FlowLogRequestResourceType) MarshalJSON() ([]byte, error)
func (*FlowLogRequestResourceType) UnmarshalJSON ¶ added in v0.1.49
func (c *FlowLogRequestResourceType) UnmarshalJSON(b []byte) error
func (FlowLogRequestResourceType) Value ¶ added in v0.1.49
func (c FlowLogRequestResourceType) Value() string
type FlowLogRequestResourceTypeEnum ¶ added in v0.1.49
type FlowLogRequestResourceTypeEnum struct {
ATTACHMENT FlowLogRequestResourceType
}
func GetFlowLogRequestResourceTypeEnum ¶ added in v0.1.49
func GetFlowLogRequestResourceTypeEnum() FlowLogRequestResourceTypeEnum
type ImportRoutePolicy ¶
type ImportRoutePolicy struct { // 入方向Ipv4协议路由策略id ImportPolicyId *string `json:"import_policy_id,omitempty"` }
ImportRoutePolicy 入方向路由策略
func (ImportRoutePolicy) String ¶
func (o ImportRoutePolicy) String() string
type ListAssociationsRequest ¶
type ListAssociationsRequest struct { // 企业路由器实例ID ErId string `json:"er_id"` // 路由表ID RouteTableId string `json:"route_table_id"` // 每页返回的个数。 取值范围:0~2000。 Limit *int32 `json:"limit,omitempty"` // 上一页最后一条记录的企业路由器实例的id,为空时为查询第一页。 使用说明:必须与limit一起使用。 Marker *string `json:"marker,omitempty"` // 连接ID AttachmentId *[]string `json:"attachment_id,omitempty"` // - vpc:虚拟私有云 - vpn:vpn网关 - vgw:云专线的虚拟网关 - peering:对等连接,通过云连接CC加载不同区域的企业路由器来创建“对等连接(Peering)”连接 - - - - ResourceType *[]ListAssociationsRequestResourceType `json:"resource_type,omitempty"` // 状态 State *[]ListAssociationsRequestState `json:"state,omitempty"` // 按关键字排序,默认按照id排序,可选值:id|name|state SortKey *[]string `json:"sort_key,omitempty"` // 返回结果按照升序或降序排列,默认为asc,降序为desc SortDir *[]ListAssociationsRequestSortDir `json:"sort_dir,omitempty"` }
ListAssociationsRequest Request Object
func (ListAssociationsRequest) String ¶
func (o ListAssociationsRequest) String() string
type ListAssociationsRequestResourceType ¶
type ListAssociationsRequestResourceType struct {
// contains filtered or unexported fields
}
func (ListAssociationsRequestResourceType) MarshalJSON ¶
func (c ListAssociationsRequestResourceType) MarshalJSON() ([]byte, error)
func (*ListAssociationsRequestResourceType) UnmarshalJSON ¶
func (c *ListAssociationsRequestResourceType) UnmarshalJSON(b []byte) error
func (ListAssociationsRequestResourceType) Value ¶
func (c ListAssociationsRequestResourceType) Value() string
type ListAssociationsRequestResourceTypeEnum ¶
type ListAssociationsRequestResourceTypeEnum struct { VPC ListAssociationsRequestResourceType VPN ListAssociationsRequestResourceType DGW ListAssociationsRequestResourceType VGW ListAssociationsRequestResourceType PEERING ListAssociationsRequestResourceType CAN ListAssociationsRequestResourceType ECN ListAssociationsRequestResourceType GDGW ListAssociationsRequestResourceType CONNECT ListAssociationsRequestResourceType CFW ListAssociationsRequestResourceType }
func GetListAssociationsRequestResourceTypeEnum ¶
func GetListAssociationsRequestResourceTypeEnum() ListAssociationsRequestResourceTypeEnum
type ListAssociationsRequestSortDir ¶
type ListAssociationsRequestSortDir struct {
// contains filtered or unexported fields
}
func (ListAssociationsRequestSortDir) MarshalJSON ¶
func (c ListAssociationsRequestSortDir) MarshalJSON() ([]byte, error)
func (*ListAssociationsRequestSortDir) UnmarshalJSON ¶
func (c *ListAssociationsRequestSortDir) UnmarshalJSON(b []byte) error
func (ListAssociationsRequestSortDir) Value ¶
func (c ListAssociationsRequestSortDir) Value() string
type ListAssociationsRequestSortDirEnum ¶
type ListAssociationsRequestSortDirEnum struct { ASC ListAssociationsRequestSortDir DESC ListAssociationsRequestSortDir }
func GetListAssociationsRequestSortDirEnum ¶
func GetListAssociationsRequestSortDirEnum() ListAssociationsRequestSortDirEnum
type ListAssociationsRequestState ¶
type ListAssociationsRequestState struct {
// contains filtered or unexported fields
}
func (ListAssociationsRequestState) MarshalJSON ¶
func (c ListAssociationsRequestState) MarshalJSON() ([]byte, error)
func (*ListAssociationsRequestState) UnmarshalJSON ¶
func (c *ListAssociationsRequestState) UnmarshalJSON(b []byte) error
func (ListAssociationsRequestState) Value ¶
func (c ListAssociationsRequestState) Value() string
type ListAssociationsRequestStateEnum ¶
type ListAssociationsRequestStateEnum struct { PENDING ListAssociationsRequestState AVAILABLE ListAssociationsRequestState DELETING ListAssociationsRequestState DELETED ListAssociationsRequestState FAILED ListAssociationsRequestState MODIFYING ListAssociationsRequestState }
func GetListAssociationsRequestStateEnum ¶
func GetListAssociationsRequestStateEnum() ListAssociationsRequestStateEnum
type ListAssociationsResponse ¶
type ListAssociationsResponse struct { // 路由表关联列表 Associations *[]Association `json:"associations,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` PageInfo *PageInfo `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
ListAssociationsResponse Response Object
func (ListAssociationsResponse) String ¶
func (o ListAssociationsResponse) String() string
type ListAttachmentsRequest ¶
type ListAttachmentsRequest struct { // 企业路由器实例ID ErId string `json:"er_id"` // 每页返回的个数。 取值范围:0~2000。 Limit *int32 `json:"limit,omitempty"` // 上一页最后一条记录的企业路由器实例的id,为空时为查询第一页。 使用说明:必须与limit一起使用。 Marker *string `json:"marker,omitempty"` // 连接状态:pending|available|modifying|deleting|deleted|failed|pending_acceptance|rejected|initiating_request State *[]ListAttachmentsRequestState `json:"state,omitempty"` // - vpc:虚拟私有云 - vpn:vpn网关 - vgw:云专线的虚拟网关 - peering:对等连接,通过云连接CC加载不同区域的企业路由器来创建“对等连接(Peering)”连接 - - - - ResourceType *[]ListAttachmentsRequestResourceType `json:"resource_type,omitempty"` // 连接对应的资源ID列表 ResourceId *[]string `json:"resource_id,omitempty"` // 按关键字排序,默认按照id排序,可选值:id|name|state SortKey *[]string `json:"sort_key,omitempty"` // 返回结果按照升序或降序排列,默认为asc,降序为desc SortDir *[]ListAttachmentsRequestSortDir `json:"sort_dir,omitempty"` }
ListAttachmentsRequest Request Object
func (ListAttachmentsRequest) String ¶
func (o ListAttachmentsRequest) String() string
type ListAttachmentsRequestResourceType ¶
type ListAttachmentsRequestResourceType struct {
// contains filtered or unexported fields
}
func (ListAttachmentsRequestResourceType) MarshalJSON ¶
func (c ListAttachmentsRequestResourceType) MarshalJSON() ([]byte, error)
func (*ListAttachmentsRequestResourceType) UnmarshalJSON ¶
func (c *ListAttachmentsRequestResourceType) UnmarshalJSON(b []byte) error
func (ListAttachmentsRequestResourceType) Value ¶
func (c ListAttachmentsRequestResourceType) Value() string
type ListAttachmentsRequestResourceTypeEnum ¶
type ListAttachmentsRequestResourceTypeEnum struct { VPC ListAttachmentsRequestResourceType VPN ListAttachmentsRequestResourceType DGW ListAttachmentsRequestResourceType VGW ListAttachmentsRequestResourceType PEERING ListAttachmentsRequestResourceType CAN ListAttachmentsRequestResourceType ECN ListAttachmentsRequestResourceType GDGW ListAttachmentsRequestResourceType CONNECT ListAttachmentsRequestResourceType CFW ListAttachmentsRequestResourceType }
func GetListAttachmentsRequestResourceTypeEnum ¶
func GetListAttachmentsRequestResourceTypeEnum() ListAttachmentsRequestResourceTypeEnum
type ListAttachmentsRequestSortDir ¶
type ListAttachmentsRequestSortDir struct {
// contains filtered or unexported fields
}
func (ListAttachmentsRequestSortDir) MarshalJSON ¶
func (c ListAttachmentsRequestSortDir) MarshalJSON() ([]byte, error)
func (*ListAttachmentsRequestSortDir) UnmarshalJSON ¶
func (c *ListAttachmentsRequestSortDir) UnmarshalJSON(b []byte) error
func (ListAttachmentsRequestSortDir) Value ¶
func (c ListAttachmentsRequestSortDir) Value() string
type ListAttachmentsRequestSortDirEnum ¶
type ListAttachmentsRequestSortDirEnum struct { ASC ListAttachmentsRequestSortDir DESC ListAttachmentsRequestSortDir }
func GetListAttachmentsRequestSortDirEnum ¶
func GetListAttachmentsRequestSortDirEnum() ListAttachmentsRequestSortDirEnum
type ListAttachmentsRequestState ¶
type ListAttachmentsRequestState struct {
// contains filtered or unexported fields
}
func (ListAttachmentsRequestState) MarshalJSON ¶
func (c ListAttachmentsRequestState) MarshalJSON() ([]byte, error)
func (*ListAttachmentsRequestState) UnmarshalJSON ¶
func (c *ListAttachmentsRequestState) UnmarshalJSON(b []byte) error
func (ListAttachmentsRequestState) Value ¶
func (c ListAttachmentsRequestState) Value() string
type ListAttachmentsRequestStateEnum ¶
type ListAttachmentsRequestStateEnum struct { PENDING ListAttachmentsRequestState AVAILABLE ListAttachmentsRequestState MODIFYING ListAttachmentsRequestState DELETING ListAttachmentsRequestState DELETED ListAttachmentsRequestState FAILED ListAttachmentsRequestState INITIATING_REQUEST ListAttachmentsRequestState REJECTED ListAttachmentsRequestState PENDING_ACCEPTANCE ListAttachmentsRequestState }
func GetListAttachmentsRequestStateEnum ¶
func GetListAttachmentsRequestStateEnum() ListAttachmentsRequestStateEnum
type ListAttachmentsResponse ¶
type ListAttachmentsResponse struct { // 连接列表 Attachments *[]AttachmentDetails `json:"attachments,omitempty"` PageInfo *PageInfo `json:"page_info,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
ListAttachmentsResponse Response Object
func (ListAttachmentsResponse) String ¶
func (o ListAttachmentsResponse) String() string
type ListAvailabilityZoneRequest ¶
type ListAvailabilityZoneRequest struct { // 企业路由器ID InstanceId *string `json:"instance_id,omitempty"` }
ListAvailabilityZoneRequest Request Object
func (ListAvailabilityZoneRequest) String ¶
func (o ListAvailabilityZoneRequest) String() string
type ListAvailabilityZoneResponse ¶
type ListAvailabilityZoneResponse struct { // 可用区列表 AvailabilityZones *[]AvailableZone `json:"availability_zones,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
ListAvailabilityZoneResponse Response Object
func (ListAvailabilityZoneResponse) String ¶
func (o ListAvailabilityZoneResponse) String() string
type ListEffectiveRoutesRequest ¶
type ListEffectiveRoutesRequest struct { // 路由表ID RouteTableId string `json:"route_table_id"` // 每页返回的个数。 取值范围:0~2000。 Limit *int32 `json:"limit,omitempty"` // 上一页最后一条记录的企业路由器实例的id,为空时为查询第一页。 使用说明:必须与limit一起使用。 Marker *string `json:"marker,omitempty"` // 路由目的地址 Destination *[]string `json:"destination,omitempty"` // - vpc:虚拟私有云 - vpn:vpn网关 - vgw:云专线的虚拟网关 - peering:对等连接,通过云连接CC加载不同区域的企业路由器来创建“对等连接(Peering)”连接 - - - - ResourceType *[]ListEffectiveRoutesRequestResourceType `json:"resource_type,omitempty"` }
ListEffectiveRoutesRequest Request Object
func (ListEffectiveRoutesRequest) String ¶
func (o ListEffectiveRoutesRequest) String() string
type ListEffectiveRoutesRequestResourceType ¶
type ListEffectiveRoutesRequestResourceType struct {
// contains filtered or unexported fields
}
func (ListEffectiveRoutesRequestResourceType) MarshalJSON ¶
func (c ListEffectiveRoutesRequestResourceType) MarshalJSON() ([]byte, error)
func (*ListEffectiveRoutesRequestResourceType) UnmarshalJSON ¶
func (c *ListEffectiveRoutesRequestResourceType) UnmarshalJSON(b []byte) error
func (ListEffectiveRoutesRequestResourceType) Value ¶
func (c ListEffectiveRoutesRequestResourceType) Value() string
type ListEffectiveRoutesRequestResourceTypeEnum ¶
type ListEffectiveRoutesRequestResourceTypeEnum struct { VPC ListEffectiveRoutesRequestResourceType VPN ListEffectiveRoutesRequestResourceType DGW ListEffectiveRoutesRequestResourceType VGW ListEffectiveRoutesRequestResourceType PEERING ListEffectiveRoutesRequestResourceType CAN ListEffectiveRoutesRequestResourceType ECN ListEffectiveRoutesRequestResourceType GDGW ListEffectiveRoutesRequestResourceType CONNECT ListEffectiveRoutesRequestResourceType CFW ListEffectiveRoutesRequestResourceType }
func GetListEffectiveRoutesRequestResourceTypeEnum ¶
func GetListEffectiveRoutesRequestResourceTypeEnum() ListEffectiveRoutesRequestResourceTypeEnum
type ListEffectiveRoutesResponse ¶
type ListEffectiveRoutesResponse struct { // 路由列表 Routes *[]EffectiveRoute `json:"routes,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` PageInfo *PageInfo `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
ListEffectiveRoutesResponse Response Object
func (ListEffectiveRoutesResponse) String ¶
func (o ListEffectiveRoutesResponse) String() string
type ListEnterpriseRoutersRequest ¶
type ListEnterpriseRoutersRequest struct { // 每页返回的个数。 取值范围:0~2000。 Limit *int32 `json:"limit,omitempty"` // 上一页最后一条记录的企业路由器实例的id,为空时为查询第一页。 使用说明:必须与limit一起使用。 Marker *string `json:"marker,omitempty"` // 企业项目ID EnterpriseProjectId *[]string `json:"enterprise_project_id,omitempty"` // 企业路由器实例状态 State *[]ListEnterpriseRoutersRequestState `json:"state,omitempty"` // 根据资源ID查询,可同时查询多个。 Id *[]string `json:"id,omitempty"` // 连接对应的资源ID列表 ResourceId *[]string `json:"resource_id,omitempty"` // 过滤资源是否属于当前租户;取值为true时,只查属于当前租户的资源,不包括共享资源;为false时,查询当前租户及共享给该租户的资源; OwnedBySelf *bool `json:"owned_by_self,omitempty"` // 按关键字排序,默认按照id排序,可选值:id|name|state SortKey *[]string `json:"sort_key,omitempty"` // 返回结果按照升序或降序排列,默认为asc,降序为desc SortDir *[]ListEnterpriseRoutersRequestSortDir `json:"sort_dir,omitempty"` }
ListEnterpriseRoutersRequest Request Object
func (ListEnterpriseRoutersRequest) String ¶
func (o ListEnterpriseRoutersRequest) String() string
type ListEnterpriseRoutersRequestSortDir ¶
type ListEnterpriseRoutersRequestSortDir struct {
// contains filtered or unexported fields
}
func (ListEnterpriseRoutersRequestSortDir) MarshalJSON ¶
func (c ListEnterpriseRoutersRequestSortDir) MarshalJSON() ([]byte, error)
func (*ListEnterpriseRoutersRequestSortDir) UnmarshalJSON ¶
func (c *ListEnterpriseRoutersRequestSortDir) UnmarshalJSON(b []byte) error
func (ListEnterpriseRoutersRequestSortDir) Value ¶
func (c ListEnterpriseRoutersRequestSortDir) Value() string
type ListEnterpriseRoutersRequestSortDirEnum ¶
type ListEnterpriseRoutersRequestSortDirEnum struct { ASC ListEnterpriseRoutersRequestSortDir DESC ListEnterpriseRoutersRequestSortDir }
func GetListEnterpriseRoutersRequestSortDirEnum ¶
func GetListEnterpriseRoutersRequestSortDirEnum() ListEnterpriseRoutersRequestSortDirEnum
type ListEnterpriseRoutersRequestState ¶
type ListEnterpriseRoutersRequestState struct {
// contains filtered or unexported fields
}
func (ListEnterpriseRoutersRequestState) MarshalJSON ¶
func (c ListEnterpriseRoutersRequestState) MarshalJSON() ([]byte, error)
func (*ListEnterpriseRoutersRequestState) UnmarshalJSON ¶
func (c *ListEnterpriseRoutersRequestState) UnmarshalJSON(b []byte) error
func (ListEnterpriseRoutersRequestState) Value ¶
func (c ListEnterpriseRoutersRequestState) Value() string
type ListEnterpriseRoutersRequestStateEnum ¶
type ListEnterpriseRoutersRequestStateEnum struct { PENDING ListEnterpriseRoutersRequestState AVAILABLE ListEnterpriseRoutersRequestState MODIFYING ListEnterpriseRoutersRequestState DELETING ListEnterpriseRoutersRequestState DELETED ListEnterpriseRoutersRequestState FAILED ListEnterpriseRoutersRequestState }
func GetListEnterpriseRoutersRequestStateEnum ¶
func GetListEnterpriseRoutersRequestStateEnum() ListEnterpriseRoutersRequestStateEnum
type ListEnterpriseRoutersResponse ¶
type ListEnterpriseRoutersResponse struct { // 企业路由器列表 Instances *[]EnterpriseRouter `json:"instances,omitempty"` PageInfo *PageInfo `json:"page_info,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
ListEnterpriseRoutersResponse Response Object
func (ListEnterpriseRoutersResponse) String ¶
func (o ListEnterpriseRoutersResponse) String() string
type ListFlowLogsRequest ¶ added in v0.1.49
type ListFlowLogsRequest struct { // 企业路由器实例ID ErId string `json:"er_id"` // 采集的资源类型 ResourceType *ListFlowLogsRequestResourceType `json:"resource_type,omitempty"` // 连接对应的资源ID列表 ResourceId *[]string `json:"resource_id,omitempty"` // 每页返回的个数。 取值范围:0~2000。 Limit *int32 `json:"limit,omitempty"` // 上一页最后一条记录的企业路由器实例的id,为空时为查询第一页。 使用说明:必须与limit一起使用。 Marker *string `json:"marker,omitempty"` // 按关键字排序,默认按照id排序,可选值:id|name|state SortKey *[]string `json:"sort_key,omitempty"` // 返回结果按照升序或降序排列,默认为asc,降序为desc SortDir *[]ListFlowLogsRequestSortDir `json:"sort_dir,omitempty"` }
ListFlowLogsRequest Request Object
func (ListFlowLogsRequest) String ¶ added in v0.1.49
func (o ListFlowLogsRequest) String() string
type ListFlowLogsRequestResourceType ¶ added in v0.1.49
type ListFlowLogsRequestResourceType struct {
// contains filtered or unexported fields
}
func (ListFlowLogsRequestResourceType) MarshalJSON ¶ added in v0.1.49
func (c ListFlowLogsRequestResourceType) MarshalJSON() ([]byte, error)
func (*ListFlowLogsRequestResourceType) UnmarshalJSON ¶ added in v0.1.49
func (c *ListFlowLogsRequestResourceType) UnmarshalJSON(b []byte) error
func (ListFlowLogsRequestResourceType) Value ¶ added in v0.1.49
func (c ListFlowLogsRequestResourceType) Value() string
type ListFlowLogsRequestResourceTypeEnum ¶ added in v0.1.49
type ListFlowLogsRequestResourceTypeEnum struct {
ATTACHMENT ListFlowLogsRequestResourceType
}
func GetListFlowLogsRequestResourceTypeEnum ¶ added in v0.1.49
func GetListFlowLogsRequestResourceTypeEnum() ListFlowLogsRequestResourceTypeEnum
type ListFlowLogsRequestSortDir ¶ added in v0.1.49
type ListFlowLogsRequestSortDir struct {
// contains filtered or unexported fields
}
func (ListFlowLogsRequestSortDir) MarshalJSON ¶ added in v0.1.49
func (c ListFlowLogsRequestSortDir) MarshalJSON() ([]byte, error)
func (*ListFlowLogsRequestSortDir) UnmarshalJSON ¶ added in v0.1.49
func (c *ListFlowLogsRequestSortDir) UnmarshalJSON(b []byte) error
func (ListFlowLogsRequestSortDir) Value ¶ added in v0.1.49
func (c ListFlowLogsRequestSortDir) Value() string
type ListFlowLogsRequestSortDirEnum ¶ added in v0.1.49
type ListFlowLogsRequestSortDirEnum struct { ASC ListFlowLogsRequestSortDir DESC ListFlowLogsRequestSortDir }
func GetListFlowLogsRequestSortDirEnum ¶ added in v0.1.49
func GetListFlowLogsRequestSortDirEnum() ListFlowLogsRequestSortDirEnum
type ListFlowLogsResponse ¶ added in v0.1.49
type ListFlowLogsResponse struct { FlowLogs *[]FlowLog `json:"flow_logs,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` PageInfo *PageInfo `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
ListFlowLogsResponse Response Object
func (ListFlowLogsResponse) String ¶ added in v0.1.49
func (o ListFlowLogsResponse) String() string
type ListProjectTagsRequest ¶ added in v0.1.12
type ListProjectTagsRequest struct { // 标签资源类型: - instance: 企业路由器实例 - route-table: 路由表 - vpc-attachment: VPC连接 - vgw-attachment: 虚拟网关连接 - peering-attachment: 对等连接(Peering)连接 - vpn-attachment: VPN网关连接 - - - - - attachments: 所有连接类型 ResourceType ListProjectTagsRequestResourceType `json:"resource_type"` }
ListProjectTagsRequest Request Object
func (ListProjectTagsRequest) String ¶ added in v0.1.12
func (o ListProjectTagsRequest) String() string
type ListProjectTagsRequestResourceType ¶ added in v0.1.12
type ListProjectTagsRequestResourceType struct {
// contains filtered or unexported fields
}
func (ListProjectTagsRequestResourceType) MarshalJSON ¶ added in v0.1.12
func (c ListProjectTagsRequestResourceType) MarshalJSON() ([]byte, error)
func (*ListProjectTagsRequestResourceType) UnmarshalJSON ¶ added in v0.1.12
func (c *ListProjectTagsRequestResourceType) UnmarshalJSON(b []byte) error
func (ListProjectTagsRequestResourceType) Value ¶ added in v0.1.12
func (c ListProjectTagsRequestResourceType) Value() string
type ListProjectTagsRequestResourceTypeEnum ¶ added in v0.1.12
type ListProjectTagsRequestResourceTypeEnum struct { INSTANCE ListProjectTagsRequestResourceType ROUTE_TABLE ListProjectTagsRequestResourceType VPC_ATTACHMENT ListProjectTagsRequestResourceType DGW_ATTACHMENT ListProjectTagsRequestResourceType VGW_ATTACHMENT ListProjectTagsRequestResourceType PEERING_ATTACHMENT ListProjectTagsRequestResourceType VPN_ATTACHMENT ListProjectTagsRequestResourceType CAN_ATTACHMENT ListProjectTagsRequestResourceType ECN_ATTACHMENT ListProjectTagsRequestResourceType GDGW_ATTACHMENT ListProjectTagsRequestResourceType CONNECT_ATTACHMENT ListProjectTagsRequestResourceType CFW_ATTACHMENT ListProjectTagsRequestResourceType ATTACHMENTS ListProjectTagsRequestResourceType }
func GetListProjectTagsRequestResourceTypeEnum ¶ added in v0.1.12
func GetListProjectTagsRequestResourceTypeEnum() ListProjectTagsRequestResourceTypeEnum
type ListProjectTagsResponse ¶ added in v0.1.12
type ListProjectTagsResponse struct { // 标签列表。 Tags *[]Tags `json:"tags,omitempty"` HttpStatusCode int `json:"-"` }
ListProjectTagsResponse Response Object
func (ListProjectTagsResponse) String ¶ added in v0.1.12
func (o ListProjectTagsResponse) String() string
type ListPropagationsRequest ¶
type ListPropagationsRequest struct { // 企业路由器实例ID ErId string `json:"er_id"` // 路由表ID RouteTableId string `json:"route_table_id"` // 每页返回的个数。 取值范围:0~2000。 Limit *int32 `json:"limit,omitempty"` // 上一页最后一条记录的企业路由器实例的id,为空时为查询第一页。 使用说明:必须与limit一起使用。 Marker *string `json:"marker,omitempty"` // 连接ID AttachmentId *[]string `json:"attachment_id,omitempty"` // - vpc:虚拟私有云 - vpn:vpn网关 - vgw:云专线的虚拟网关 - peering:对等连接,通过云连接CC加载不同区域的企业路由器来创建“对等连接(Peering)”连接 - - - - ResourceType *[]ListPropagationsRequestResourceType `json:"resource_type,omitempty"` // 企业路由器实例状态 State *[]ListPropagationsRequestState `json:"state,omitempty"` // 按关键字排序,默认按照id排序,可选值:id|name|state SortKey *[]string `json:"sort_key,omitempty"` // 返回结果按照升序或降序排列,默认为asc,降序为desc SortDir *[]ListPropagationsRequestSortDir `json:"sort_dir,omitempty"` }
ListPropagationsRequest Request Object
func (ListPropagationsRequest) String ¶
func (o ListPropagationsRequest) String() string
type ListPropagationsRequestResourceType ¶
type ListPropagationsRequestResourceType struct {
// contains filtered or unexported fields
}
func (ListPropagationsRequestResourceType) MarshalJSON ¶
func (c ListPropagationsRequestResourceType) MarshalJSON() ([]byte, error)
func (*ListPropagationsRequestResourceType) UnmarshalJSON ¶
func (c *ListPropagationsRequestResourceType) UnmarshalJSON(b []byte) error
func (ListPropagationsRequestResourceType) Value ¶
func (c ListPropagationsRequestResourceType) Value() string
type ListPropagationsRequestResourceTypeEnum ¶
type ListPropagationsRequestResourceTypeEnum struct { VPC ListPropagationsRequestResourceType VPN ListPropagationsRequestResourceType DGW ListPropagationsRequestResourceType VGW ListPropagationsRequestResourceType PEERING ListPropagationsRequestResourceType CAN ListPropagationsRequestResourceType ECN ListPropagationsRequestResourceType GDGW ListPropagationsRequestResourceType CONNECT ListPropagationsRequestResourceType CFW ListPropagationsRequestResourceType }
func GetListPropagationsRequestResourceTypeEnum ¶
func GetListPropagationsRequestResourceTypeEnum() ListPropagationsRequestResourceTypeEnum
type ListPropagationsRequestSortDir ¶
type ListPropagationsRequestSortDir struct {
// contains filtered or unexported fields
}
func (ListPropagationsRequestSortDir) MarshalJSON ¶
func (c ListPropagationsRequestSortDir) MarshalJSON() ([]byte, error)
func (*ListPropagationsRequestSortDir) UnmarshalJSON ¶
func (c *ListPropagationsRequestSortDir) UnmarshalJSON(b []byte) error
func (ListPropagationsRequestSortDir) Value ¶
func (c ListPropagationsRequestSortDir) Value() string
type ListPropagationsRequestSortDirEnum ¶
type ListPropagationsRequestSortDirEnum struct { ASC ListPropagationsRequestSortDir DESC ListPropagationsRequestSortDir }
func GetListPropagationsRequestSortDirEnum ¶
func GetListPropagationsRequestSortDirEnum() ListPropagationsRequestSortDirEnum
type ListPropagationsRequestState ¶
type ListPropagationsRequestState struct {
// contains filtered or unexported fields
}
func (ListPropagationsRequestState) MarshalJSON ¶
func (c ListPropagationsRequestState) MarshalJSON() ([]byte, error)
func (*ListPropagationsRequestState) UnmarshalJSON ¶
func (c *ListPropagationsRequestState) UnmarshalJSON(b []byte) error
func (ListPropagationsRequestState) Value ¶
func (c ListPropagationsRequestState) Value() string
type ListPropagationsRequestStateEnum ¶
type ListPropagationsRequestStateEnum struct { PENDING ListPropagationsRequestState AVAILABLE ListPropagationsRequestState MODIFYING ListPropagationsRequestState DELETING ListPropagationsRequestState DELETED ListPropagationsRequestState FAILED ListPropagationsRequestState }
func GetListPropagationsRequestStateEnum ¶
func GetListPropagationsRequestStateEnum() ListPropagationsRequestStateEnum
type ListPropagationsResponse ¶
type ListPropagationsResponse struct { // 路由传播列表 Propagations *[]Propagation `json:"propagations,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` PageInfo *PageInfo `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
ListPropagationsResponse Response Object
func (ListPropagationsResponse) String ¶
func (o ListPropagationsResponse) String() string
type ListRouteTablesRequest ¶
type ListRouteTablesRequest struct { // 企业路由器实例ID ErId string `json:"er_id"` // 每页返回的个数。 取值范围:0~2000。 Limit *int32 `json:"limit,omitempty"` // 上一页最后一条记录的企业路由器实例的id,为空时为查询第一页。 使用说明:必须与limit一起使用。 Marker *string `json:"marker,omitempty"` // 状态 State *[]ListRouteTablesRequestState `json:"state,omitempty"` // 是否为默认传播路由表 IsDefaultPropagationTable *bool `json:"is_default_propagation_table,omitempty"` // 是否为默认关联路由表 IsDefaultAssociationTable *bool `json:"is_default_association_table,omitempty"` // 按关键字排序,默认按照id排序,可选值:id|name|state SortKey *[]string `json:"sort_key,omitempty"` // 返回结果按照升序或降序排列,默认为asc,降序为desc SortDir *[]ListRouteTablesRequestSortDir `json:"sort_dir,omitempty"` }
ListRouteTablesRequest Request Object
func (ListRouteTablesRequest) String ¶
func (o ListRouteTablesRequest) String() string
type ListRouteTablesRequestSortDir ¶
type ListRouteTablesRequestSortDir struct {
// contains filtered or unexported fields
}
func (ListRouteTablesRequestSortDir) MarshalJSON ¶
func (c ListRouteTablesRequestSortDir) MarshalJSON() ([]byte, error)
func (*ListRouteTablesRequestSortDir) UnmarshalJSON ¶
func (c *ListRouteTablesRequestSortDir) UnmarshalJSON(b []byte) error
func (ListRouteTablesRequestSortDir) Value ¶
func (c ListRouteTablesRequestSortDir) Value() string
type ListRouteTablesRequestSortDirEnum ¶
type ListRouteTablesRequestSortDirEnum struct { ASC ListRouteTablesRequestSortDir DESC ListRouteTablesRequestSortDir }
func GetListRouteTablesRequestSortDirEnum ¶
func GetListRouteTablesRequestSortDirEnum() ListRouteTablesRequestSortDirEnum
type ListRouteTablesRequestState ¶
type ListRouteTablesRequestState struct {
// contains filtered or unexported fields
}
func (ListRouteTablesRequestState) MarshalJSON ¶
func (c ListRouteTablesRequestState) MarshalJSON() ([]byte, error)
func (*ListRouteTablesRequestState) UnmarshalJSON ¶
func (c *ListRouteTablesRequestState) UnmarshalJSON(b []byte) error
func (ListRouteTablesRequestState) Value ¶
func (c ListRouteTablesRequestState) Value() string
type ListRouteTablesRequestStateEnum ¶
type ListRouteTablesRequestStateEnum struct { PENDING ListRouteTablesRequestState AVAILABLE ListRouteTablesRequestState DELETING ListRouteTablesRequestState DELETED ListRouteTablesRequestState FAILED ListRouteTablesRequestState }
func GetListRouteTablesRequestStateEnum ¶
func GetListRouteTablesRequestStateEnum() ListRouteTablesRequestStateEnum
type ListRouteTablesResponse ¶
type ListRouteTablesResponse struct { // 路由表列表 RouteTables *[]RouteTable `json:"route_tables,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` PageInfo *PageInfo `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
ListRouteTablesResponse Response Object
func (ListRouteTablesResponse) String ¶
func (o ListRouteTablesResponse) String() string
type ListStaticRoutesRequest ¶
type ListStaticRoutesRequest struct { // 路由表ID RouteTableId string `json:"route_table_id"` // 每页返回的个数。 取值范围:0~2000。 Limit *int32 `json:"limit,omitempty"` // 上一页最后一条记录的企业路由器实例的id,为空时为查询第一页。 使用说明:必须与limit一起使用。 Marker *string `json:"marker,omitempty"` // 路由目的地址 Destination *[]string `json:"destination,omitempty"` // 连接ID AttachmentId *[]string `json:"attachment_id,omitempty"` // - vpc:虚拟私有云 - vpn:vpn网关 - vgw:云专线的虚拟网关 - peering:对等连接,通过云连接CC加载不同区域的企业路由器来创建“对等连接(Peering)”连接 - - - - ResourceType *[]ListStaticRoutesRequestResourceType `json:"resource_type,omitempty"` // 按关键字排序,默认按照id排序,可选值:id|name|state SortKey *[]string `json:"sort_key,omitempty"` // 返回结果按照升序或降序排列,默认为asc,降序为desc SortDir *[]ListStaticRoutesRequestSortDir `json:"sort_dir,omitempty"` }
ListStaticRoutesRequest Request Object
func (ListStaticRoutesRequest) String ¶
func (o ListStaticRoutesRequest) String() string
type ListStaticRoutesRequestResourceType ¶
type ListStaticRoutesRequestResourceType struct {
// contains filtered or unexported fields
}
func (ListStaticRoutesRequestResourceType) MarshalJSON ¶
func (c ListStaticRoutesRequestResourceType) MarshalJSON() ([]byte, error)
func (*ListStaticRoutesRequestResourceType) UnmarshalJSON ¶
func (c *ListStaticRoutesRequestResourceType) UnmarshalJSON(b []byte) error
func (ListStaticRoutesRequestResourceType) Value ¶
func (c ListStaticRoutesRequestResourceType) Value() string
type ListStaticRoutesRequestResourceTypeEnum ¶
type ListStaticRoutesRequestResourceTypeEnum struct { VPC ListStaticRoutesRequestResourceType VPN ListStaticRoutesRequestResourceType DGW ListStaticRoutesRequestResourceType VGW ListStaticRoutesRequestResourceType PEERING ListStaticRoutesRequestResourceType CAN ListStaticRoutesRequestResourceType ECN ListStaticRoutesRequestResourceType GDGW ListStaticRoutesRequestResourceType CONNECT ListStaticRoutesRequestResourceType CFW ListStaticRoutesRequestResourceType }
func GetListStaticRoutesRequestResourceTypeEnum ¶
func GetListStaticRoutesRequestResourceTypeEnum() ListStaticRoutesRequestResourceTypeEnum
type ListStaticRoutesRequestSortDir ¶
type ListStaticRoutesRequestSortDir struct {
// contains filtered or unexported fields
}
func (ListStaticRoutesRequestSortDir) MarshalJSON ¶
func (c ListStaticRoutesRequestSortDir) MarshalJSON() ([]byte, error)
func (*ListStaticRoutesRequestSortDir) UnmarshalJSON ¶
func (c *ListStaticRoutesRequestSortDir) UnmarshalJSON(b []byte) error
func (ListStaticRoutesRequestSortDir) Value ¶
func (c ListStaticRoutesRequestSortDir) Value() string
type ListStaticRoutesRequestSortDirEnum ¶
type ListStaticRoutesRequestSortDirEnum struct { ASC ListStaticRoutesRequestSortDir DESC ListStaticRoutesRequestSortDir }
func GetListStaticRoutesRequestSortDirEnum ¶
func GetListStaticRoutesRequestSortDirEnum() ListStaticRoutesRequestSortDirEnum
type ListStaticRoutesResponse ¶
type ListStaticRoutesResponse struct { // 路由列表 Routes *[]Route `json:"routes,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` PageInfo *PageInfo `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
ListStaticRoutesResponse Response Object
func (ListStaticRoutesResponse) String ¶
func (o ListStaticRoutesResponse) String() string
type ListVpcAttachmentsRequest ¶
type ListVpcAttachmentsRequest struct { // 企业路由器实例ID ErId string `json:"er_id"` // 每页返回的个数。 取值范围:0~2000。 Limit *int32 `json:"limit,omitempty"` // 上一页最后一条记录的企业路由器实例的id,为空时为查询第一页。 使用说明:必须与limit一起使用。 Marker *string `json:"marker,omitempty"` // 连接状态:pending|available|modifying|deleting|deleted|failed|pending_acceptance|rejected|initiating_request State *[]ListVpcAttachmentsRequestState `json:"state,omitempty"` // 根据资源ID查询,可同时查询多个。 Id *[]string `json:"id,omitempty"` // 按关键字排序,默认按照id排序,可选值:id|name|state SortKey *[]string `json:"sort_key,omitempty"` // 返回结果按照升序或降序排列,默认为asc,降序为desc SortDir *[]ListVpcAttachmentsRequestSortDir `json:"sort_dir,omitempty"` // VPC id VpcId *[]string `json:"vpc_id,omitempty"` }
ListVpcAttachmentsRequest Request Object
func (ListVpcAttachmentsRequest) String ¶
func (o ListVpcAttachmentsRequest) String() string
type ListVpcAttachmentsRequestSortDir ¶
type ListVpcAttachmentsRequestSortDir struct {
// contains filtered or unexported fields
}
func (ListVpcAttachmentsRequestSortDir) MarshalJSON ¶
func (c ListVpcAttachmentsRequestSortDir) MarshalJSON() ([]byte, error)
func (*ListVpcAttachmentsRequestSortDir) UnmarshalJSON ¶
func (c *ListVpcAttachmentsRequestSortDir) UnmarshalJSON(b []byte) error
func (ListVpcAttachmentsRequestSortDir) Value ¶
func (c ListVpcAttachmentsRequestSortDir) Value() string
type ListVpcAttachmentsRequestSortDirEnum ¶
type ListVpcAttachmentsRequestSortDirEnum struct { ASC ListVpcAttachmentsRequestSortDir DESC ListVpcAttachmentsRequestSortDir }
func GetListVpcAttachmentsRequestSortDirEnum ¶
func GetListVpcAttachmentsRequestSortDirEnum() ListVpcAttachmentsRequestSortDirEnum
type ListVpcAttachmentsRequestState ¶
type ListVpcAttachmentsRequestState struct {
// contains filtered or unexported fields
}
func (ListVpcAttachmentsRequestState) MarshalJSON ¶
func (c ListVpcAttachmentsRequestState) MarshalJSON() ([]byte, error)
func (*ListVpcAttachmentsRequestState) UnmarshalJSON ¶
func (c *ListVpcAttachmentsRequestState) UnmarshalJSON(b []byte) error
func (ListVpcAttachmentsRequestState) Value ¶
func (c ListVpcAttachmentsRequestState) Value() string
type ListVpcAttachmentsRequestStateEnum ¶
type ListVpcAttachmentsRequestStateEnum struct { PENDING ListVpcAttachmentsRequestState AVAILABLE ListVpcAttachmentsRequestState MODIFYING ListVpcAttachmentsRequestState DELETING ListVpcAttachmentsRequestState DELETED ListVpcAttachmentsRequestState FAILED ListVpcAttachmentsRequestState INITIATING_REQUEST ListVpcAttachmentsRequestState REJECTED ListVpcAttachmentsRequestState PENDING_ACCEPTANCE ListVpcAttachmentsRequestState }
func GetListVpcAttachmentsRequestStateEnum ¶
func GetListVpcAttachmentsRequestStateEnum() ListVpcAttachmentsRequestStateEnum
type ListVpcAttachmentsResponse ¶
type ListVpcAttachmentsResponse struct { // VPC连接列表 VpcAttachments *[]VpcAttachmentDetails `json:"vpc_attachments,omitempty"` PageInfo *PageInfo `json:"page_info,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
ListVpcAttachmentsResponse Response Object
func (ListVpcAttachmentsResponse) String ¶
func (o ListVpcAttachmentsResponse) String() string
type PageInfo ¶
type PageInfo struct { // 下一页的marker,为空时表示最后一页 NextMarker *string `json:"next_marker,omitempty"` // 当前列表中资源数量 CurrentCount int32 `json:"current_count"` }
PageInfo 分页查询的信息
type Propagation ¶
type Propagation struct { // 关联唯一标识 Id *string `json:"id,omitempty"` // 项目ID ProjectId *string `json:"project_id,omitempty"` // 企业路由器id ErId *string `json:"er_id,omitempty"` // 路由表唯一标识 RouteTableId *string `json:"route_table_id,omitempty"` // 连接唯一标识 AttachmentId *string `json:"attachment_id,omitempty"` // 连接的类型 ResourceType *string `json:"resource_type,omitempty"` // 连接的资源唯一标识 ResourceId *string `json:"resource_id,omitempty"` RoutePolicy *ImportRoutePolicy `json:"route_policy,omitempty"` // 状态 State *string `json:"state,omitempty"` // 资源创建时间 采用UTC时间 格式:YYYY-MM-DDTHH:MM:SS CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"` // 资源更新时间 采用UTC时间 格式:YYYY-MM-DDTHH:MM:SS UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"` }
Propagation 传播详情
func (Propagation) String ¶
func (o Propagation) String() string
type PropagationRequestBody ¶
type PropagationRequestBody struct { // 连接唯一标识 AttachmentId *string `json:"attachment_id,omitempty"` RoutePolicy *ImportRoutePolicy `json:"route_policy,omitempty"` }
func (PropagationRequestBody) String ¶
func (o PropagationRequestBody) String() string
type Quota ¶ added in v0.1.49
type RejectAttachmentRequest ¶ added in v0.1.56
type RejectAttachmentRequest struct { // 企业路由器实例ID ErId string `json:"er_id"` // 连接ID AttachmentId string `json:"attachment_id"` }
RejectAttachmentRequest Request Object
func (RejectAttachmentRequest) String ¶ added in v0.1.56
func (o RejectAttachmentRequest) String() string
type RejectAttachmentResponse ¶ added in v0.1.56
type RejectAttachmentResponse struct { Attachment *AttachmentResponse `json:"attachment,omitempty"` // 请求id RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
RejectAttachmentResponse Response Object
func (RejectAttachmentResponse) String ¶ added in v0.1.56
func (o RejectAttachmentResponse) String() string
type Route ¶
type Route struct { // 路由id Id string `json:"id"` // 路由类型 Type string `json:"type"` // 路由状态 State *string `json:"state,omitempty"` // 是否为黑洞路由 IsBlackhole *bool `json:"is_blackhole,omitempty"` // 路由目的地址 Destination string `json:"destination"` // 下一跳列表 Attachments []RouteAttachment `json:"attachments"` // 路由表id RouteTableId string `json:"route_table_id"` // 创建时间 CreatedAt *sdktime.SdkTime `json:"created_at"` // 更新时间 UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"` }
Route 路由表项
type RouteAttachment ¶
type RouteAttachment struct { // 连接关联的资源ID ResourceId string `json:"resource_id"` // 连接关联的资源类型: - vpc:虚拟私有云 - vpn:vpn网关 - vgw:云专线的虚拟网关 - vpn:vpn网关 - vgw:云专线的虚拟网关 - peering:对等连接,通过云连接CC加载不同区域的企业路由器来创建“对等连接(Peering)”连接 - - - ResourceType string `json:"resource_type"` // 连接ID AttachmentId string `json:"attachment_id"` }
func (RouteAttachment) String ¶
func (o RouteAttachment) String() string
type RouteTable ¶
type RouteTable struct { // 路由表的id Id *string `json:"id,omitempty"` // 路由表名字 Name string `json:"name"` // 描述信息 Description *string `json:"description,omitempty"` // 是否为默认关联的路由表 IsDefaultAssociation bool `json:"is_default_association"` // 是否为默认传递路由表 IsDefaultPropagation bool `json:"is_default_propagation"` // 路由表状态,支持的状态有pending | available | deleting | deleted | failed State string `json:"state"` // 标签 Tags *[]Tag `json:"tags,omitempty"` // 创建时间 CreatedAt *sdktime.SdkTime `json:"created_at"` // 更新时间 UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"` }
RouteTable 路由表
func (RouteTable) String ¶
func (o RouteTable) String() string
type ShowAttachmentRequest ¶
type ShowAttachmentRequest struct { // 企业路由器实例ID ErId string `json:"er_id"` // 连接ID AttachmentId string `json:"attachment_id"` }
ShowAttachmentRequest Request Object
func (ShowAttachmentRequest) String ¶
func (o ShowAttachmentRequest) String() string
type ShowAttachmentResponse ¶
type ShowAttachmentResponse struct { Attachment *AttachmentResponse `json:"attachment,omitempty"` // 请求id RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
ShowAttachmentResponse Response Object
func (ShowAttachmentResponse) String ¶
func (o ShowAttachmentResponse) String() string
type ShowEnterpriseRouterRequest ¶
type ShowEnterpriseRouterRequest struct { // 企业路由器实例ID ErId string `json:"er_id"` }
ShowEnterpriseRouterRequest Request Object
func (ShowEnterpriseRouterRequest) String ¶
func (o ShowEnterpriseRouterRequest) String() string
type ShowEnterpriseRouterResponse ¶
type ShowEnterpriseRouterResponse struct { Instance *EnterpriseRouter `json:"instance,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
ShowEnterpriseRouterResponse Response Object
func (ShowEnterpriseRouterResponse) String ¶
func (o ShowEnterpriseRouterResponse) String() string
type ShowFlowLogRequest ¶ added in v0.1.49
type ShowFlowLogRequest struct { // 企业路由器实例ID ErId string `json:"er_id"` // 流日志ID FlowLogId string `json:"flow_log_id"` }
ShowFlowLogRequest Request Object
func (ShowFlowLogRequest) String ¶ added in v0.1.49
func (o ShowFlowLogRequest) String() string
type ShowFlowLogResponse ¶ added in v0.1.49
type ShowFlowLogResponse struct { FlowLog *FlowLog `json:"flow_log,omitempty"` // 请求id RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
ShowFlowLogResponse Response Object
func (ShowFlowLogResponse) String ¶ added in v0.1.49
func (o ShowFlowLogResponse) String() string
type ShowQuotasRequest ¶ added in v0.1.49
type ShowQuotasRequest struct { // 支持过滤的配额类型: - er_instance: 企业路由器实例的配额和使用量 - dc_attachment: 云专线网关连接的配额和使用量 - vpc_attachment: VPC连接的配额和使用量 - vpn_attachment: VPN网关连接的配额和使用量 - peering_attachment:云连接实例连接的配额和使用量 - can_attachment: 智能接入网关连接的配额和使用量 - route_table: 路由表的配额和使用量 - static_route: 静态路由的配额和使用量 - vpc_er: 每个vpc可以接入的企业路由器数量和当前使用量 - flow_log: 每个连接可以创建的流日志数量 Type *[]string `json:"type,omitempty"` ErId *[]string `json:"erId,omitempty"` RouteTableId *[]string `json:"routeTableId,omitempty"` VpcId *[]string `json:"vpcId,omitempty"` }
ShowQuotasRequest Request Object
func (ShowQuotasRequest) String ¶ added in v0.1.49
func (o ShowQuotasRequest) String() string
type ShowQuotasResponse ¶ added in v0.1.49
type ShowQuotasResponse struct { // 配额使用详情 Quotas *[]Quota `json:"quotas,omitempty"` HttpStatusCode int `json:"-"` }
ShowQuotasResponse Response Object
func (ShowQuotasResponse) String ¶ added in v0.1.49
func (o ShowQuotasResponse) String() string
type ShowResourceTagRequest ¶ added in v0.1.12
type ShowResourceTagRequest struct { // 资源ID ResourceId string `json:"resource_id"` // 标签资源类型: - instance: 企业路由器实例 - route-table: 路由表 - vpc-attachment: VPC连接 - vgw-attachment: 虚拟网关连接 - peering-attachment: 对等连接(Peering)连接 - vpn-attachment: VPN网关连接 - - - - - attachments: 所有连接类型 ResourceType ShowResourceTagRequestResourceType `json:"resource_type"` }
ShowResourceTagRequest Request Object
func (ShowResourceTagRequest) String ¶ added in v0.1.12
func (o ShowResourceTagRequest) String() string
type ShowResourceTagRequestResourceType ¶ added in v0.1.12
type ShowResourceTagRequestResourceType struct {
// contains filtered or unexported fields
}
func (ShowResourceTagRequestResourceType) MarshalJSON ¶ added in v0.1.12
func (c ShowResourceTagRequestResourceType) MarshalJSON() ([]byte, error)
func (*ShowResourceTagRequestResourceType) UnmarshalJSON ¶ added in v0.1.12
func (c *ShowResourceTagRequestResourceType) UnmarshalJSON(b []byte) error
func (ShowResourceTagRequestResourceType) Value ¶ added in v0.1.12
func (c ShowResourceTagRequestResourceType) Value() string
type ShowResourceTagRequestResourceTypeEnum ¶ added in v0.1.12
type ShowResourceTagRequestResourceTypeEnum struct { INSTANCE ShowResourceTagRequestResourceType ROUTE_TABLE ShowResourceTagRequestResourceType VPC_ATTACHMENT ShowResourceTagRequestResourceType DGW_ATTACHMENT ShowResourceTagRequestResourceType VGW_ATTACHMENT ShowResourceTagRequestResourceType PEERING_ATTACHMENT ShowResourceTagRequestResourceType VPN_ATTACHMENT ShowResourceTagRequestResourceType CAN_ATTACHMENT ShowResourceTagRequestResourceType ECN_ATTACHMENT ShowResourceTagRequestResourceType GDGW_ATTACHMENT ShowResourceTagRequestResourceType CONNECT_ATTACHMENT ShowResourceTagRequestResourceType CFW_ATTACHMENT ShowResourceTagRequestResourceType ATTACHMENTS ShowResourceTagRequestResourceType }
func GetShowResourceTagRequestResourceTypeEnum ¶ added in v0.1.12
func GetShowResourceTagRequestResourceTypeEnum() ShowResourceTagRequestResourceTypeEnum
type ShowResourceTagResponse ¶ added in v0.1.12
type ShowResourceTagResponse struct { // 标签列表 Tags *[]Tag `json:"tags,omitempty"` HttpStatusCode int `json:"-"` }
ShowResourceTagResponse Response Object
func (ShowResourceTagResponse) String ¶ added in v0.1.12
func (o ShowResourceTagResponse) String() string
type ShowRouteTableRequest ¶
type ShowRouteTableRequest struct { // 企业路由器实例ID ErId string `json:"er_id"` // 路由表ID RouteTableId string `json:"route_table_id"` }
ShowRouteTableRequest Request Object
func (ShowRouteTableRequest) String ¶
func (o ShowRouteTableRequest) String() string
type ShowRouteTableResponse ¶
type ShowRouteTableResponse struct { RouteTable *RouteTable `json:"route_table,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
ShowRouteTableResponse Response Object
func (ShowRouteTableResponse) String ¶
func (o ShowRouteTableResponse) String() string
type ShowStaticRouteRequest ¶
type ShowStaticRouteRequest struct { // 路由表ID RouteTableId string `json:"route_table_id"` // 路由ID RouteId string `json:"route_id"` }
ShowStaticRouteRequest Request Object
func (ShowStaticRouteRequest) String ¶
func (o ShowStaticRouteRequest) String() string
type ShowStaticRouteResponse ¶
type ShowStaticRouteResponse struct { Route *Route `json:"route,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
ShowStaticRouteResponse Response Object
func (ShowStaticRouteResponse) String ¶
func (o ShowStaticRouteResponse) String() string
type ShowVpcAttachmentRequest ¶
type ShowVpcAttachmentRequest struct { // 企业路由器实例ID ErId string `json:"er_id"` // VPC连接ID VpcAttachmentId string `json:"vpc_attachment_id"` }
ShowVpcAttachmentRequest Request Object
func (ShowVpcAttachmentRequest) String ¶
func (o ShowVpcAttachmentRequest) String() string
type ShowVpcAttachmentResponse ¶
type ShowVpcAttachmentResponse struct { VpcAttachment *VpcAttachmentDetails `json:"vpc_attachment,omitempty"` // 请求id RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
ShowVpcAttachmentResponse Response Object
func (ShowVpcAttachmentResponse) String ¶
func (o ShowVpcAttachmentResponse) String() string
type Tag ¶
type Tag struct { // 标签键,最大长度36个unicode字符,格式为大小写字母,数字,中划线“-”,下划线“_”,中文。 Key *string `json:"key,omitempty"` // 标签值,最大长度43个unicode字符,格式为大小写字母,数字,中划线“-”,下划线“_”,点“.”,中文。 Value *string `json:"value,omitempty"` }
Tag 资源标签
type Tags ¶ added in v0.1.12
type Tags struct { // 标签键,不能为空,最大长度127个unicode字符。 Key string `json:"key"` // 值列表,每个值最大长度255个unicode字符。 Values []string `json:"values"` }
Tags 标签
type UpdateAttachmentBody ¶
type UpdateAttachmentBody struct { // 连接描述信息,取值范围:最大长度36字节,带“-”连字符的UUID格式 Description *string `json:"description,omitempty"` // 连接名称,取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点) Name *string `json:"name,omitempty"` }
UpdateAttachmentBody 更新连接基本信息
func (UpdateAttachmentBody) String ¶
func (o UpdateAttachmentBody) String() string
type UpdateAttachmentRequest ¶
type UpdateAttachmentRequest struct { // 企业路由器实例ID ErId string `json:"er_id"` // 连接ID AttachmentId string `json:"attachment_id"` Body *UpdateAttachmentRequestBody `json:"body,omitempty"` }
UpdateAttachmentRequest Request Object
func (UpdateAttachmentRequest) String ¶
func (o UpdateAttachmentRequest) String() string
type UpdateAttachmentRequestBody ¶
type UpdateAttachmentRequestBody struct {
Attachment *UpdateAttachmentBody `json:"attachment,omitempty"`
}
func (UpdateAttachmentRequestBody) String ¶
func (o UpdateAttachmentRequestBody) String() string
type UpdateAttachmentResponse ¶
type UpdateAttachmentResponse struct { Attachment *AttachmentResponse `json:"attachment,omitempty"` // 请求id RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
UpdateAttachmentResponse Response Object
func (UpdateAttachmentResponse) String ¶
func (o UpdateAttachmentResponse) String() string
type UpdateEnterpriseRouter ¶
type UpdateEnterpriseRouter struct { // 企业路由器实例名称 Name *string `json:"name,omitempty"` // 企业路由器实例描述信息 Description *string `json:"description,omitempty"` // 是否开启默认传播 EnableDefaultPropagation *bool `json:"enable_default_propagation,omitempty"` // 是否开启默认关联 EnableDefaultAssociation *bool `json:"enable_default_association,omitempty"` // 默认传播路由表ID DefaultPropagationRouteTableId *string `json:"default_propagation_route_table_id,omitempty"` // 默认关联路由表ID DefaultAssociationRouteTableId *string `json:"default_association_route_table_id,omitempty"` AutoAcceptSharedAttachments *bool `json:"auto_accept_shared_attachments,omitempty"` }
UpdateEnterpriseRouter 更新企业路由器请求体
func (UpdateEnterpriseRouter) String ¶
func (o UpdateEnterpriseRouter) String() string
type UpdateEnterpriseRouterRequest ¶
type UpdateEnterpriseRouterRequest struct { // 企业路由器实例ID ErId string `json:"er_id"` Body *UpdateEnterpriseRouterRequestBody `json:"body,omitempty"` }
UpdateEnterpriseRouterRequest Request Object
func (UpdateEnterpriseRouterRequest) String ¶
func (o UpdateEnterpriseRouterRequest) String() string
type UpdateEnterpriseRouterRequestBody ¶
type UpdateEnterpriseRouterRequestBody struct {
Instance *UpdateEnterpriseRouter `json:"instance,omitempty"`
}
func (UpdateEnterpriseRouterRequestBody) String ¶
func (o UpdateEnterpriseRouterRequestBody) String() string
type UpdateEnterpriseRouterResponse ¶
type UpdateEnterpriseRouterResponse struct { Instance *EnterpriseRouter `json:"instance,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
UpdateEnterpriseRouterResponse Response Object
func (UpdateEnterpriseRouterResponse) String ¶
func (o UpdateEnterpriseRouterResponse) String() string
type UpdateFlowLogRequest ¶ added in v0.1.49
type UpdateFlowLogRequest struct { // 企业路由器实例ID ErId string `json:"er_id"` // 流日志ID FlowLogId string `json:"flow_log_id"` Body *UpdateFlowLogRequestBody `json:"body,omitempty"` }
UpdateFlowLogRequest Request Object
func (UpdateFlowLogRequest) String ¶ added in v0.1.49
func (o UpdateFlowLogRequest) String() string
type UpdateFlowLogRequestBody ¶ added in v0.1.49
type UpdateFlowLogRequestBody struct { // 流日志名称 Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` }
UpdateFlowLogRequestBody 更新流日志的名称/描述
func (UpdateFlowLogRequestBody) String ¶ added in v0.1.49
func (o UpdateFlowLogRequestBody) String() string
type UpdateFlowLogResponse ¶ added in v0.1.49
type UpdateFlowLogResponse struct { FlowLog *FlowLog `json:"flow_log,omitempty"` // 请求id RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
UpdateFlowLogResponse Response Object
func (UpdateFlowLogResponse) String ¶ added in v0.1.49
func (o UpdateFlowLogResponse) String() string
type UpdateRoute ¶
type UpdateRoute struct { // 路由下一跳 AttachmentId *string `json:"attachment_id,omitempty"` // 是否为黑洞路由 IsBlackhole *bool `json:"is_blackhole,omitempty"` }
UpdateRoute 路由
func (UpdateRoute) String ¶
func (o UpdateRoute) String() string
type UpdateRouteRequestBody ¶
type UpdateRouteRequestBody struct {
Route *UpdateRoute `json:"route"`
}
UpdateRouteRequestBody This is a auto create Body Object
func (UpdateRouteRequestBody) String ¶
func (o UpdateRouteRequestBody) String() string
type UpdateRouteTable ¶
type UpdateRouteTable struct { // 路由器表名称 Name *string `json:"name,omitempty"` // 路由器表描述信息 Description *string `json:"description,omitempty"` }
UpdateRouteTable 更新路由表请求体
func (UpdateRouteTable) String ¶
func (o UpdateRouteTable) String() string
type UpdateRouteTableRequest ¶
type UpdateRouteTableRequest struct { // 企业路由器实例ID ErId string `json:"er_id"` // 路由表ID RouteTableId string `json:"route_table_id"` Body *UpdateRouteTableRequestBody `json:"body,omitempty"` }
UpdateRouteTableRequest Request Object
func (UpdateRouteTableRequest) String ¶
func (o UpdateRouteTableRequest) String() string
type UpdateRouteTableRequestBody ¶
type UpdateRouteTableRequestBody struct {
RouteTable *UpdateRouteTable `json:"route_table,omitempty"`
}
UpdateRouteTableRequestBody This is a auto create Body Object
func (UpdateRouteTableRequestBody) String ¶
func (o UpdateRouteTableRequestBody) String() string
type UpdateRouteTableResponse ¶
type UpdateRouteTableResponse struct { RouteTable *RouteTable `json:"route_table,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
UpdateRouteTableResponse Response Object
func (UpdateRouteTableResponse) String ¶
func (o UpdateRouteTableResponse) String() string
type UpdateStaticRouteRequest ¶
type UpdateStaticRouteRequest struct { // 路由表ID RouteTableId string `json:"route_table_id"` // 路由ID RouteId string `json:"route_id"` Body *UpdateRouteRequestBody `json:"body,omitempty"` }
UpdateStaticRouteRequest Request Object
func (UpdateStaticRouteRequest) String ¶
func (o UpdateStaticRouteRequest) String() string
type UpdateStaticRouteResponse ¶
type UpdateStaticRouteResponse struct { Route *Route `json:"route,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
UpdateStaticRouteResponse Response Object
func (UpdateStaticRouteResponse) String ¶
func (o UpdateStaticRouteResponse) String() string
type UpdateVpcAttachmentBody ¶
type UpdateVpcAttachmentBody struct { // VPC连接描述信息,取值范围:最大长度36字节,带“-”连字符的UUID格式 Description *string `json:"description,omitempty"` // VPC连接名称,取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点) Name *string `json:"name,omitempty"` }
UpdateVpcAttachmentBody 更新vpc基本信息请求体
func (UpdateVpcAttachmentBody) String ¶
func (o UpdateVpcAttachmentBody) String() string
type UpdateVpcAttachmentRequest ¶
type UpdateVpcAttachmentRequest struct { // 企业路由器实例ID ErId string `json:"er_id"` // VPC连接ID VpcAttachmentId string `json:"vpc_attachment_id"` Body *UpdateVpcAttachmentRequestBody `json:"body,omitempty"` }
UpdateVpcAttachmentRequest Request Object
func (UpdateVpcAttachmentRequest) String ¶
func (o UpdateVpcAttachmentRequest) String() string
type UpdateVpcAttachmentRequestBody ¶
type UpdateVpcAttachmentRequestBody struct {
VpcAttachment *UpdateVpcAttachmentBody `json:"vpc_attachment,omitempty"`
}
UpdateVpcAttachmentRequestBody This is a auto create Body Object
func (UpdateVpcAttachmentRequestBody) String ¶
func (o UpdateVpcAttachmentRequestBody) String() string
type UpdateVpcAttachmentResponse ¶
type UpdateVpcAttachmentResponse struct { VpcAttachment *VpcAttachmentDetails `json:"vpc_attachment,omitempty"` // 请求id RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
UpdateVpcAttachmentResponse Response Object
func (UpdateVpcAttachmentResponse) String ¶
func (o UpdateVpcAttachmentResponse) String() string
type VpcAttachmentCreateRequest ¶
type VpcAttachmentCreateRequest struct { // VPC的id,取值范围:最大长度36字节,带“-”连字符的UUID格式 VpcId string `json:"vpc_id"` // VPC连接名字,取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点) Name string `json:"name"` // VPC子网id,取值范围:最大长度36字节,带“-”连字符的UUID格式 VirsubnetId string `json:"virsubnet_id"` // 描述信息,取值范围:0-255个字符,不能包含“<”和“>” Description *string `json:"description,omitempty"` // 默认为false,为true表示自动为vpc配置指向企业路由器的路由 AutoCreateVpcRoutes *bool `json:"auto_create_vpc_routes,omitempty"` // 标签信息 Tags *[]Tag `json:"tags,omitempty"` }
VpcAttachmentCreateRequest VPC类型连接
func (VpcAttachmentCreateRequest) String ¶
func (o VpcAttachmentCreateRequest) String() string
type VpcAttachmentDetails ¶
type VpcAttachmentDetails struct { // VPC连接ID Id string `json:"id"` // VPC连接名称 Name string `json:"name"` // VPC id VpcId string `json:"vpc_id"` // VPC子网id VirsubnetId string `json:"virsubnet_id"` // 默认为false,当设置true时,会自动为VPC配置10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16三条路由,下一跳指向企业路由器。 AutoCreateVpcRoutes *bool `json:"auto_create_vpc_routes,omitempty"` // VPC连接状态:pending|available|modifying|deleting|deleted|failed|initiating_request|rejected|pending_acceptance|freezed State string `json:"state"` // 创建时间 CreatedAt *sdktime.SdkTime `json:"created_at"` // 更新时间 UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"` // 标签信息 Tags *[]Tag `json:"tags,omitempty"` // VPC连接描述信息 Description *string `json:"description,omitempty"` // 项目ID ProjectId string `json:"project_id"` // vpc所属项目ID VpcProjectId *string `json:"vpc_project_id,omitempty"` }
VpcAttachmentDetails VPC类型连接
func (VpcAttachmentDetails) String ¶
func (o VpcAttachmentDetails) String() string
Source Files ¶
- model_accept_attachment_request.go
- model_accept_attachment_response.go
- model_associate_route_table_request.go
- model_associate_route_table_response.go
- model_association.go
- model_association_request_body.go
- model_attachment_details.go
- model_attachment_response.go
- model_available_zone.go
- model_batch_create_resource_tags_request.go
- model_batch_create_resource_tags_response.go
- model_batch_operate_resource_tags_request_body.go
- model_change_availability_zone_request.go
- model_change_availability_zone_response.go
- model_create_enterprise_router.go
- model_create_enterprise_router_request.go
- model_create_enterprise_router_request_body.go
- model_create_enterprise_router_response.go
- model_create_flow_log_request.go
- model_create_flow_log_request_body.go
- model_create_flow_log_response.go
- model_create_resource_tag_request.go
- model_create_resource_tag_request_body.go
- model_create_resource_tag_response.go
- model_create_route.go
- model_create_route_request_body.go
- model_create_route_table.go
- model_create_route_table_request.go
- model_create_route_table_request_body.go
- model_create_route_table_response.go
- model_create_static_route_request.go
- model_create_static_route_response.go
- model_create_vpc_attachment_body.go
- model_create_vpc_attachment_request.go
- model_create_vpc_attachment_response.go
- model_delete_enterprise_router_request.go
- model_delete_enterprise_router_response.go
- model_delete_flow_log_request.go
- model_delete_flow_log_response.go
- model_delete_resource_tag_request.go
- model_delete_resource_tag_response.go
- model_delete_route_table_request.go
- model_delete_route_table_response.go
- model_delete_static_route_request.go
- model_delete_static_route_response.go
- model_delete_vpc_attachment_request.go
- model_delete_vpc_attachment_response.go
- model_disable_flow_log_request.go
- model_disable_flow_log_response.go
- model_disable_propagation_request.go
- model_disable_propagation_response.go
- model_disassociate_route_table_request.go
- model_disassociate_route_table_response.go
- model_effective_route.go
- model_enable_flow_log_request.go
- model_enable_flow_log_response.go
- model_enable_propagation_request.go
- model_enable_propagation_response.go
- model_enterprise_router.go
- model_enterprise_router_az.go
- model_export_route_policy.go
- model_flow_log.go
- model_flow_log_request.go
- model_import_route_policy.go
- model_list_associations_request.go
- model_list_associations_response.go
- model_list_attachments_request.go
- model_list_attachments_response.go
- model_list_availability_zone_request.go
- model_list_availability_zone_response.go
- model_list_effective_routes_request.go
- model_list_effective_routes_response.go
- model_list_enterprise_routers_request.go
- model_list_enterprise_routers_response.go
- model_list_flow_logs_request.go
- model_list_flow_logs_response.go
- model_list_project_tags_request.go
- model_list_project_tags_response.go
- model_list_propagations_request.go
- model_list_propagations_response.go
- model_list_route_tables_request.go
- model_list_route_tables_response.go
- model_list_static_routes_request.go
- model_list_static_routes_response.go
- model_list_vpc_attachments_request.go
- model_list_vpc_attachments_response.go
- model_page_info.go
- model_propagation.go
- model_propagation_request_body.go
- model_quota.go
- model_reject_attachment_request.go
- model_reject_attachment_response.go
- model_route.go
- model_route_attachment.go
- model_route_table.go
- model_show_attachment_request.go
- model_show_attachment_response.go
- model_show_enterprise_router_request.go
- model_show_enterprise_router_response.go
- model_show_flow_log_request.go
- model_show_flow_log_response.go
- model_show_quotas_request.go
- model_show_quotas_response.go
- model_show_resource_tag_request.go
- model_show_resource_tag_response.go
- model_show_route_table_request.go
- model_show_route_table_response.go
- model_show_static_route_request.go
- model_show_static_route_response.go
- model_show_vpc_attachment_request.go
- model_show_vpc_attachment_response.go
- model_tag.go
- model_tags.go
- model_update_attachment_body.go
- model_update_attachment_request.go
- model_update_attachment_request_body.go
- model_update_attachment_response.go
- model_update_enterprise_router.go
- model_update_enterprise_router_request.go
- model_update_enterprise_router_request_body.go
- model_update_enterprise_router_response.go
- model_update_flow_log_request.go
- model_update_flow_log_request_body.go
- model_update_flow_log_response.go
- model_update_route.go
- model_update_route_request_body.go
- model_update_route_table.go
- model_update_route_table_request.go
- model_update_route_table_request_body.go
- model_update_route_table_response.go
- model_update_static_route_request.go
- model_update_static_route_response.go
- model_update_vpc_attachment_body.go
- model_update_vpc_attachment_request.go
- model_update_vpc_attachment_request_body.go
- model_update_vpc_attachment_response.go
- model_vpc_attachment_create_request.go
- model_vpc_attachment_details.go