model

package
v0.1.118 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessPoint

type AccessPoint struct {

	// 企业连接网络接入点ID
	Id *string `json:"id,omitempty"`

	// 区域ID
	RegionId *string `json:"region_id,omitempty"`

	// 带宽
	BandwidthSize *int32 `json:"bandwidth_size,omitempty"`

	// 绑定智能企业网关数量
	BindIegCount *int32 `json:"bind_ieg_count,omitempty"`

	// 关联VPC数量
	AttachVpcCount *int32 `json:"attach_vpc_count,omitempty"`

	// 创建时间
	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	// 更新时间
	UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"`
}

func (AccessPoint) String

func (o AccessPoint) String() string

type AddEcnWithErRequest

type AddEcnWithErRequest struct {

	// 企业连接网络ID
	EcnId string `json:"ecn_id"`

	Body *EcnWithErRequest `json:"body,omitempty"`
}

AddEcnWithErRequest Request Object

func (AddEcnWithErRequest) String

func (o AddEcnWithErRequest) String() string

type AddEcnWithErResponse

type AddEcnWithErResponse struct {

	// 企业连接网络关联企业路由器ID
	Id *string `json:"id,omitempty"`

	// 企业路由器ID
	ErId *string `json:"er_id,omitempty"`

	// 区域ID
	RegionId *string `json:"region_id,omitempty"`

	// 状态
	Status *string `json:"status,omitempty"`

	// 健康状态
	HealthStatus *AddEcnWithErResponseHealthStatus `json:"health_status,omitempty"`

	// 创建时间
	CreatedAt      *sdktime.SdkTime `json:"created_at,omitempty"`
	HttpStatusCode int              `json:"-"`
}

AddEcnWithErResponse Response Object

func (AddEcnWithErResponse) String

func (o AddEcnWithErResponse) String() string

type AddEcnWithErResponseHealthStatus

type AddEcnWithErResponseHealthStatus struct {
	// contains filtered or unexported fields
}

func (AddEcnWithErResponseHealthStatus) MarshalJSON

func (c AddEcnWithErResponseHealthStatus) MarshalJSON() ([]byte, error)

func (*AddEcnWithErResponseHealthStatus) UnmarshalJSON

func (c *AddEcnWithErResponseHealthStatus) UnmarshalJSON(b []byte) error

func (AddEcnWithErResponseHealthStatus) Value

type AddEcnWithErResponseHealthStatusEnum

type AddEcnWithErResponseHealthStatusEnum struct {
	NORMAL     AddEcnWithErResponseHealthStatus
	SUB_HEALTH AddEcnWithErResponseHealthStatus
	FAULT      AddEcnWithErResponseHealthStatus
}

func GetAddEcnWithErResponseHealthStatusEnum

func GetAddEcnWithErResponseHealthStatusEnum() AddEcnWithErResponseHealthStatusEnum

type AddEcnWithIegRequest

type AddEcnWithIegRequest struct {

	// 企业连接网络ID
	EcnId string `json:"ecn_id"`

	Body *EcnWithIegRequest `json:"body,omitempty"`
}

AddEcnWithIegRequest Request Object

func (AddEcnWithIegRequest) String

func (o AddEcnWithIegRequest) String() string

type AddEcnWithIegResponse

type AddEcnWithIegResponse struct {

	// 企业连接网络绑定智能企业网关ID
	Id *string `json:"id,omitempty"`

	// 智能企业网关ID
	IegId *string `json:"ieg_id,omitempty"`

	// 区域ID
	RegionId *string `json:"region_id,omitempty"`

	// 状态
	Status *string `json:"status,omitempty"`

	// 健康状态
	HealthStatus *AddEcnWithIegResponseHealthStatus `json:"health_status,omitempty"`

	// 创建时间
	CreatedAt      *sdktime.SdkTime `json:"created_at,omitempty"`
	HttpStatusCode int              `json:"-"`
}

AddEcnWithIegResponse Response Object

func (AddEcnWithIegResponse) String

func (o AddEcnWithIegResponse) String() string

type AddEcnWithIegResponseHealthStatus

type AddEcnWithIegResponseHealthStatus struct {
	// contains filtered or unexported fields
}

func (AddEcnWithIegResponseHealthStatus) MarshalJSON

func (c AddEcnWithIegResponseHealthStatus) MarshalJSON() ([]byte, error)

func (*AddEcnWithIegResponseHealthStatus) UnmarshalJSON

func (c *AddEcnWithIegResponseHealthStatus) UnmarshalJSON(b []byte) error

func (AddEcnWithIegResponseHealthStatus) Value

type AddEcnWithIegResponseHealthStatusEnum

type AddEcnWithIegResponseHealthStatusEnum struct {
	NORMAL     AddEcnWithIegResponseHealthStatus
	SUB_HEALTH AddEcnWithIegResponseHealthStatus
	FAULT      AddEcnWithIegResponseHealthStatus
}

func GetAddEcnWithIegResponseHealthStatusEnum

func GetAddEcnWithIegResponseHealthStatusEnum() AddEcnWithIegResponseHealthStatusEnum

type AddEcnWithVpcRequest added in v0.1.77

type AddEcnWithVpcRequest struct {

	// 企业连接网络ID
	EcnId string `json:"ecn_id"`

	Body *AddEcnWithVpcRequestBody `json:"body,omitempty"`
}

AddEcnWithVpcRequest Request Object

func (AddEcnWithVpcRequest) String added in v0.1.77

func (o AddEcnWithVpcRequest) String() string

type AddEcnWithVpcRequestBody added in v0.1.77

type AddEcnWithVpcRequestBody struct {

	// 虚拟私有云ID
	VpcId string `json:"vpc_id"`

	// 子网ID
	SubnetId string `json:"subnet_id"`

	// 本端子网列表
	LocalSubnetList []string `json:"local_subnet_list"`

	// 虚拟私有云区域项目ID
	RegionProjectId string `json:"region_project_id"`

	// 区域ID
	RegionId string `json:"region_id"`
}

func (AddEcnWithVpcRequestBody) String added in v0.1.77

func (o AddEcnWithVpcRequestBody) String() string

type AddEcnWithVpcResponse added in v0.1.77

type AddEcnWithVpcResponse struct {

	// 企业连接网络关联虚拟私有云ID
	Id *string `json:"id,omitempty"`

	// 虚拟私有云ID
	VpcId *string `json:"vpc_id,omitempty"`

	// 子网ID
	SubnetId *string `json:"subnet_id,omitempty"`

	// 本端子网列表
	LocalSubnetList *[]string `json:"local_subnet_list,omitempty"`

	// 对端子网列表
	RemoteSubnetList *[]string `json:"remote_subnet_list,omitempty"`

	// 区域ID
	RegionId *string `json:"region_id,omitempty"`

	// 状态
	Status *string `json:"status,omitempty"`

	// 创建时间
	CreatedAt      *sdktime.SdkTime `json:"created_at,omitempty"`
	HttpStatusCode int              `json:"-"`
}

AddEcnWithVpcResponse Response Object

func (AddEcnWithVpcResponse) String added in v0.1.77

func (o AddEcnWithVpcResponse) String() string

type AddVrrpConfigRequest

type AddVrrpConfigRequest struct {

	// 智能企业网关ID
	IegId string `json:"ieg_id"`

	Body *CreateUpdateVrrpConfigRequestBody `json:"body,omitempty"`
}

AddVrrpConfigRequest Request Object

func (AddVrrpConfigRequest) String

func (o AddVrrpConfigRequest) String() string

type AddVrrpConfigResponse

type AddVrrpConfigResponse struct {

	// 智能企业网关ID
	IegId *string `json:"ieg_id,omitempty"`

	// 虚路由ID
	VirtualRouterId *int32 `json:"virtual_router_id,omitempty"`

	// 虚IP
	VirtualIp *string `json:"virtual_ip,omitempty"`

	// 主设备ID
	ActiveEquipmentId *string `json:"active_equipment_id,omitempty"`

	// 主设备接口名字
	ActiveInterfaceName *string `json:"active_interface_name,omitempty"`

	// 备设备ID
	StandbyEquipmentId *string `json:"standby_equipment_id,omitempty"`

	// 备设备接口名字
	StandbyInterfaceName *string `json:"standby_interface_name,omitempty"`
	HttpStatusCode       int     `json:"-"`
}

AddVrrpConfigResponse Response Object

func (AddVrrpConfigResponse) String

func (o AddVrrpConfigResponse) String() string

type ChangeIegPasswordRequest

type ChangeIegPasswordRequest struct {

	// 智能企业网关ID
	IegId string `json:"ieg_id"`

	Body *ChangePasswordBody `json:"body,omitempty"`
}

ChangeIegPasswordRequest Request Object

func (ChangeIegPasswordRequest) String

func (o ChangeIegPasswordRequest) String() string

type ChangeIegPasswordResponse

type ChangeIegPasswordResponse struct {

	// 成功信息
	SuccessMsg     *string `json:"success_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ChangeIegPasswordResponse Response Object

func (ChangeIegPasswordResponse) String

func (o ChangeIegPasswordResponse) String() string

type ChangePasswordBody

type ChangePasswordBody struct {
	Password string `json:"password"`
}

func (ChangePasswordBody) String

func (o ChangePasswordBody) String() string

type CreateAccessPointRequestBody

type CreateAccessPointRequestBody struct {

	// 区域ID
	RegionId string `json:"region_id"`

	// 带宽
	BandwidthSize int32 `json:"bandwidth_size"`
}

func (CreateAccessPointRequestBody) String

type CreateEcnAccessPointRequest

type CreateEcnAccessPointRequest struct {

	// 企业连接网络ID
	EcnId string `json:"ecn_id"`

	Body *CreateAccessPointRequestBody `json:"body,omitempty"`
}

CreateEcnAccessPointRequest Request Object

func (CreateEcnAccessPointRequest) String

type CreateEcnAccessPointResponse

type CreateEcnAccessPointResponse struct {

	// 企业连接网络接入点ID
	Id *string `json:"id,omitempty"`

	// 区域ID
	RegionId *string `json:"region_id,omitempty"`

	// 带宽
	BandwidthSize *int32 `json:"bandwidth_size,omitempty"`

	// 绑定智能企业网关数量
	BindIegCount *int32 `json:"bind_ieg_count,omitempty"`

	// 关联VPC数量
	AttachVpcCount *int32 `json:"attach_vpc_count,omitempty"`

	// 创建时间
	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	// 更新时间
	UpdatedAt      *sdktime.SdkTime `json:"updated_at,omitempty"`
	HttpStatusCode int              `json:"-"`
}

CreateEcnAccessPointResponse Response Object

func (CreateEcnAccessPointResponse) String

type CreateEquipmentLanConfigRequest

type CreateEquipmentLanConfigRequest struct {

	// 智能企业网关ID
	IegId string `json:"ieg_id"`

	// 智能企业网关设备ID
	EquipmentId string `json:"equipment_id"`

	Body *EquipmentLanItem `json:"body,omitempty"`
}

CreateEquipmentLanConfigRequest Request Object

func (CreateEquipmentLanConfigRequest) String

type CreateEquipmentLanConfigResponse

type CreateEquipmentLanConfigResponse struct {

	// 接口名字
	InterfaceName *string `json:"interface_name,omitempty"`

	// 接口类型
	InterfaceType *CreateEquipmentLanConfigResponseInterfaceType `json:"interface_type,omitempty"`

	// VlanID
	VlanId *int32 `json:"vlan_id,omitempty"`

	// IPv4地址
	IpAddress *string `json:"ip_address,omitempty"`

	// DHCP开关
	Dhcp *bool `json:"dhcp,omitempty"`

	// DHCP地址池起始IP地址
	StartIpAddress *string `json:"start_ip_address,omitempty"`

	// DHCP地址池结束IP地址
	EndIpAddress *string `json:"end_ip_address,omitempty"`

	// 地址租期(分钟)
	LeaseTime *int32 `json:"lease_time,omitempty"`

	// 发布到企业连接网络
	PostToCloud    *bool `json:"post_to_cloud,omitempty"`
	HttpStatusCode int   `json:"-"`
}

CreateEquipmentLanConfigResponse Response Object

func (CreateEquipmentLanConfigResponse) String

type CreateEquipmentLanConfigResponseInterfaceType

type CreateEquipmentLanConfigResponseInterfaceType struct {
	// contains filtered or unexported fields
}

func (CreateEquipmentLanConfigResponseInterfaceType) MarshalJSON

func (*CreateEquipmentLanConfigResponseInterfaceType) UnmarshalJSON

func (CreateEquipmentLanConfigResponseInterfaceType) Value

type CreateEquipmentLanConfigResponseInterfaceTypeEnum

type CreateEquipmentLanConfigResponseInterfaceTypeEnum struct {
	L3_MAIN_INTERFACE CreateEquipmentLanConfigResponseInterfaceType
	L3_SUB_INTERFACE  CreateEquipmentLanConfigResponseInterfaceType
	VLAN_INTERFACE    CreateEquipmentLanConfigResponseInterfaceType
}

func GetCreateEquipmentLanConfigResponseInterfaceTypeEnum

func GetCreateEquipmentLanConfigResponseInterfaceTypeEnum() CreateEquipmentLanConfigResponseInterfaceTypeEnum

type CreateEquipmentRequest

type CreateEquipmentRequest struct {

	// 智能企业网关ID
	IegId string `json:"ieg_id"`

	Body *EquipmentActivate `json:"body,omitempty"`
}

CreateEquipmentRequest Request Object

func (CreateEquipmentRequest) String

func (o CreateEquipmentRequest) String() string

type CreateEquipmentResponse

type CreateEquipmentResponse struct {

	// 智能企业网关设备ID
	Id *string `json:"id,omitempty"`

	// 智能企业网关ID
	IegId *string `json:"ieg_id,omitempty"`

	// esn
	Esn *string `json:"esn,omitempty"`

	// 设备名字
	Name *string `json:"name,omitempty"`

	// 设备类型
	Type *CreateEquipmentResponseType `json:"type,omitempty"`

	// 高可用类型
	HaType *CreateEquipmentResponseHaType `json:"ha_type,omitempty"`

	// 设备软件版本
	Version *string `json:"version,omitempty"`

	// 激活时间
	ActiveAt *sdktime.SdkTime `json:"active_at,omitempty"`

	// 上线时间
	GoLiveAt *sdktime.SdkTime `json:"go_live_at,omitempty"`

	// 设备启动时间
	StartUpAt *sdktime.SdkTime `json:"start_up_at,omitempty"`

	// VPN状态
	CloudAccessStatus *string `json:"cloud_access_status,omitempty"`

	// 状态
	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateEquipmentResponse Response Object

func (CreateEquipmentResponse) String

func (o CreateEquipmentResponse) String() string

type CreateEquipmentResponseHaType

type CreateEquipmentResponseHaType struct {
	// contains filtered or unexported fields
}

func (CreateEquipmentResponseHaType) MarshalJSON

func (c CreateEquipmentResponseHaType) MarshalJSON() ([]byte, error)

func (*CreateEquipmentResponseHaType) UnmarshalJSON

func (c *CreateEquipmentResponseHaType) UnmarshalJSON(b []byte) error

func (CreateEquipmentResponseHaType) Value

type CreateEquipmentResponseHaTypeEnum

type CreateEquipmentResponseHaTypeEnum struct {
	ACTIVE  CreateEquipmentResponseHaType
	STANDBY CreateEquipmentResponseHaType
}

func GetCreateEquipmentResponseHaTypeEnum

func GetCreateEquipmentResponseHaTypeEnum() CreateEquipmentResponseHaTypeEnum

type CreateEquipmentResponseType

type CreateEquipmentResponseType struct {
	// contains filtered or unexported fields
}

func (CreateEquipmentResponseType) MarshalJSON

func (c CreateEquipmentResponseType) MarshalJSON() ([]byte, error)

func (*CreateEquipmentResponseType) UnmarshalJSON

func (c *CreateEquipmentResponseType) UnmarshalJSON(b []byte) error

func (CreateEquipmentResponseType) Value

type CreateEquipmentResponseTypeEnum

type CreateEquipmentResponseTypeEnum struct {
	STANDARD CreateEquipmentResponseType
	SOHO     CreateEquipmentResponseType
}

func GetCreateEquipmentResponseTypeEnum

func GetCreateEquipmentResponseTypeEnum() CreateEquipmentResponseTypeEnum

type CreateEquipmentStaticRouteConfigRequest

type CreateEquipmentStaticRouteConfigRequest struct {

	// 智能企业网关ID
	IegId string `json:"ieg_id"`

	// 智能企业网关设备ID
	EquipmentId string `json:"equipment_id"`

	Body *StaticRouteItem `json:"body,omitempty"`
}

CreateEquipmentStaticRouteConfigRequest Request Object

func (CreateEquipmentStaticRouteConfigRequest) String

type CreateEquipmentStaticRouteConfigResponse

type CreateEquipmentStaticRouteConfigResponse struct {

	// 目标网络
	Prefix *string `json:"prefix,omitempty"`

	// 下一跳地址
	NextHop *string `json:"next_hop,omitempty"`

	// 接口名字
	InterfaceName *string `json:"interface_name,omitempty"`

	// 优先级
	Priority *int32 `json:"priority,omitempty"`

	// 自动检测
	TrackNqa *bool `json:"track_nqa,omitempty"`

	// 发布到企业连接网络
	PostToCloud    *bool `json:"post_to_cloud,omitempty"`
	HttpStatusCode int   `json:"-"`
}

CreateEquipmentStaticRouteConfigResponse Response Object

func (CreateEquipmentStaticRouteConfigResponse) String

type CreateUpdateVrrpConfigRequestBody

type CreateUpdateVrrpConfigRequestBody struct {

	// 虚IP
	VirtualIp string `json:"virtual_ip"`

	// 主设备ID
	ActiveEquipmentId string `json:"active_equipment_id"`

	// 主设备接口名字
	ActiveInterfaceName string `json:"active_interface_name"`

	// 备设备ID
	StandbyEquipmentId string `json:"standby_equipment_id"`

	// 备设备接口名字
	StandbyInterfaceName string `json:"standby_interface_name"`
}

func (CreateUpdateVrrpConfigRequestBody) String

type DeleteEcnAccessPointRequest

type DeleteEcnAccessPointRequest struct {

	// 企业连接网络ID
	EcnId string `json:"ecn_id"`

	// 企业连接网络接入点ID
	AccessPointId string `json:"access_point_id"`
}

DeleteEcnAccessPointRequest Request Object

func (DeleteEcnAccessPointRequest) String

type DeleteEcnAccessPointResponse

type DeleteEcnAccessPointResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteEcnAccessPointResponse Response Object

func (DeleteEcnAccessPointResponse) String

type DeleteEcnWithErRequest

type DeleteEcnWithErRequest struct {

	// 企业连接网络ID
	EcnId string `json:"ecn_id"`

	// 企业连接网络绑定关系ID
	RelationId string `json:"relation_id"`
}

DeleteEcnWithErRequest Request Object

func (DeleteEcnWithErRequest) String

func (o DeleteEcnWithErRequest) String() string

type DeleteEcnWithErResponse

type DeleteEcnWithErResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteEcnWithErResponse Response Object

func (DeleteEcnWithErResponse) String

func (o DeleteEcnWithErResponse) String() string

type DeleteEcnWithIegRequest

type DeleteEcnWithIegRequest struct {

	// 企业连接网络ID
	EcnId string `json:"ecn_id"`

	// 企业连接网络绑定关系ID
	RelationId string `json:"relation_id"`
}

DeleteEcnWithIegRequest Request Object

func (DeleteEcnWithIegRequest) String

func (o DeleteEcnWithIegRequest) String() string

type DeleteEcnWithIegResponse

type DeleteEcnWithIegResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteEcnWithIegResponse Response Object

func (DeleteEcnWithIegResponse) String

func (o DeleteEcnWithIegResponse) String() string

type DeleteEcnWithVpcRequest added in v0.1.77

type DeleteEcnWithVpcRequest struct {

	// 企业连接网络ID
	EcnId string `json:"ecn_id"`

	// 企业连接网络绑定关系ID
	RelationId string `json:"relation_id"`
}

DeleteEcnWithVpcRequest Request Object

func (DeleteEcnWithVpcRequest) String added in v0.1.77

func (o DeleteEcnWithVpcRequest) String() string

type DeleteEcnWithVpcResponse added in v0.1.77

type DeleteEcnWithVpcResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteEcnWithVpcResponse Response Object

func (DeleteEcnWithVpcResponse) String added in v0.1.77

func (o DeleteEcnWithVpcResponse) String() string

type DeleteEquipmentLanConfigRequest

type DeleteEquipmentLanConfigRequest struct {

	// 智能企业网关ID
	IegId string `json:"ieg_id"`

	// 智能企业网关设备ID
	EquipmentId string `json:"equipment_id"`

	// 接口名字
	InterfaceName string `json:"interface_name"`

	// VlanID
	VlanId *string `json:"vlan_id,omitempty"`
}

DeleteEquipmentLanConfigRequest Request Object

func (DeleteEquipmentLanConfigRequest) String

type DeleteEquipmentLanConfigResponse

type DeleteEquipmentLanConfigResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteEquipmentLanConfigResponse Response Object

func (DeleteEquipmentLanConfigResponse) String

type DeleteEquipmentRequest

type DeleteEquipmentRequest struct {

	// 智能企业网关ID
	IegId string `json:"ieg_id"`

	// 智能企业网关设备ID
	EquipmentId string `json:"equipment_id"`
}

DeleteEquipmentRequest Request Object

func (DeleteEquipmentRequest) String

func (o DeleteEquipmentRequest) String() string

type DeleteEquipmentResponse

type DeleteEquipmentResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteEquipmentResponse Response Object

func (DeleteEquipmentResponse) String

func (o DeleteEquipmentResponse) String() string

type DeleteEquipmentStaticRouteConfigRequest

type DeleteEquipmentStaticRouteConfigRequest struct {

	// 智能企业网关ID
	IegId string `json:"ieg_id"`

	// 智能企业网关设备ID
	EquipmentId string `json:"equipment_id"`

	// 目标网络
	Prefix string `json:"prefix"`

	// 下一跳地址
	NextHop string `json:"next_hop"`

	// 接口名字
	InterfaceName string `json:"interface_name"`
}

DeleteEquipmentStaticRouteConfigRequest Request Object

func (DeleteEquipmentStaticRouteConfigRequest) String

type DeleteEquipmentStaticRouteConfigResponse

type DeleteEquipmentStaticRouteConfigResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteEquipmentStaticRouteConfigResponse Response Object

func (DeleteEquipmentStaticRouteConfigResponse) String

type DeleteVrrpConfigRequest

type DeleteVrrpConfigRequest struct {

	// 智能企业网关ID
	IegId string `json:"ieg_id"`

	// 虚路由ID
	VirtualRouterId int32 `json:"virtual_router_id"`
}

DeleteVrrpConfigRequest Request Object

func (DeleteVrrpConfigRequest) String

func (o DeleteVrrpConfigRequest) String() string

type DeleteVrrpConfigResponse

type DeleteVrrpConfigResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteVrrpConfigResponse Response Object

func (DeleteVrrpConfigResponse) String

func (o DeleteVrrpConfigResponse) String() string

type EcnErItem

type EcnErItem struct {

	// 企业连接网络关联企业路由器ID
	Id string `json:"id"`

	// 企业路由器ID
	ErId string `json:"er_id"`

	// 区域ID
	RegionId string `json:"region_id"`

	// 状态
	Status *string `json:"status,omitempty"`

	// 健康状态
	HealthStatus *EcnErItemHealthStatus `json:"health_status,omitempty"`

	// 创建时间
	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`
}

func (EcnErItem) String

func (o EcnErItem) String() string

type EcnErItemHealthStatus

type EcnErItemHealthStatus struct {
	// contains filtered or unexported fields
}

func (EcnErItemHealthStatus) MarshalJSON

func (c EcnErItemHealthStatus) MarshalJSON() ([]byte, error)

func (*EcnErItemHealthStatus) UnmarshalJSON

func (c *EcnErItemHealthStatus) UnmarshalJSON(b []byte) error

func (EcnErItemHealthStatus) Value

func (c EcnErItemHealthStatus) Value() string

type EcnErItemHealthStatusEnum

type EcnErItemHealthStatusEnum struct {
	NORMAL     EcnErItemHealthStatus
	SUB_HEALTH EcnErItemHealthStatus
	FAULT      EcnErItemHealthStatus
}

func GetEcnErItemHealthStatusEnum

func GetEcnErItemHealthStatusEnum() EcnErItemHealthStatusEnum

type EcnIegItem

type EcnIegItem struct {

	// 企业连接网络绑定智能企业网关ID
	Id string `json:"id"`

	// 智能企业网关ID
	IegId *string `json:"ieg_id,omitempty"`

	// 区域ID
	RegionId string `json:"region_id"`

	// 状态
	Status *string `json:"status,omitempty"`

	// 健康状态
	HealthStatus *EcnIegItemHealthStatus `json:"health_status,omitempty"`

	// 创建时间
	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`
}

func (EcnIegItem) String

func (o EcnIegItem) String() string

type EcnIegItemHealthStatus

type EcnIegItemHealthStatus struct {
	// contains filtered or unexported fields
}

func (EcnIegItemHealthStatus) MarshalJSON

func (c EcnIegItemHealthStatus) MarshalJSON() ([]byte, error)

func (*EcnIegItemHealthStatus) UnmarshalJSON

func (c *EcnIegItemHealthStatus) UnmarshalJSON(b []byte) error

func (EcnIegItemHealthStatus) Value

func (c EcnIegItemHealthStatus) Value() string

type EcnIegItemHealthStatusEnum

type EcnIegItemHealthStatusEnum struct {
	NORMAL     EcnIegItemHealthStatus
	SUB_HEALTH EcnIegItemHealthStatus
	FAULT      EcnIegItemHealthStatus
}

func GetEcnIegItemHealthStatusEnum

func GetEcnIegItemHealthStatusEnum() EcnIegItemHealthStatusEnum

type EcnItem

type EcnItem struct {

	// 企业连接网络ID
	Id string `json:"id"`

	// 项目ID
	ProjectId *string `json:"project_id,omitempty"`

	// 租户账号ID
	DomainId *string `json:"domain_id,omitempty"`

	// 企业连接网络名字
	Name *string `json:"name,omitempty"`

	// 描述信息
	Description *string `json:"description,omitempty"`

	// 带宽
	BandwidthSize *int32 `json:"bandwidth_size,omitempty"`

	// 企业连接网络类型
	Type string `json:"type"`

	// 大区ID
	AreaId *string `json:"area_id,omitempty"`

	// 区域ID
	RegionId *string `json:"region_id,omitempty"`

	// 企业连接网络AS号
	EcnAsn *int64 `json:"ecn_asn,omitempty"`

	// 智能企业网关AS号
	IegAsn *int64 `json:"ieg_asn,omitempty"`

	// VXLAN网络标识
	Vni *int32 `json:"vni,omitempty"`

	// 企业路由器列表
	EnterpriseRouterIds *[]string `json:"enterprise_router_ids,omitempty"`

	// 虚拟私有云列表
	VpcIds *[]string `json:"vpc_ids,omitempty"`

	// 绑定智能企业网关数量
	BindIegCount *int32 `json:"bind_ieg_count,omitempty"`

	// 企业项目ID
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 状态
	Status *string `json:"status,omitempty"`

	// 冻结效果
	FrozenEffect *int32 `json:"frozen_effect,omitempty"`

	// 分支互联开关
	HubEnable *bool `json:"hub_enable,omitempty"`

	// 创建时间
	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	// 更新时间
	UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"`

	// 包周期场景下购买的订单号,按需场景下为空
	OrderId *string `json:"order_id,omitempty"`

	// 包周期场景下购买的订单号,按需场景下为空
	ProductId *string `json:"product_id,omitempty"`
}

func (EcnItem) String

func (o EcnItem) String() string

type EcnWithErRequest

type EcnWithErRequest struct {

	// 企业路由器ID
	ErId string `json:"er_id"`

	// 企业路由器区域项目ID
	RegionProjectId string `json:"region_project_id"`

	// 区域ID
	RegionId string `json:"region_id"`
}

func (EcnWithErRequest) String

func (o EcnWithErRequest) String() string

type EcnWithIegRequest

type EcnWithIegRequest struct {

	// 智能企业网关ID
	IegId string `json:"ieg_id"`

	// 区域ID
	RegionId string `json:"region_id"`
}

func (EcnWithIegRequest) String

func (o EcnWithIegRequest) String() string

type EcnWithVpcItem added in v0.1.77

type EcnWithVpcItem struct {

	// 企业连接网络关联虚拟私有云ID
	Id string `json:"id"`

	// 虚拟私有云ID
	VpcId string `json:"vpc_id"`

	// 子网ID
	SubnetId *string `json:"subnet_id,omitempty"`

	// 本端子网列表
	LocalSubnetList *[]string `json:"local_subnet_list,omitempty"`

	// 对端子网列表
	RemoteSubnetList *[]string `json:"remote_subnet_list,omitempty"`

	// 区域ID
	RegionId string `json:"region_id"`

	// 状态
	Status *string `json:"status,omitempty"`

	// 创建时间
	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`
}

func (EcnWithVpcItem) String added in v0.1.77

func (o EcnWithVpcItem) String() string

type EquipmentActivate

type EquipmentActivate struct {

	// 设备名称
	Name string `json:"name"`

	// 设备类型
	Type EquipmentActivateType `json:"type"`

	// esn
	Esn string `json:"esn"`

	// 高可用类型
	HaType EquipmentActivateHaType `json:"ha_type"`
}

func (EquipmentActivate) String

func (o EquipmentActivate) String() string

type EquipmentActivateHaType

type EquipmentActivateHaType struct {
	// contains filtered or unexported fields
}

func (EquipmentActivateHaType) MarshalJSON

func (c EquipmentActivateHaType) MarshalJSON() ([]byte, error)

func (*EquipmentActivateHaType) UnmarshalJSON

func (c *EquipmentActivateHaType) UnmarshalJSON(b []byte) error

func (EquipmentActivateHaType) Value

func (c EquipmentActivateHaType) Value() string

type EquipmentActivateHaTypeEnum

type EquipmentActivateHaTypeEnum struct {
	ACTIVE  EquipmentActivateHaType
	STANDBY EquipmentActivateHaType
}

func GetEquipmentActivateHaTypeEnum

func GetEquipmentActivateHaTypeEnum() EquipmentActivateHaTypeEnum

type EquipmentActivateType

type EquipmentActivateType struct {
	// contains filtered or unexported fields
}

func (EquipmentActivateType) MarshalJSON

func (c EquipmentActivateType) MarshalJSON() ([]byte, error)

func (*EquipmentActivateType) UnmarshalJSON

func (c *EquipmentActivateType) UnmarshalJSON(b []byte) error

func (EquipmentActivateType) Value

func (c EquipmentActivateType) Value() string

type EquipmentActivateTypeEnum

type EquipmentActivateTypeEnum struct {
	STANDARD EquipmentActivateType
	SOHO     EquipmentActivateType
}

func GetEquipmentActivateTypeEnum

func GetEquipmentActivateTypeEnum() EquipmentActivateTypeEnum

type EquipmentDnsItem

type EquipmentDnsItem struct {

	// 主DNS
	MasterDns *string `json:"master_dns,omitempty"`

	// 备DNS
	SlaveDns *string `json:"slave_dns,omitempty"`
}

func (EquipmentDnsItem) String

func (o EquipmentDnsItem) String() string

type EquipmentEsn

type EquipmentEsn struct {

	// esn
	Esn string `json:"esn"`
}

func (EquipmentEsn) String

func (o EquipmentEsn) String() string

type EquipmentItem

type EquipmentItem struct {

	// 智能企业网关设备ID
	Id *string `json:"id,omitempty"`

	// 智能企业网关ID
	IegId *string `json:"ieg_id,omitempty"`

	// esn
	Esn *string `json:"esn,omitempty"`

	// 设备名字
	Name *string `json:"name,omitempty"`

	// 设备类型
	Type *EquipmentItemType `json:"type,omitempty"`

	// 高可用类型
	HaType *EquipmentItemHaType `json:"ha_type,omitempty"`

	// 设备软件版本
	Version *string `json:"version,omitempty"`

	// 激活时间
	ActiveAt *sdktime.SdkTime `json:"active_at,omitempty"`

	// 上线时间
	GoLiveAt *sdktime.SdkTime `json:"go_live_at,omitempty"`

	// 设备启动时间
	StartUpAt *sdktime.SdkTime `json:"start_up_at,omitempty"`

	// VPN状态
	CloudAccessStatus *string `json:"cloud_access_status,omitempty"`

	// 状态
	Status *string `json:"status,omitempty"`
}

func (EquipmentItem) String

func (o EquipmentItem) String() string

type EquipmentItemHaType

type EquipmentItemHaType struct {
	// contains filtered or unexported fields
}

func (EquipmentItemHaType) MarshalJSON

func (c EquipmentItemHaType) MarshalJSON() ([]byte, error)

func (*EquipmentItemHaType) UnmarshalJSON

func (c *EquipmentItemHaType) UnmarshalJSON(b []byte) error

func (EquipmentItemHaType) Value

func (c EquipmentItemHaType) Value() string

type EquipmentItemHaTypeEnum

type EquipmentItemHaTypeEnum struct {
	ACTIVE  EquipmentItemHaType
	STANDBY EquipmentItemHaType
}

func GetEquipmentItemHaTypeEnum

func GetEquipmentItemHaTypeEnum() EquipmentItemHaTypeEnum

type EquipmentItemType

type EquipmentItemType struct {
	// contains filtered or unexported fields
}

func (EquipmentItemType) MarshalJSON

func (c EquipmentItemType) MarshalJSON() ([]byte, error)

func (*EquipmentItemType) UnmarshalJSON

func (c *EquipmentItemType) UnmarshalJSON(b []byte) error

func (EquipmentItemType) Value

func (c EquipmentItemType) Value() string

type EquipmentItemTypeEnum

type EquipmentItemTypeEnum struct {
	STANDARD EquipmentItemType
	SOHO     EquipmentItemType
}

func GetEquipmentItemTypeEnum

func GetEquipmentItemTypeEnum() EquipmentItemTypeEnum

type EquipmentLanItem

type EquipmentLanItem struct {

	// 接口名字
	InterfaceName string `json:"interface_name"`

	// 接口类型
	InterfaceType EquipmentLanItemInterfaceType `json:"interface_type"`

	// VlanID
	VlanId *int32 `json:"vlan_id,omitempty"`

	// IPv4地址
	IpAddress string `json:"ip_address"`

	// DHCP开关
	Dhcp bool `json:"dhcp"`

	// DHCP地址池起始IP地址
	StartIpAddress *string `json:"start_ip_address,omitempty"`

	// DHCP地址池结束IP地址
	EndIpAddress *string `json:"end_ip_address,omitempty"`

	// 地址租期(分钟)
	LeaseTime *int32 `json:"lease_time,omitempty"`

	// 发布到企业连接网络
	PostToCloud bool `json:"post_to_cloud"`
}

func (EquipmentLanItem) String

func (o EquipmentLanItem) String() string

type EquipmentLanItemInterfaceType

type EquipmentLanItemInterfaceType struct {
	// contains filtered or unexported fields
}

func (EquipmentLanItemInterfaceType) MarshalJSON

func (c EquipmentLanItemInterfaceType) MarshalJSON() ([]byte, error)

func (*EquipmentLanItemInterfaceType) UnmarshalJSON

func (c *EquipmentLanItemInterfaceType) UnmarshalJSON(b []byte) error

func (EquipmentLanItemInterfaceType) Value

type EquipmentLanItemInterfaceTypeEnum

type EquipmentLanItemInterfaceTypeEnum struct {
	L3_MAIN_INTERFACE EquipmentLanItemInterfaceType
	L3_SUB_INTERFACE  EquipmentLanItemInterfaceType
	VLAN_INTERFACE    EquipmentLanItemInterfaceType
}

func GetEquipmentLanItemInterfaceTypeEnum

func GetEquipmentLanItemInterfaceTypeEnum() EquipmentLanItemInterfaceTypeEnum

type EquipmentOspfItem

type EquipmentOspfItem struct {

	// 是否启用OSPF
	OspfEnabled bool `json:"ospf_enabled"`

	// 区域标识
	AreaId *int64 `json:"area_id,omitempty"`

	// 发布到企业连接网络
	PostToCloud *bool `json:"post_to_cloud,omitempty"`

	// 发送Hello报文的时间间隔,单位是秒
	HelloTimer *int32 `json:"hello_timer,omitempty"`

	// 点分十进制格式,OSPF协议使用全网唯一的Router ID
	RouterId *string `json:"router_id,omitempty"`

	// 启用OSPF协议的接口列表
	Interfaces *[]string `json:"interfaces,omitempty"`

	// 是否启用前缀过滤
	FilterEnabled *bool `json:"filter_enabled,omitempty"`

	// 白名单列表
	TrustList *[]string `json:"trust_list,omitempty"`

	// 黑名单列表
	BlockList *[]string `json:"block_list,omitempty"`

	// 上云子网列表
	CloudSubnetList *[]string `json:"cloud_subnet_list,omitempty"`
}

func (EquipmentOspfItem) String

func (o EquipmentOspfItem) String() string

type EquipmentWanItem

type EquipmentWanItem struct {

	// 接口名字
	InterfaceName string `json:"interface_name"`

	// IP类型
	IpType *EquipmentWanItemIpType `json:"ip_type,omitempty"`

	// IPv4地址
	IpAddress *string `json:"ip_address,omitempty"`

	// 网关IP
	GatewayIpAddress *string `json:"gateway_ip_address,omitempty"`

	// 最大上行带宽
	UplinkBandwidthSize *int32 `json:"uplink_bandwidth_size,omitempty"`

	// 优先级
	Priority EquipmentWanItemPriority `json:"priority"`

	// 是否使能本地上网
	NatOutbound *bool `json:"nat_outbound,omitempty"`

	// 最大上云带宽
	TunnelBandwidthSize *int32 `json:"tunnel_bandwidth_size,omitempty"`
}

func (EquipmentWanItem) String

func (o EquipmentWanItem) String() string

type EquipmentWanItemIpType

type EquipmentWanItemIpType struct {
	// contains filtered or unexported fields
}

func (EquipmentWanItemIpType) MarshalJSON

func (c EquipmentWanItemIpType) MarshalJSON() ([]byte, error)

func (*EquipmentWanItemIpType) UnmarshalJSON

func (c *EquipmentWanItemIpType) UnmarshalJSON(b []byte) error

func (EquipmentWanItemIpType) Value

func (c EquipmentWanItemIpType) Value() string

type EquipmentWanItemIpTypeEnum

type EquipmentWanItemIpTypeEnum struct {
	STATIC EquipmentWanItemIpType
	DHCP   EquipmentWanItemIpType
}

func GetEquipmentWanItemIpTypeEnum

func GetEquipmentWanItemIpTypeEnum() EquipmentWanItemIpTypeEnum

type EquipmentWanItemList

type EquipmentWanItemList struct {

	// 设备WAN口配置列表
	WanInterfaces *[]EquipmentWanItem `json:"wan_interfaces,omitempty"`
}

func (EquipmentWanItemList) String

func (o EquipmentWanItemList) String() string

type EquipmentWanItemPriority

type EquipmentWanItemPriority struct {
	// contains filtered or unexported fields
}

func (EquipmentWanItemPriority) MarshalJSON

func (c EquipmentWanItemPriority) MarshalJSON() ([]byte, error)

func (*EquipmentWanItemPriority) UnmarshalJSON

func (c *EquipmentWanItemPriority) UnmarshalJSON(b []byte) error

func (EquipmentWanItemPriority) Value

func (c EquipmentWanItemPriority) Value() string

type EquipmentWanItemPriorityEnum

type EquipmentWanItemPriorityEnum struct {
	ACTIVE  EquipmentWanItemPriority
	STANDBY EquipmentWanItemPriority
}

func GetEquipmentWanItemPriorityEnum

func GetEquipmentWanItemPriorityEnum() EquipmentWanItemPriorityEnum

type EquipmentWlanItem added in v0.1.71

type EquipmentWlanItem struct {

	// 是否支持wlan,提供给UI识别是否显示Wi-Fi配置页面
	SupportWlan bool `json:"support_wlan"`

	// 是否使能wlan,取值为true时,必须填写name、security_enabled、name_hided
	WlanEnabled bool `json:"wlan_enabled"`

	// Wi-Fi名称,长度1-32个字符,不支持中文字符,特殊字符只支持!~@_.?
	Name *string `json:"name,omitempty"`

	// 是否开启无线安全,取值为true时,必须填写authentication_method、encrption_method
	SecurityEnabled *bool `json:"security_enabled,omitempty"`

	// Wi-Fi密码,长度8-63个字符,包含大写字母、小写字母、数字、特殊字符中至少两种,不能和Wi-Fi名称及名称逆序相同,特殊字符只支持!~@_.?
	Password *string `json:"password,omitempty"`

	// 认证类型
	AuthenticationMethod *EquipmentWlanItemAuthenticationMethod `json:"authentication_method,omitempty"`

	// 加密方式,认证类型为WPA或者WPA2时,可选TKIP、AES
	EncrptionMethod *EquipmentWlanItemEncrptionMethod `json:"encrption_method,omitempty"`

	// 是否隐藏Wi-Fi名称
	NameHided *bool `json:"name_hided,omitempty"`
}

func (EquipmentWlanItem) String added in v0.1.71

func (o EquipmentWlanItem) String() string

type EquipmentWlanItemAuthenticationMethod added in v0.1.71

type EquipmentWlanItemAuthenticationMethod struct {
	// contains filtered or unexported fields
}

func (EquipmentWlanItemAuthenticationMethod) MarshalJSON added in v0.1.71

func (c EquipmentWlanItemAuthenticationMethod) MarshalJSON() ([]byte, error)

func (*EquipmentWlanItemAuthenticationMethod) UnmarshalJSON added in v0.1.71

func (c *EquipmentWlanItemAuthenticationMethod) UnmarshalJSON(b []byte) error

func (EquipmentWlanItemAuthenticationMethod) Value added in v0.1.71

type EquipmentWlanItemAuthenticationMethodEnum added in v0.1.71

type EquipmentWlanItemAuthenticationMethodEnum struct {
	WPA  EquipmentWlanItemAuthenticationMethod
	WPA2 EquipmentWlanItemAuthenticationMethod
}

func GetEquipmentWlanItemAuthenticationMethodEnum added in v0.1.71

func GetEquipmentWlanItemAuthenticationMethodEnum() EquipmentWlanItemAuthenticationMethodEnum

type EquipmentWlanItemEncrptionMethod added in v0.1.71

type EquipmentWlanItemEncrptionMethod struct {
	// contains filtered or unexported fields
}

func (EquipmentWlanItemEncrptionMethod) MarshalJSON added in v0.1.71

func (c EquipmentWlanItemEncrptionMethod) MarshalJSON() ([]byte, error)

func (*EquipmentWlanItemEncrptionMethod) UnmarshalJSON added in v0.1.71

func (c *EquipmentWlanItemEncrptionMethod) UnmarshalJSON(b []byte) error

func (EquipmentWlanItemEncrptionMethod) Value added in v0.1.71

type EquipmentWlanItemEncrptionMethodEnum added in v0.1.71

type EquipmentWlanItemEncrptionMethodEnum struct {
	TKIP EquipmentWlanItemEncrptionMethod
	AES  EquipmentWlanItemEncrptionMethod
}

func GetEquipmentWlanItemEncrptionMethodEnum added in v0.1.71

func GetEquipmentWlanItemEncrptionMethodEnum() EquipmentWlanItemEncrptionMethodEnum

type GenerateInitialConfigurationRequest

type GenerateInitialConfigurationRequest struct {

	// 智能企业网关ID
	IegId string `json:"ieg_id"`

	// 智能企业网关设备ID
	EquipmentId string `json:"equipment_id"`

	Body *InitialConfigurationReq `json:"body,omitempty"`
}

GenerateInitialConfigurationRequest Request Object

func (GenerateInitialConfigurationRequest) String

type GenerateInitialConfigurationResponse

type GenerateInitialConfigurationResponse struct {

	// 智能企业网关设备ID
	EquipmentId *string `json:"equipment_id,omitempty"`

	// 初始配置URL
	UrlConfigContent *string `json:"url_config_content,omitempty"`

	// 初始配置文件
	ScriptConfigContent *string `json:"script_config_content,omitempty"`

	// URL失效时间
	ExpireAt       *string `json:"expire_at,omitempty"`
	HttpStatusCode int     `json:"-"`
}

GenerateInitialConfigurationResponse Response Object

func (GenerateInitialConfigurationResponse) String

type IegItem

type IegItem struct {

	// 智能企业网关ID
	Id string `json:"id"`

	// 项目ID
	ProjectId *string `json:"project_id,omitempty"`

	// 租户账号ID
	DomainId *string `json:"domain_id,omitempty"`

	// 智能企业网关名字
	Name *string `json:"name,omitempty"`

	// 大区ID
	AreaId *string `json:"area_id,omitempty"`

	// 设备类型
	EquipmentType *string `json:"equipment_type,omitempty"`

	// 高可用性
	HighAvailability *string `json:"high_availability,omitempty"`

	// 冻结效果
	FrozenEffect *int32 `json:"frozen_effect,omitempty"`

	// 创建时间
	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	// 更新时间
	UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"`

	// 状态
	Status *string `json:"status,omitempty"`

	// 绑定的企业连接网络ID
	BindEcn *string `json:"bind_ecn,omitempty"`

	// 企业项目ID
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 包周期场景下购买的订单号,按需场景下为空
	OrderId *string `json:"order_id,omitempty"`

	// 包周期场景下购买的订单号,按需场景下为空
	ProductId *string `json:"product_id,omitempty"`

	// ieg设备信息
	EquipmentInfos *[]EquipmentItem `json:"equipment_infos,omitempty"`
}

func (IegItem) String

func (o IegItem) String() string

type InitialConfigurationReq

type InitialConfigurationReq struct {

	// 加密URL的密码。由8-12位字符,包含数字、大写字母、小写字母,每种字符至少出现一次
	Password *string `json:"password,omitempty"`
}

func (InitialConfigurationReq) String

func (o InitialConfigurationReq) String() string

type ListEcnAccessPointByEcnIdRequest

type ListEcnAccessPointByEcnIdRequest struct {

	// 企业连接网络ID
	EcnId string `json:"ecn_id"`
}

ListEcnAccessPointByEcnIdRequest Request Object

func (ListEcnAccessPointByEcnIdRequest) String

type ListEcnAccessPointByEcnIdResponse

type ListEcnAccessPointByEcnIdResponse struct {
	AccessPoints   *[]AccessPoint `json:"access_points,omitempty"`
	HttpStatusCode int            `json:"-"`
}

ListEcnAccessPointByEcnIdResponse Response Object

func (ListEcnAccessPointByEcnIdResponse) String

type ListEcnRequest

type ListEcnRequest struct {

	// 分页查询时每页返回的记录数量
	Limit *int32 `json:"limit,omitempty"`

	// marker标识,请求此marker之后的数据
	Marker *string `json:"marker,omitempty"`

	// 企业项目id
	EnterpriseProjectId *[]string `json:"enterprise_project_id,omitempty"`
}

ListEcnRequest Request Object

func (ListEcnRequest) String

func (o ListEcnRequest) String() string

type ListEcnResponse

type ListEcnResponse struct {

	// 企业连接网络列表
	EnterpriseConnectNetworks *[]EcnItem `json:"enterprise_connect_networks,omitempty"`

	PageInfo *PageInfo `json:"page_info,omitempty"`

	// 企业连接网络数量
	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListEcnResponse Response Object

func (ListEcnResponse) String

func (o ListEcnResponse) String() string

type ListEcnWithErRequest

type ListEcnWithErRequest struct {

	// 企业连接网络ID
	EcnId string `json:"ecn_id"`
}

ListEcnWithErRequest Request Object

func (ListEcnWithErRequest) String

func (o ListEcnWithErRequest) String() string

type ListEcnWithErResponse

type ListEcnWithErResponse struct {

	// 企业连接网络与企业路由器的绑定关系列表
	EcnErRelationships *[]EcnErItem `json:"ecn_er_relationships,omitempty"`
	HttpStatusCode     int          `json:"-"`
}

ListEcnWithErResponse Response Object

func (ListEcnWithErResponse) String

func (o ListEcnWithErResponse) String() string

type ListEcnWithIegRequest

type ListEcnWithIegRequest struct {

	// 企业连接网络ID
	EcnId string `json:"ecn_id"`

	// 智能企业网关ID
	IegId *string `json:"ieg_id,omitempty"`
}

ListEcnWithIegRequest Request Object

func (ListEcnWithIegRequest) String

func (o ListEcnWithIegRequest) String() string

type ListEcnWithIegResponse

type ListEcnWithIegResponse struct {

	// 企业连接网络与智能企业网关的绑定关系列表
	EcnIegRelationships *[]EcnIegItem `json:"ecn_ieg_relationships,omitempty"`
	HttpStatusCode      int           `json:"-"`
}

ListEcnWithIegResponse Response Object

func (ListEcnWithIegResponse) String

func (o ListEcnWithIegResponse) String() string

type ListEcnWithVpcRequest added in v0.1.77

type ListEcnWithVpcRequest struct {

	// 企业连接网络ID
	EcnId string `json:"ecn_id"`
}

ListEcnWithVpcRequest Request Object

func (ListEcnWithVpcRequest) String added in v0.1.77

func (o ListEcnWithVpcRequest) String() string

type ListEcnWithVpcResponse added in v0.1.77

type ListEcnWithVpcResponse struct {

	// 企业连接网络与虚拟私有云的绑定关系列表
	EcnVpcRelationships *[]EcnWithVpcItem `json:"ecn_vpc_relationships,omitempty"`
	HttpStatusCode      int               `json:"-"`
}

ListEcnWithVpcResponse Response Object

func (ListEcnWithVpcResponse) String added in v0.1.77

func (o ListEcnWithVpcResponse) String() string

type ListEquipmentInterfaceNameRequest

type ListEquipmentInterfaceNameRequest struct {

	// 智能企业网关ID
	IegId string `json:"ieg_id"`

	// 智能企业网关设备ID
	EquipmentId string `json:"equipment_id"`
}

ListEquipmentInterfaceNameRequest Request Object

func (ListEquipmentInterfaceNameRequest) String

type ListEquipmentInterfaceNameResponse

type ListEquipmentInterfaceNameResponse struct {

	// 设备接口名字列表
	InterfaceNames *[]string `json:"interface_names,omitempty"`
	HttpStatusCode int       `json:"-"`
}

ListEquipmentInterfaceNameResponse Response Object

func (ListEquipmentInterfaceNameResponse) String

type ListEquipmentsRequest

type ListEquipmentsRequest struct {

	// 智能企业网关ID
	IegId string `json:"ieg_id"`
}

ListEquipmentsRequest Request Object

func (ListEquipmentsRequest) String

func (o ListEquipmentsRequest) String() string

type ListEquipmentsResponse

type ListEquipmentsResponse struct {

	// 设备基本信息列表
	Equipments     *[]EquipmentItem `json:"equipments,omitempty"`
	HttpStatusCode int              `json:"-"`
}

ListEquipmentsResponse Response Object

func (ListEquipmentsResponse) String

func (o ListEquipmentsResponse) String() string

type ListIegRequest

type ListIegRequest struct {

	// 分页查询时每页返回的记录数量
	Limit *int32 `json:"limit,omitempty"`

	// marker标识,请求此marker之后的数据
	Marker *string `json:"marker,omitempty"`

	// 企业项目id
	EnterpriseProjectId *[]string `json:"enterprise_project_id,omitempty"`
}

ListIegRequest Request Object

func (ListIegRequest) String

func (o ListIegRequest) String() string

type ListIegResponse

type ListIegResponse struct {

	// 智能企业网关列表
	IntelligentEnterpriseGateways *[]IegItem `json:"intelligent_enterprise_gateways,omitempty"`

	PageInfo *PageInfo `json:"page_info,omitempty"`

	// 智能企业网关数量
	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListIegResponse Response Object

func (ListIegResponse) String

func (o ListIegResponse) String() string

type PageInfo

type PageInfo struct {

	// marker标识,请求此marker之后的数据
	NextMarker *string `json:"next_marker,omitempty"`

	// 当前数量
	CurrentCount *int32 `json:"current_count,omitempty"`
}

PageInfo 分页信息

func (PageInfo) String

func (o PageInfo) String() string

type QuotaObject

type QuotaObject struct {

	// 配额类型
	Type *QuotaObjectType `json:"type,omitempty"`

	// 单位
	Unit *string `json:"unit,omitempty"`

	// 最小值
	Min *int32 `json:"min,omitempty"`

	// 最大值
	Max *int32 `json:"max,omitempty"`

	// 配额上限
	Quota *int32 `json:"quota,omitempty"`

	// 已使用数
	Used *int32 `json:"used,omitempty"`
}

func (QuotaObject) String

func (o QuotaObject) String() string

type QuotaObjectType

type QuotaObjectType struct {
	// contains filtered or unexported fields
}

func (QuotaObjectType) MarshalJSON

func (c QuotaObjectType) MarshalJSON() ([]byte, error)

func (*QuotaObjectType) UnmarshalJSON

func (c *QuotaObjectType) UnmarshalJSON(b []byte) error

func (QuotaObjectType) Value

func (c QuotaObjectType) Value() string

type QuotaObjectTypeEnum

type QuotaObjectTypeEnum struct {
	IEG_NUM_LIMIT                    QuotaObjectType
	ECN_NUM_LIMIT                    QuotaObjectType
	ECN_STANDARD_BANDWIDTH_LIMIT     QuotaObjectType
	ECN_PROFESSIONAL_BANDWIDTH_LIMIT QuotaObjectType
	ROUTE_LIMIT                      QuotaObjectType
}

func GetQuotaObjectTypeEnum

func GetQuotaObjectTypeEnum() QuotaObjectTypeEnum

type Quotas

type Quotas struct {
	Resources *[]QuotaObject `json:"resources,omitempty"`
}

func (Quotas) String

func (o Quotas) String() string

type RebootEquipmentRequest

type RebootEquipmentRequest struct {

	// 智能企业网关ID
	IegId string `json:"ieg_id"`

	// 智能企业网关设备ID
	EquipmentId string `json:"equipment_id"`
}

RebootEquipmentRequest Request Object

func (RebootEquipmentRequest) String

func (o RebootEquipmentRequest) String() string

type RebootEquipmentResponse

type RebootEquipmentResponse struct {

	// 成功信息
	SuccessMsg     *string `json:"success_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

RebootEquipmentResponse Response Object

func (RebootEquipmentResponse) String

func (o RebootEquipmentResponse) String() string

type ShowEcnInfoRequest

type ShowEcnInfoRequest struct {

	// 企业连接网络ID
	EcnId string `json:"ecn_id"`
}

ShowEcnInfoRequest Request Object

func (ShowEcnInfoRequest) String

func (o ShowEcnInfoRequest) String() string

type ShowEcnInfoResponse

type ShowEcnInfoResponse struct {

	// 企业连接网络ID
	Id *string `json:"id,omitempty"`

	// 项目ID
	ProjectId *string `json:"project_id,omitempty"`

	// 租户账号ID
	DomainId *string `json:"domain_id,omitempty"`

	// 企业连接网络名字
	Name *string `json:"name,omitempty"`

	// 描述信息
	Description *string `json:"description,omitempty"`

	// 带宽
	BandwidthSize *int32 `json:"bandwidth_size,omitempty"`

	// 企业连接网络类型
	Type *string `json:"type,omitempty"`

	// 大区ID
	AreaId *string `json:"area_id,omitempty"`

	// 区域ID
	RegionId *string `json:"region_id,omitempty"`

	// 企业连接网络AS号
	EcnAsn *int64 `json:"ecn_asn,omitempty"`

	// 智能企业网关AS号
	IegAsn *int64 `json:"ieg_asn,omitempty"`

	// VXLAN网络标识
	Vni *int32 `json:"vni,omitempty"`

	// 企业路由器列表
	EnterpriseRouterIds *[]string `json:"enterprise_router_ids,omitempty"`

	// 虚拟私有云列表
	VpcIds *[]string `json:"vpc_ids,omitempty"`

	// 绑定智能企业网关数量
	BindIegCount *int32 `json:"bind_ieg_count,omitempty"`

	// 企业项目ID
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 状态
	Status *string `json:"status,omitempty"`

	// 冻结效果
	FrozenEffect *int32 `json:"frozen_effect,omitempty"`

	// 分支互联开关
	HubEnable *bool `json:"hub_enable,omitempty"`

	// 创建时间
	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	// 更新时间
	UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"`

	// 包周期场景下购买的订单号,按需场景下为空
	OrderId *string `json:"order_id,omitempty"`

	// 包周期场景下购买的订单号,按需场景下为空
	ProductId      *string `json:"product_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowEcnInfoResponse Response Object

func (ShowEcnInfoResponse) String

func (o ShowEcnInfoResponse) String() string

type ShowEcnWithIegRequest

type ShowEcnWithIegRequest struct {

	// 企业连接网络ID
	EcnId string `json:"ecn_id"`

	// 企业连接网络绑定关系ID
	RelationId string `json:"relation_id"`
}

ShowEcnWithIegRequest Request Object

func (ShowEcnWithIegRequest) String

func (o ShowEcnWithIegRequest) String() string

type ShowEcnWithIegResponse

type ShowEcnWithIegResponse struct {

	// 企业连接网络绑定智能企业网关ID
	Id *string `json:"id,omitempty"`

	// 智能企业网关ID
	IegId *string `json:"ieg_id,omitempty"`

	// 区域ID
	RegionId *string `json:"region_id,omitempty"`

	// 状态
	Status *string `json:"status,omitempty"`

	// 健康状态
	HealthStatus *ShowEcnWithIegResponseHealthStatus `json:"health_status,omitempty"`

	// 创建时间
	CreatedAt      *sdktime.SdkTime `json:"created_at,omitempty"`
	HttpStatusCode int              `json:"-"`
}

ShowEcnWithIegResponse Response Object

func (ShowEcnWithIegResponse) String

func (o ShowEcnWithIegResponse) String() string

type ShowEcnWithIegResponseHealthStatus

type ShowEcnWithIegResponseHealthStatus struct {
	// contains filtered or unexported fields
}

func (ShowEcnWithIegResponseHealthStatus) MarshalJSON

func (c ShowEcnWithIegResponseHealthStatus) MarshalJSON() ([]byte, error)

func (*ShowEcnWithIegResponseHealthStatus) UnmarshalJSON

func (c *ShowEcnWithIegResponseHealthStatus) UnmarshalJSON(b []byte) error

func (ShowEcnWithIegResponseHealthStatus) Value

type ShowEquipmentDnsInfoRequest

type ShowEquipmentDnsInfoRequest struct {

	// 智能企业网关ID
	IegId string `json:"ieg_id"`

	// 智能企业网关设备ID
	EquipmentId string `json:"equipment_id"`
}

ShowEquipmentDnsInfoRequest Request Object

func (ShowEquipmentDnsInfoRequest) String

type ShowEquipmentDnsInfoResponse

type ShowEquipmentDnsInfoResponse struct {

	// 主DNS
	MasterDns *string `json:"master_dns,omitempty"`

	// 备DNS
	SlaveDns       *string `json:"slave_dns,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowEquipmentDnsInfoResponse Response Object

func (ShowEquipmentDnsInfoResponse) String

type ShowEquipmentInfoRequest

type ShowEquipmentInfoRequest struct {

	// 智能企业网关ID
	IegId string `json:"ieg_id"`

	// 智能企业网关设备ID
	EquipmentId string `json:"equipment_id"`
}

ShowEquipmentInfoRequest Request Object

func (ShowEquipmentInfoRequest) String

func (o ShowEquipmentInfoRequest) String() string

type ShowEquipmentInfoResponse

type ShowEquipmentInfoResponse struct {

	// 智能企业网关设备ID
	Id *string `json:"id,omitempty"`

	// 智能企业网关ID
	IegId *string `json:"ieg_id,omitempty"`

	// esn
	Esn *string `json:"esn,omitempty"`

	// 设备名字
	Name *string `json:"name,omitempty"`

	// 设备类型
	Type *ShowEquipmentInfoResponseType `json:"type,omitempty"`

	// 高可用类型
	HaType *ShowEquipmentInfoResponseHaType `json:"ha_type,omitempty"`

	// 设备软件版本
	Version *string `json:"version,omitempty"`

	// 激活时间
	ActiveAt *sdktime.SdkTime `json:"active_at,omitempty"`

	// 上线时间
	GoLiveAt *sdktime.SdkTime `json:"go_live_at,omitempty"`

	// 设备启动时间
	StartUpAt *sdktime.SdkTime `json:"start_up_at,omitempty"`

	// VPN状态
	CloudAccessStatus *string `json:"cloud_access_status,omitempty"`

	// 状态
	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowEquipmentInfoResponse Response Object

func (ShowEquipmentInfoResponse) String

func (o ShowEquipmentInfoResponse) String() string

type ShowEquipmentInfoResponseHaType

type ShowEquipmentInfoResponseHaType struct {
	// contains filtered or unexported fields
}

func (ShowEquipmentInfoResponseHaType) MarshalJSON

func (c ShowEquipmentInfoResponseHaType) MarshalJSON() ([]byte, error)

func (*ShowEquipmentInfoResponseHaType) UnmarshalJSON

func (c *ShowEquipmentInfoResponseHaType) UnmarshalJSON(b []byte) error

func (ShowEquipmentInfoResponseHaType) Value

type ShowEquipmentInfoResponseHaTypeEnum

type ShowEquipmentInfoResponseHaTypeEnum struct {
	ACTIVE  ShowEquipmentInfoResponseHaType
	STANDBY ShowEquipmentInfoResponseHaType
}

func GetShowEquipmentInfoResponseHaTypeEnum

func GetShowEquipmentInfoResponseHaTypeEnum() ShowEquipmentInfoResponseHaTypeEnum

type ShowEquipmentInfoResponseType

type ShowEquipmentInfoResponseType struct {
	// contains filtered or unexported fields
}

func (ShowEquipmentInfoResponseType) MarshalJSON

func (c ShowEquipmentInfoResponseType) MarshalJSON() ([]byte, error)

func (*ShowEquipmentInfoResponseType) UnmarshalJSON

func (c *ShowEquipmentInfoResponseType) UnmarshalJSON(b []byte) error

func (ShowEquipmentInfoResponseType) Value

type ShowEquipmentInfoResponseTypeEnum

type ShowEquipmentInfoResponseTypeEnum struct {
	STANDARD ShowEquipmentInfoResponseType
	SOHO     ShowEquipmentInfoResponseType
}

func GetShowEquipmentInfoResponseTypeEnum

func GetShowEquipmentInfoResponseTypeEnum() ShowEquipmentInfoResponseTypeEnum

type ShowEquipmentLanInfoRequest

type ShowEquipmentLanInfoRequest struct {

	// 智能企业网关ID
	IegId string `json:"ieg_id"`

	// 智能企业网关设备ID
	EquipmentId string `json:"equipment_id"`
}

ShowEquipmentLanInfoRequest Request Object

func (ShowEquipmentLanInfoRequest) String

type ShowEquipmentLanInfoResponse

type ShowEquipmentLanInfoResponse struct {

	// 设备LAN口配置列表
	LanInterfaces  *[]EquipmentLanItem `json:"lan_interfaces,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

ShowEquipmentLanInfoResponse Response Object

func (ShowEquipmentLanInfoResponse) String

type ShowEquipmentOspfRequest

type ShowEquipmentOspfRequest struct {

	// 智能企业网关ID
	IegId string `json:"ieg_id"`

	// 智能企业网关设备ID
	EquipmentId string `json:"equipment_id"`
}

ShowEquipmentOspfRequest Request Object

func (ShowEquipmentOspfRequest) String

func (o ShowEquipmentOspfRequest) String() string

type ShowEquipmentOspfResponse

type ShowEquipmentOspfResponse struct {

	// 是否启用OSPF
	OspfEnabled *bool `json:"ospf_enabled,omitempty"`

	// 区域标识
	AreaId *int64 `json:"area_id,omitempty"`

	// 发布到企业连接网络
	PostToCloud *bool `json:"post_to_cloud,omitempty"`

	// 发送Hello报文的时间间隔,单位是秒
	HelloTimer *int32 `json:"hello_timer,omitempty"`

	// 点分十进制格式,OSPF协议使用全网唯一的Router ID
	RouterId *string `json:"router_id,omitempty"`

	// 启用OSPF协议的接口列表
	Interfaces *[]string `json:"interfaces,omitempty"`

	// 是否启用前缀过滤
	FilterEnabled *bool `json:"filter_enabled,omitempty"`

	// 白名单列表
	TrustList *[]string `json:"trust_list,omitempty"`

	// 黑名单列表
	BlockList *[]string `json:"block_list,omitempty"`

	// 上云子网列表
	CloudSubnetList *[]string `json:"cloud_subnet_list,omitempty"`
	HttpStatusCode  int       `json:"-"`
}

ShowEquipmentOspfResponse Response Object

func (ShowEquipmentOspfResponse) String

func (o ShowEquipmentOspfResponse) String() string

type ShowEquipmentSpecificConfigRequest

type ShowEquipmentSpecificConfigRequest struct {

	// 智能企业网关设备ID
	EquipmentId string `json:"equipment_id"`
}

ShowEquipmentSpecificConfigRequest Request Object

func (ShowEquipmentSpecificConfigRequest) String

type ShowEquipmentSpecificConfigResponse

type ShowEquipmentSpecificConfigResponse struct {

	// 设备类型
	Type *string `json:"type,omitempty"`

	// WAN口列表
	WanInterfaces *[]string `json:"wan_interfaces,omitempty"`

	// LTE口列表
	LteInterfaces *[]string `json:"lte_interfaces,omitempty"`

	// LAN口列表
	LanInterfaces  *[]string `json:"lan_interfaces,omitempty"`
	HttpStatusCode int       `json:"-"`
}

ShowEquipmentSpecificConfigResponse Response Object

func (ShowEquipmentSpecificConfigResponse) String

type ShowEquipmentStaticRouteInfoRequest

type ShowEquipmentStaticRouteInfoRequest struct {

	// 智能企业网关ID
	IegId string `json:"ieg_id"`

	// 智能企业网关设备ID
	EquipmentId string `json:"equipment_id"`
}

ShowEquipmentStaticRouteInfoRequest Request Object

func (ShowEquipmentStaticRouteInfoRequest) String

type ShowEquipmentStaticRouteInfoResponse

type ShowEquipmentStaticRouteInfoResponse struct {

	// 设备静态路由配置列表
	StaticRoutes   *[]StaticRouteItem `json:"static_routes,omitempty"`
	HttpStatusCode int                `json:"-"`
}

ShowEquipmentStaticRouteInfoResponse Response Object

func (ShowEquipmentStaticRouteInfoResponse) String

type ShowEquipmentWanInfoRequest

type ShowEquipmentWanInfoRequest struct {

	// 智能企业网关ID
	IegId string `json:"ieg_id"`

	// 智能企业网关设备ID
	EquipmentId string `json:"equipment_id"`
}

ShowEquipmentWanInfoRequest Request Object

func (ShowEquipmentWanInfoRequest) String

type ShowEquipmentWanInfoResponse

type ShowEquipmentWanInfoResponse struct {

	// 设备WAN口配置列表
	WanInterfaces  *[]EquipmentWanItem `json:"wan_interfaces,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

ShowEquipmentWanInfoResponse Response Object

func (ShowEquipmentWanInfoResponse) String

type ShowEquipmentWlanRequest added in v0.1.71

type ShowEquipmentWlanRequest struct {

	// 智能企业网关ID
	IegId string `json:"ieg_id"`

	// 智能企业网关设备ID
	EquipmentId string `json:"equipment_id"`
}

ShowEquipmentWlanRequest Request Object

func (ShowEquipmentWlanRequest) String added in v0.1.71

func (o ShowEquipmentWlanRequest) String() string

type ShowEquipmentWlanResponse added in v0.1.71

type ShowEquipmentWlanResponse struct {

	// 是否支持wlan,提供给UI识别是否显示Wi-Fi配置页面
	SupportWlan *bool `json:"support_wlan,omitempty"`

	// 是否使能wlan,取值为true时,必须填写name、security_enabled、name_hided
	WlanEnabled *bool `json:"wlan_enabled,omitempty"`

	// Wi-Fi名称,长度1-32个字符,不支持中文字符,特殊字符只支持!~@_.?
	Name *string `json:"name,omitempty"`

	// 是否开启无线安全,取值为true时,必须填写authentication_method、encrption_method
	SecurityEnabled *bool `json:"security_enabled,omitempty"`

	// Wi-Fi密码,长度8-63个字符,包含大写字母、小写字母、数字、特殊字符中至少两种,不能和Wi-Fi名称及名称逆序相同,特殊字符只支持!~@_.?
	Password *string `json:"password,omitempty"`

	// 认证类型
	AuthenticationMethod *ShowEquipmentWlanResponseAuthenticationMethod `json:"authentication_method,omitempty"`

	// 加密方式,认证类型为WPA或者WPA2时,可选TKIP、AES
	EncrptionMethod *ShowEquipmentWlanResponseEncrptionMethod `json:"encrption_method,omitempty"`

	// 是否隐藏Wi-Fi名称
	NameHided      *bool `json:"name_hided,omitempty"`
	HttpStatusCode int   `json:"-"`
}

ShowEquipmentWlanResponse Response Object

func (ShowEquipmentWlanResponse) String added in v0.1.71

func (o ShowEquipmentWlanResponse) String() string

type ShowEquipmentWlanResponseAuthenticationMethod added in v0.1.71

type ShowEquipmentWlanResponseAuthenticationMethod struct {
	// contains filtered or unexported fields
}

func (ShowEquipmentWlanResponseAuthenticationMethod) MarshalJSON added in v0.1.71

func (*ShowEquipmentWlanResponseAuthenticationMethod) UnmarshalJSON added in v0.1.71

func (ShowEquipmentWlanResponseAuthenticationMethod) Value added in v0.1.71

type ShowEquipmentWlanResponseAuthenticationMethodEnum added in v0.1.71

type ShowEquipmentWlanResponseAuthenticationMethodEnum struct {
	WPA  ShowEquipmentWlanResponseAuthenticationMethod
	WPA2 ShowEquipmentWlanResponseAuthenticationMethod
}

func GetShowEquipmentWlanResponseAuthenticationMethodEnum added in v0.1.71

func GetShowEquipmentWlanResponseAuthenticationMethodEnum() ShowEquipmentWlanResponseAuthenticationMethodEnum

type ShowEquipmentWlanResponseEncrptionMethod added in v0.1.71

type ShowEquipmentWlanResponseEncrptionMethod struct {
	// contains filtered or unexported fields
}

func (ShowEquipmentWlanResponseEncrptionMethod) MarshalJSON added in v0.1.71

func (*ShowEquipmentWlanResponseEncrptionMethod) UnmarshalJSON added in v0.1.71

func (c *ShowEquipmentWlanResponseEncrptionMethod) UnmarshalJSON(b []byte) error

func (ShowEquipmentWlanResponseEncrptionMethod) Value added in v0.1.71

type ShowEquipmentWlanResponseEncrptionMethodEnum added in v0.1.71

type ShowEquipmentWlanResponseEncrptionMethodEnum struct {
	TKIP ShowEquipmentWlanResponseEncrptionMethod
	AES  ShowEquipmentWlanResponseEncrptionMethod
}

func GetShowEquipmentWlanResponseEncrptionMethodEnum added in v0.1.71

func GetShowEquipmentWlanResponseEncrptionMethodEnum() ShowEquipmentWlanResponseEncrptionMethodEnum

type ShowIegInfoRequest

type ShowIegInfoRequest struct {

	// 智能企业网关ID
	IegId string `json:"ieg_id"`
}

ShowIegInfoRequest Request Object

func (ShowIegInfoRequest) String

func (o ShowIegInfoRequest) String() string

type ShowIegInfoResponse

type ShowIegInfoResponse struct {

	// 智能企业网关ID
	Id *string `json:"id,omitempty"`

	// 项目ID
	ProjectId *string `json:"project_id,omitempty"`

	// 租户账号ID
	DomainId *string `json:"domain_id,omitempty"`

	// 智能企业网关名字
	Name *string `json:"name,omitempty"`

	// 大区ID
	AreaId *string `json:"area_id,omitempty"`

	// 设备类型
	EquipmentType *string `json:"equipment_type,omitempty"`

	// 高可用性
	HighAvailability *string `json:"high_availability,omitempty"`

	// 冻结效果
	FrozenEffect *int32 `json:"frozen_effect,omitempty"`

	// 创建时间
	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	// 更新时间
	UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"`

	// 状态
	Status *string `json:"status,omitempty"`

	// 绑定的企业连接网络ID
	BindEcn *string `json:"bind_ecn,omitempty"`

	// 企业项目ID
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 包周期场景下购买的订单号,按需场景下为空
	OrderId *string `json:"order_id,omitempty"`

	// 包周期场景下购买的订单号,按需场景下为空
	ProductId *string `json:"product_id,omitempty"`

	// ieg设备信息
	EquipmentInfos *[]EquipmentItem `json:"equipment_infos,omitempty"`
	HttpStatusCode int              `json:"-"`
}

ShowIegInfoResponse Response Object

func (ShowIegInfoResponse) String

func (o ShowIegInfoResponse) String() string

type ShowQuotasInfoRequest

type ShowQuotasInfoRequest struct {
}

ShowQuotasInfoRequest Request Object

func (ShowQuotasInfoRequest) String

func (o ShowQuotasInfoRequest) String() string

type ShowQuotasInfoResponse

type ShowQuotasInfoResponse struct {
	Quotas         *Quotas `json:"quotas,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowQuotasInfoResponse Response Object

func (ShowQuotasInfoResponse) String

func (o ShowQuotasInfoResponse) String() string

type ShowVrrpConfigRequest

type ShowVrrpConfigRequest struct {

	// 智能企业网关ID
	IegId string `json:"ieg_id"`
}

ShowVrrpConfigRequest Request Object

func (ShowVrrpConfigRequest) String

func (o ShowVrrpConfigRequest) String() string

type ShowVrrpConfigResponse

type ShowVrrpConfigResponse struct {
	VrrpConfigs    *[]VrrpConfigItem `json:"vrrp_configs,omitempty"`
	HttpStatusCode int               `json:"-"`
}

ShowVrrpConfigResponse Response Object

func (ShowVrrpConfigResponse) String

func (o ShowVrrpConfigResponse) String() string

type StaticRouteItem

type StaticRouteItem struct {

	// 目标网络
	Prefix string `json:"prefix"`

	// 下一跳地址
	NextHop string `json:"next_hop"`

	// 接口名字
	InterfaceName string `json:"interface_name"`

	// 优先级
	Priority *int32 `json:"priority,omitempty"`

	// 自动检测
	TrackNqa bool `json:"track_nqa"`

	// 发布到企业连接网络
	PostToCloud bool `json:"post_to_cloud"`
}

func (StaticRouteItem) String

func (o StaticRouteItem) String() string

type SwitchEquipmentHaTypeRequest

type SwitchEquipmentHaTypeRequest struct {

	// 智能企业网关ID
	IegId string `json:"ieg_id"`

	Body *SwitchHaTypeBody `json:"body,omitempty"`
}

SwitchEquipmentHaTypeRequest Request Object

func (SwitchEquipmentHaTypeRequest) String

type SwitchEquipmentHaTypeResponse

type SwitchEquipmentHaTypeResponse struct {

	// 主设备ID
	ActiveEquipmentId *string `json:"active_equipment_id,omitempty"`

	// 备设备ID
	StandbyEquipmentId *string `json:"standby_equipment_id,omitempty"`
	HttpStatusCode     int     `json:"-"`
}

SwitchEquipmentHaTypeResponse Response Object

func (SwitchEquipmentHaTypeResponse) String

type SwitchHaTypeBody

type SwitchHaTypeBody struct {

	// 主设备ID
	ActiveEquipmentId string `json:"active_equipment_id"`

	// 备设备ID
	StandbyEquipmentId string `json:"standby_equipment_id"`
}

func (SwitchHaTypeBody) String

func (o SwitchHaTypeBody) String() string

type UpdateAccessPointRequestBody

type UpdateAccessPointRequestBody struct {

	// 区域ID
	RegionId string `json:"region_id"`

	// 带宽
	BandwidthSize int32 `json:"bandwidth_size"`
}

func (UpdateAccessPointRequestBody) String

type UpdateEcnAccessPointRequest

type UpdateEcnAccessPointRequest struct {

	// 企业连接网络ID
	EcnId string `json:"ecn_id"`

	// 企业连接网络接入点ID
	AccessPointId string `json:"access_point_id"`

	Body *UpdateAccessPointRequestBody `json:"body,omitempty"`
}

UpdateEcnAccessPointRequest Request Object

func (UpdateEcnAccessPointRequest) String

type UpdateEcnAccessPointResponse

type UpdateEcnAccessPointResponse struct {

	// 企业连接网络接入点ID
	Id *string `json:"id,omitempty"`

	// 区域ID
	RegionId *string `json:"region_id,omitempty"`

	// 带宽
	BandwidthSize *int32 `json:"bandwidth_size,omitempty"`

	// 绑定智能企业网关数量
	BindIegCount *int32 `json:"bind_ieg_count,omitempty"`

	// 关联VPC数量
	AttachVpcCount *int32 `json:"attach_vpc_count,omitempty"`

	// 创建时间
	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	// 更新时间
	UpdatedAt      *sdktime.SdkTime `json:"updated_at,omitempty"`
	HttpStatusCode int              `json:"-"`
}

UpdateEcnAccessPointResponse Response Object

func (UpdateEcnAccessPointResponse) String

type UpdateEcnRequest

type UpdateEcnRequest struct {

	// 企业连接网络ID
	EcnId string `json:"ecn_id"`

	Body *UpdateEcnRequestBody `json:"body,omitempty"`
}

UpdateEcnRequest Request Object

func (UpdateEcnRequest) String

func (o UpdateEcnRequest) String() string

type UpdateEcnRequestBody

type UpdateEcnRequestBody struct {

	// 企业连接网络名字
	Name *string `json:"name,omitempty"`

	// 描述信息
	Description *string `json:"description,omitempty"`

	// 企业连接网络AS号
	EcnAsn *int64 `json:"ecn_asn,omitempty"`

	// 智能企业网关AS号
	IegAsn *int64 `json:"ieg_asn,omitempty"`

	// 分支互联开关
	HubEnable *bool `json:"hub_enable,omitempty"`
}

func (UpdateEcnRequestBody) String

func (o UpdateEcnRequestBody) String() string

type UpdateEcnResponse

type UpdateEcnResponse struct {

	// 企业连接网络ID
	Id *string `json:"id,omitempty"`

	// 项目ID
	ProjectId *string `json:"project_id,omitempty"`

	// 租户账号ID
	DomainId *string `json:"domain_id,omitempty"`

	// 企业连接网络名字
	Name *string `json:"name,omitempty"`

	// 描述信息
	Description *string `json:"description,omitempty"`

	// 带宽
	BandwidthSize *int32 `json:"bandwidth_size,omitempty"`

	// 企业连接网络类型
	Type *string `json:"type,omitempty"`

	// 大区ID
	AreaId *string `json:"area_id,omitempty"`

	// 区域ID
	RegionId *string `json:"region_id,omitempty"`

	// 企业连接网络AS号
	EcnAsn *int64 `json:"ecn_asn,omitempty"`

	// 智能企业网关AS号
	IegAsn *int64 `json:"ieg_asn,omitempty"`

	// VXLAN网络标识
	Vni *int32 `json:"vni,omitempty"`

	// 企业路由器列表
	EnterpriseRouterIds *[]string `json:"enterprise_router_ids,omitempty"`

	// 虚拟私有云列表
	VpcIds *[]string `json:"vpc_ids,omitempty"`

	// 绑定智能企业网关数量
	BindIegCount *int32 `json:"bind_ieg_count,omitempty"`

	// 企业项目ID
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 状态
	Status *string `json:"status,omitempty"`

	// 冻结效果
	FrozenEffect *int32 `json:"frozen_effect,omitempty"`

	// 分支互联开关
	HubEnable *bool `json:"hub_enable,omitempty"`

	// 创建时间
	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	// 更新时间
	UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"`

	// 包周期场景下购买的订单号,按需场景下为空
	OrderId *string `json:"order_id,omitempty"`

	// 包周期场景下购买的订单号,按需场景下为空
	ProductId      *string `json:"product_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateEcnResponse Response Object

func (UpdateEcnResponse) String

func (o UpdateEcnResponse) String() string

type UpdateEcnWithVpcRequest added in v0.1.77

type UpdateEcnWithVpcRequest struct {

	// 企业连接网络ID
	EcnId string `json:"ecn_id"`

	// 企业连接网络绑定关系ID
	RelationId string `json:"relation_id"`

	Body *UpdateEcnWithVpcRequestBody `json:"body,omitempty"`
}

UpdateEcnWithVpcRequest Request Object

func (UpdateEcnWithVpcRequest) String added in v0.1.77

func (o UpdateEcnWithVpcRequest) String() string

type UpdateEcnWithVpcRequestBody added in v0.1.77

type UpdateEcnWithVpcRequestBody struct {

	// 本端子网列表
	LocalSubnetList *[]string `json:"local_subnet_list,omitempty"`

	// 是否刷新对端子网路由
	RefreshRemoteSubnetRoute bool `json:"refresh_remote_subnet_route"`
}

func (UpdateEcnWithVpcRequestBody) String added in v0.1.77

type UpdateEcnWithVpcResponse added in v0.1.77

type UpdateEcnWithVpcResponse struct {

	// 企业连接网络关联虚拟私有云ID
	Id *string `json:"id,omitempty"`

	// 虚拟私有云ID
	VpcId *string `json:"vpc_id,omitempty"`

	// 子网ID
	SubnetId *string `json:"subnet_id,omitempty"`

	// 本端子网列表
	LocalSubnetList *[]string `json:"local_subnet_list,omitempty"`

	// 对端子网列表
	RemoteSubnetList *[]string `json:"remote_subnet_list,omitempty"`

	// 区域ID
	RegionId *string `json:"region_id,omitempty"`

	// 状态
	Status *string `json:"status,omitempty"`

	// 创建时间
	CreatedAt      *sdktime.SdkTime `json:"created_at,omitempty"`
	HttpStatusCode int              `json:"-"`
}

UpdateEcnWithVpcResponse Response Object

func (UpdateEcnWithVpcResponse) String added in v0.1.77

func (o UpdateEcnWithVpcResponse) String() string

type UpdateEquipmentDnsInfoRequest

type UpdateEquipmentDnsInfoRequest struct {

	// 智能企业网关ID
	IegId string `json:"ieg_id"`

	// 智能企业网关设备ID
	EquipmentId string `json:"equipment_id"`

	Body *EquipmentDnsItem `json:"body,omitempty"`
}

UpdateEquipmentDnsInfoRequest Request Object

func (UpdateEquipmentDnsInfoRequest) String

type UpdateEquipmentDnsInfoResponse

type UpdateEquipmentDnsInfoResponse struct {

	// 主DNS
	MasterDns *string `json:"master_dns,omitempty"`

	// 备DNS
	SlaveDns       *string `json:"slave_dns,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateEquipmentDnsInfoResponse Response Object

func (UpdateEquipmentDnsInfoResponse) String

type UpdateEquipmentEsnRequest

type UpdateEquipmentEsnRequest struct {

	// 智能企业网关ID
	IegId string `json:"ieg_id"`

	// 智能企业网关设备ID
	EquipmentId string `json:"equipment_id"`

	Body *EquipmentEsn `json:"body,omitempty"`
}

UpdateEquipmentEsnRequest Request Object

func (UpdateEquipmentEsnRequest) String

func (o UpdateEquipmentEsnRequest) String() string

type UpdateEquipmentEsnResponse

type UpdateEquipmentEsnResponse struct {

	// esn
	Esn            *string `json:"esn,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateEquipmentEsnResponse Response Object

func (UpdateEquipmentEsnResponse) String

type UpdateEquipmentInfoBody

type UpdateEquipmentInfoBody struct {

	// 设备名称
	Name string `json:"name"`
}

func (UpdateEquipmentInfoBody) String

func (o UpdateEquipmentInfoBody) String() string

type UpdateEquipmentInfoRequest

type UpdateEquipmentInfoRequest struct {

	// 智能企业网关ID
	IegId string `json:"ieg_id"`

	// 智能企业网关设备ID
	EquipmentId string `json:"equipment_id"`

	Body *UpdateEquipmentInfoBody `json:"body,omitempty"`
}

UpdateEquipmentInfoRequest Request Object

func (UpdateEquipmentInfoRequest) String

type UpdateEquipmentInfoResponse

type UpdateEquipmentInfoResponse struct {

	// 智能企业网关设备ID
	Id *string `json:"id,omitempty"`

	// 智能企业网关ID
	IegId *string `json:"ieg_id,omitempty"`

	// esn
	Esn *string `json:"esn,omitempty"`

	// 设备名字
	Name *string `json:"name,omitempty"`

	// 设备类型
	Type *UpdateEquipmentInfoResponseType `json:"type,omitempty"`

	// 高可用类型
	HaType *UpdateEquipmentInfoResponseHaType `json:"ha_type,omitempty"`

	// 设备软件版本
	Version *string `json:"version,omitempty"`

	// 激活时间
	ActiveAt *sdktime.SdkTime `json:"active_at,omitempty"`

	// 上线时间
	GoLiveAt *sdktime.SdkTime `json:"go_live_at,omitempty"`

	// 设备启动时间
	StartUpAt *sdktime.SdkTime `json:"start_up_at,omitempty"`

	// VPN状态
	CloudAccessStatus *string `json:"cloud_access_status,omitempty"`

	// 状态
	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateEquipmentInfoResponse Response Object

func (UpdateEquipmentInfoResponse) String

type UpdateEquipmentInfoResponseHaType

type UpdateEquipmentInfoResponseHaType struct {
	// contains filtered or unexported fields
}

func (UpdateEquipmentInfoResponseHaType) MarshalJSON

func (c UpdateEquipmentInfoResponseHaType) MarshalJSON() ([]byte, error)

func (*UpdateEquipmentInfoResponseHaType) UnmarshalJSON

func (c *UpdateEquipmentInfoResponseHaType) UnmarshalJSON(b []byte) error

func (UpdateEquipmentInfoResponseHaType) Value

type UpdateEquipmentInfoResponseHaTypeEnum

type UpdateEquipmentInfoResponseHaTypeEnum struct {
	ACTIVE  UpdateEquipmentInfoResponseHaType
	STANDBY UpdateEquipmentInfoResponseHaType
}

func GetUpdateEquipmentInfoResponseHaTypeEnum

func GetUpdateEquipmentInfoResponseHaTypeEnum() UpdateEquipmentInfoResponseHaTypeEnum

type UpdateEquipmentInfoResponseType

type UpdateEquipmentInfoResponseType struct {
	// contains filtered or unexported fields
}

func (UpdateEquipmentInfoResponseType) MarshalJSON

func (c UpdateEquipmentInfoResponseType) MarshalJSON() ([]byte, error)

func (*UpdateEquipmentInfoResponseType) UnmarshalJSON

func (c *UpdateEquipmentInfoResponseType) UnmarshalJSON(b []byte) error

func (UpdateEquipmentInfoResponseType) Value

type UpdateEquipmentInfoResponseTypeEnum

type UpdateEquipmentInfoResponseTypeEnum struct {
	STANDARD UpdateEquipmentInfoResponseType
	SOHO     UpdateEquipmentInfoResponseType
}

func GetUpdateEquipmentInfoResponseTypeEnum

func GetUpdateEquipmentInfoResponseTypeEnum() UpdateEquipmentInfoResponseTypeEnum

type UpdateEquipmentLanConfigRequest

type UpdateEquipmentLanConfigRequest struct {

	// 智能企业网关ID
	IegId string `json:"ieg_id"`

	// 智能企业网关设备ID
	EquipmentId string `json:"equipment_id"`

	Body *EquipmentLanItem `json:"body,omitempty"`
}

UpdateEquipmentLanConfigRequest Request Object

func (UpdateEquipmentLanConfigRequest) String

type UpdateEquipmentLanConfigResponse

type UpdateEquipmentLanConfigResponse struct {

	// 接口名字
	InterfaceName *string `json:"interface_name,omitempty"`

	// 接口类型
	InterfaceType *UpdateEquipmentLanConfigResponseInterfaceType `json:"interface_type,omitempty"`

	// VlanID
	VlanId *int32 `json:"vlan_id,omitempty"`

	// IPv4地址
	IpAddress *string `json:"ip_address,omitempty"`

	// DHCP开关
	Dhcp *bool `json:"dhcp,omitempty"`

	// DHCP地址池起始IP地址
	StartIpAddress *string `json:"start_ip_address,omitempty"`

	// DHCP地址池结束IP地址
	EndIpAddress *string `json:"end_ip_address,omitempty"`

	// 地址租期(分钟)
	LeaseTime *int32 `json:"lease_time,omitempty"`

	// 发布到企业连接网络
	PostToCloud    *bool `json:"post_to_cloud,omitempty"`
	HttpStatusCode int   `json:"-"`
}

UpdateEquipmentLanConfigResponse Response Object

func (UpdateEquipmentLanConfigResponse) String

type UpdateEquipmentLanConfigResponseInterfaceType

type UpdateEquipmentLanConfigResponseInterfaceType struct {
	// contains filtered or unexported fields
}

func (UpdateEquipmentLanConfigResponseInterfaceType) MarshalJSON

func (*UpdateEquipmentLanConfigResponseInterfaceType) UnmarshalJSON

func (UpdateEquipmentLanConfigResponseInterfaceType) Value

type UpdateEquipmentLanConfigResponseInterfaceTypeEnum

type UpdateEquipmentLanConfigResponseInterfaceTypeEnum struct {
	L3_MAIN_INTERFACE UpdateEquipmentLanConfigResponseInterfaceType
	L3_SUB_INTERFACE  UpdateEquipmentLanConfigResponseInterfaceType
	VLAN_INTERFACE    UpdateEquipmentLanConfigResponseInterfaceType
}

func GetUpdateEquipmentLanConfigResponseInterfaceTypeEnum

func GetUpdateEquipmentLanConfigResponseInterfaceTypeEnum() UpdateEquipmentLanConfigResponseInterfaceTypeEnum

type UpdateEquipmentOspfRequest

type UpdateEquipmentOspfRequest struct {

	// 智能企业网关ID
	IegId string `json:"ieg_id"`

	// 智能企业网关设备ID
	EquipmentId string `json:"equipment_id"`

	Body *EquipmentOspfItem `json:"body,omitempty"`
}

UpdateEquipmentOspfRequest Request Object

func (UpdateEquipmentOspfRequest) String

type UpdateEquipmentOspfResponse

type UpdateEquipmentOspfResponse struct {

	// 是否启用OSPF
	OspfEnabled *bool `json:"ospf_enabled,omitempty"`

	// 区域标识
	AreaId *int64 `json:"area_id,omitempty"`

	// 发布到企业连接网络
	PostToCloud *bool `json:"post_to_cloud,omitempty"`

	// 发送Hello报文的时间间隔,单位是秒
	HelloTimer *int32 `json:"hello_timer,omitempty"`

	// 点分十进制格式,OSPF协议使用全网唯一的Router ID
	RouterId *string `json:"router_id,omitempty"`

	// 启用OSPF协议的接口列表
	Interfaces *[]string `json:"interfaces,omitempty"`

	// 是否启用前缀过滤
	FilterEnabled *bool `json:"filter_enabled,omitempty"`

	// 白名单列表
	TrustList *[]string `json:"trust_list,omitempty"`

	// 黑名单列表
	BlockList *[]string `json:"block_list,omitempty"`

	// 上云子网列表
	CloudSubnetList *[]string `json:"cloud_subnet_list,omitempty"`
	HttpStatusCode  int       `json:"-"`
}

UpdateEquipmentOspfResponse Response Object

func (UpdateEquipmentOspfResponse) String

type UpdateEquipmentStaticRouteConfigRequest

type UpdateEquipmentStaticRouteConfigRequest struct {

	// 智能企业网关ID
	IegId string `json:"ieg_id"`

	// 智能企业网关设备ID
	EquipmentId string `json:"equipment_id"`

	Body *StaticRouteItem `json:"body,omitempty"`
}

UpdateEquipmentStaticRouteConfigRequest Request Object

func (UpdateEquipmentStaticRouteConfigRequest) String

type UpdateEquipmentStaticRouteConfigResponse

type UpdateEquipmentStaticRouteConfigResponse struct {

	// 目标网络
	Prefix *string `json:"prefix,omitempty"`

	// 下一跳地址
	NextHop *string `json:"next_hop,omitempty"`

	// 接口名字
	InterfaceName *string `json:"interface_name,omitempty"`

	// 优先级
	Priority *int32 `json:"priority,omitempty"`

	// 自动检测
	TrackNqa *bool `json:"track_nqa,omitempty"`

	// 发布到企业连接网络
	PostToCloud    *bool `json:"post_to_cloud,omitempty"`
	HttpStatusCode int   `json:"-"`
}

UpdateEquipmentStaticRouteConfigResponse Response Object

func (UpdateEquipmentStaticRouteConfigResponse) String

type UpdateEquipmentWanConfigRequest

type UpdateEquipmentWanConfigRequest struct {

	// 智能企业网关ID
	IegId string `json:"ieg_id"`

	// 智能企业网关设备ID
	EquipmentId string `json:"equipment_id"`

	Body *EquipmentWanItemList `json:"body,omitempty"`
}

UpdateEquipmentWanConfigRequest Request Object

func (UpdateEquipmentWanConfigRequest) String

type UpdateEquipmentWanConfigResponse

type UpdateEquipmentWanConfigResponse struct {

	// 设备WAN口配置列表
	WanInterfaces  *[]EquipmentWanItem `json:"wan_interfaces,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

UpdateEquipmentWanConfigResponse Response Object

func (UpdateEquipmentWanConfigResponse) String

type UpdateEquipmentWlanRequest added in v0.1.71

type UpdateEquipmentWlanRequest struct {

	// 智能企业网关ID
	IegId string `json:"ieg_id"`

	// 智能企业网关设备ID
	EquipmentId string `json:"equipment_id"`

	Body *EquipmentWlanItem `json:"body,omitempty"`
}

UpdateEquipmentWlanRequest Request Object

func (UpdateEquipmentWlanRequest) String added in v0.1.71

type UpdateEquipmentWlanResponse added in v0.1.71

type UpdateEquipmentWlanResponse struct {

	// 是否支持wlan,提供给UI识别是否显示Wi-Fi配置页面
	SupportWlan *bool `json:"support_wlan,omitempty"`

	// 是否使能wlan,取值为true时,必须填写name、security_enabled、name_hided
	WlanEnabled *bool `json:"wlan_enabled,omitempty"`

	// Wi-Fi名称,长度1-32个字符,不支持中文字符,特殊字符只支持!~@_.?
	Name *string `json:"name,omitempty"`

	// 是否开启无线安全,取值为true时,必须填写authentication_method、encrption_method
	SecurityEnabled *bool `json:"security_enabled,omitempty"`

	// Wi-Fi密码,长度8-63个字符,包含大写字母、小写字母、数字、特殊字符中至少两种,不能和Wi-Fi名称及名称逆序相同,特殊字符只支持!~@_.?
	Password *string `json:"password,omitempty"`

	// 认证类型
	AuthenticationMethod *UpdateEquipmentWlanResponseAuthenticationMethod `json:"authentication_method,omitempty"`

	// 加密方式,认证类型为WPA或者WPA2时,可选TKIP、AES
	EncrptionMethod *UpdateEquipmentWlanResponseEncrptionMethod `json:"encrption_method,omitempty"`

	// 是否隐藏Wi-Fi名称
	NameHided      *bool `json:"name_hided,omitempty"`
	HttpStatusCode int   `json:"-"`
}

UpdateEquipmentWlanResponse Response Object

func (UpdateEquipmentWlanResponse) String added in v0.1.71

type UpdateEquipmentWlanResponseAuthenticationMethod added in v0.1.71

type UpdateEquipmentWlanResponseAuthenticationMethod struct {
	// contains filtered or unexported fields
}

func (UpdateEquipmentWlanResponseAuthenticationMethod) MarshalJSON added in v0.1.71

func (*UpdateEquipmentWlanResponseAuthenticationMethod) UnmarshalJSON added in v0.1.71

func (UpdateEquipmentWlanResponseAuthenticationMethod) Value added in v0.1.71

type UpdateEquipmentWlanResponseAuthenticationMethodEnum added in v0.1.71

type UpdateEquipmentWlanResponseAuthenticationMethodEnum struct {
	WPA  UpdateEquipmentWlanResponseAuthenticationMethod
	WPA2 UpdateEquipmentWlanResponseAuthenticationMethod
}

func GetUpdateEquipmentWlanResponseAuthenticationMethodEnum added in v0.1.71

func GetUpdateEquipmentWlanResponseAuthenticationMethodEnum() UpdateEquipmentWlanResponseAuthenticationMethodEnum

type UpdateEquipmentWlanResponseEncrptionMethod added in v0.1.71

type UpdateEquipmentWlanResponseEncrptionMethod struct {
	// contains filtered or unexported fields
}

func (UpdateEquipmentWlanResponseEncrptionMethod) MarshalJSON added in v0.1.71

func (*UpdateEquipmentWlanResponseEncrptionMethod) UnmarshalJSON added in v0.1.71

func (UpdateEquipmentWlanResponseEncrptionMethod) Value added in v0.1.71

type UpdateEquipmentWlanResponseEncrptionMethodEnum added in v0.1.71

type UpdateEquipmentWlanResponseEncrptionMethodEnum struct {
	TKIP UpdateEquipmentWlanResponseEncrptionMethod
	AES  UpdateEquipmentWlanResponseEncrptionMethod
}

func GetUpdateEquipmentWlanResponseEncrptionMethodEnum added in v0.1.71

func GetUpdateEquipmentWlanResponseEncrptionMethodEnum() UpdateEquipmentWlanResponseEncrptionMethodEnum

type UpdateIegRequest

type UpdateIegRequest struct {

	// 智能企业网关ID
	IegId string `json:"ieg_id"`

	Body *UpdateIegRequestBody `json:"body,omitempty"`
}

UpdateIegRequest Request Object

func (UpdateIegRequest) String

func (o UpdateIegRequest) String() string

type UpdateIegRequestBody

type UpdateIegRequestBody struct {

	// 智能企业网关名字
	Name *string `json:"name,omitempty"`

	// 高可用性
	HighAvailability *UpdateIegRequestBodyHighAvailability `json:"high_availability,omitempty"`
}

func (UpdateIegRequestBody) String

func (o UpdateIegRequestBody) String() string

type UpdateIegRequestBodyHighAvailability

type UpdateIegRequestBodyHighAvailability struct {
	// contains filtered or unexported fields
}

func (UpdateIegRequestBodyHighAvailability) MarshalJSON

func (c UpdateIegRequestBodyHighAvailability) MarshalJSON() ([]byte, error)

func (*UpdateIegRequestBodyHighAvailability) UnmarshalJSON

func (c *UpdateIegRequestBodyHighAvailability) UnmarshalJSON(b []byte) error

func (UpdateIegRequestBodyHighAvailability) Value

type UpdateIegRequestBodyHighAvailabilityEnum

type UpdateIegRequestBodyHighAvailabilityEnum struct {
	SINGLE UpdateIegRequestBodyHighAvailability
	DOUBLE UpdateIegRequestBodyHighAvailability
}

func GetUpdateIegRequestBodyHighAvailabilityEnum

func GetUpdateIegRequestBodyHighAvailabilityEnum() UpdateIegRequestBodyHighAvailabilityEnum

type UpdateIegResponse

type UpdateIegResponse struct {

	// 智能企业网关ID
	Id *string `json:"id,omitempty"`

	// 项目ID
	ProjectId *string `json:"project_id,omitempty"`

	// 租户账号ID
	DomainId *string `json:"domain_id,omitempty"`

	// 智能企业网关名字
	Name *string `json:"name,omitempty"`

	// 大区ID
	AreaId *string `json:"area_id,omitempty"`

	// 设备类型
	EquipmentType *string `json:"equipment_type,omitempty"`

	// 高可用性
	HighAvailability *string `json:"high_availability,omitempty"`

	// 冻结效果
	FrozenEffect *int32 `json:"frozen_effect,omitempty"`

	// 创建时间
	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	// 更新时间
	UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"`

	// 状态
	Status *string `json:"status,omitempty"`

	// 绑定的企业连接网络ID
	BindEcn *string `json:"bind_ecn,omitempty"`

	// 企业项目ID
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 包周期场景下购买的订单号,按需场景下为空
	OrderId *string `json:"order_id,omitempty"`

	// 包周期场景下购买的订单号,按需场景下为空
	ProductId *string `json:"product_id,omitempty"`

	// ieg设备信息
	EquipmentInfos *[]EquipmentItem `json:"equipment_infos,omitempty"`
	HttpStatusCode int              `json:"-"`
}

UpdateIegResponse Response Object

func (UpdateIegResponse) String

func (o UpdateIegResponse) String() string

type UpdateVrrpConfigRequest

type UpdateVrrpConfigRequest struct {

	// 智能企业网关ID
	IegId string `json:"ieg_id"`

	// 虚路由ID
	VirtualRouterId int32 `json:"virtual_router_id"`

	Body *CreateUpdateVrrpConfigRequestBody `json:"body,omitempty"`
}

UpdateVrrpConfigRequest Request Object

func (UpdateVrrpConfigRequest) String

func (o UpdateVrrpConfigRequest) String() string

type UpdateVrrpConfigResponse

type UpdateVrrpConfigResponse struct {

	// 智能企业网关ID
	IegId *string `json:"ieg_id,omitempty"`

	// 虚路由ID
	VirtualRouterId *int32 `json:"virtual_router_id,omitempty"`

	// 虚IP
	VirtualIp *string `json:"virtual_ip,omitempty"`

	// 主设备ID
	ActiveEquipmentId *string `json:"active_equipment_id,omitempty"`

	// 主设备接口名字
	ActiveInterfaceName *string `json:"active_interface_name,omitempty"`

	// 备设备ID
	StandbyEquipmentId *string `json:"standby_equipment_id,omitempty"`

	// 备设备接口名字
	StandbyInterfaceName *string `json:"standby_interface_name,omitempty"`
	HttpStatusCode       int     `json:"-"`
}

UpdateVrrpConfigResponse Response Object

func (UpdateVrrpConfigResponse) String

func (o UpdateVrrpConfigResponse) String() string

type VrrpConfigItem

type VrrpConfigItem struct {

	// 智能企业网关ID
	IegId *string `json:"ieg_id,omitempty"`

	// 虚路由ID
	VirtualRouterId *int32 `json:"virtual_router_id,omitempty"`

	// 虚IP
	VirtualIp *string `json:"virtual_ip,omitempty"`

	// 主设备ID
	ActiveEquipmentId *string `json:"active_equipment_id,omitempty"`

	// 主设备接口名字
	ActiveInterfaceName *string `json:"active_interface_name,omitempty"`

	// 备设备ID
	StandbyEquipmentId *string `json:"standby_equipment_id,omitempty"`

	// 备设备接口名字
	StandbyInterfaceName *string `json:"standby_interface_name,omitempty"`
}

func (VrrpConfigItem) String

func (o VrrpConfigItem) String() string

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL