model

package
v0.0.83 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudConnection

type CloudConnection struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	Description *string `json:"description,omitempty"`

	DomainId *string `json:"domain_id,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	Status *CloudConnectionStatus `json:"status,omitempty"`

	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"`

	UsedScene *CloudConnectionUsedScene `json:"used_scene,omitempty"`

	NetworkInstanceNumber *int32 `json:"network_instance_number,omitempty"`

	BandwidthPackageNumber *int32 `json:"bandwidth_package_number,omitempty"`

	InterRegionBandwidthNumber *int32 `json:"inter_region_bandwidth_number,omitempty"`
}

云连接实例。

func (CloudConnection) String

func (o CloudConnection) String() string

type CloudConnectionRoute

type CloudConnectionRoute struct {
	Id *string `json:"id,omitempty"`

	CloudConnectionId *string `json:"cloud_connection_id,omitempty"`

	DomainId *string `json:"domain_id,omitempty"`

	ProjectId *string `json:"project_id,omitempty"`

	InstanceId *string `json:"instance_id,omitempty"`

	Type *CloudConnectionRouteType `json:"type,omitempty"`

	RegionId *string `json:"region_id,omitempty"`

	Destination *string `json:"destination,omitempty"`
}

云连接路由实例。

func (CloudConnectionRoute) String

func (o CloudConnectionRoute) String() string

type CloudConnectionRouteType

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

func (CloudConnectionRouteType) MarshalJSON

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

func (*CloudConnectionRouteType) UnmarshalJSON

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

type CloudConnectionRouteTypeEnum

type CloudConnectionRouteTypeEnum struct {
	VPC CloudConnectionRouteType
	VGW CloudConnectionRouteType
}

func GetCloudConnectionRouteTypeEnum

func GetCloudConnectionRouteTypeEnum() CloudConnectionRouteTypeEnum

type CloudConnectionStatus

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

func (CloudConnectionStatus) MarshalJSON

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

func (*CloudConnectionStatus) UnmarshalJSON

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

type CloudConnectionStatusEnum

type CloudConnectionStatusEnum struct {
	ACTIVE CloudConnectionStatus
}

func GetCloudConnectionStatusEnum

func GetCloudConnectionStatusEnum() CloudConnectionStatusEnum

type CloudConnectionUsedScene

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

func (CloudConnectionUsedScene) MarshalJSON

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

func (*CloudConnectionUsedScene) UnmarshalJSON

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

type CloudConnectionUsedSceneEnum

type CloudConnectionUsedSceneEnum struct {
	ER  CloudConnectionUsedScene
	VPC CloudConnectionUsedScene
}

func GetCloudConnectionUsedSceneEnum

func GetCloudConnectionUsedSceneEnum() CloudConnectionUsedSceneEnum

type CreateCloudConnection

type CreateCloudConnection struct {
	Name string `json:"name"`

	Description *string `json:"description,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	UsedScene *CreateCloudConnectionUsedScene `json:"used_scene,omitempty"`
}

创建云连接实例的详细信息。

func (CreateCloudConnection) String

func (o CreateCloudConnection) String() string

type CreateCloudConnectionRequest

type CreateCloudConnectionRequest struct {
	Body *CreateCloudConnectionRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateCloudConnectionRequest) String

type CreateCloudConnectionRequestBody

type CreateCloudConnectionRequestBody struct {
	CloudConnection *CreateCloudConnection `json:"cloud_connection"`
}

创建云连接实例的请求体。

func (CreateCloudConnectionRequestBody) String

type CreateCloudConnectionResponse

type CreateCloudConnectionResponse struct {
	CloudConnection *CloudConnection `json:"cloud_connection,omitempty"`

	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateCloudConnectionResponse) String

type CreateCloudConnectionUsedScene

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

func (CreateCloudConnectionUsedScene) MarshalJSON

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

func (*CreateCloudConnectionUsedScene) UnmarshalJSON

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

type CreateCloudConnectionUsedSceneEnum

type CreateCloudConnectionUsedSceneEnum struct {
	ER  CreateCloudConnectionUsedScene
	VPC CreateCloudConnectionUsedScene
}

func GetCreateCloudConnectionUsedSceneEnum

func GetCreateCloudConnectionUsedSceneEnum() CreateCloudConnectionUsedSceneEnum

type CreateNetworkInstance

type CreateNetworkInstance struct {
	Name *string `json:"name,omitempty"`

	Description *string `json:"description,omitempty"`

	Type CreateNetworkInstanceType `json:"type"`

	InstanceId string `json:"instance_id"`

	InstanceDomainId *string `json:"instance_domain_id,omitempty"`

	ProjectId string `json:"project_id"`

	RegionId string `json:"region_id"`

	CloudConnectionId string `json:"cloud_connection_id"`

	Cidrs []string `json:"cidrs"`
}

创建网络实例的详细信息。

func (CreateNetworkInstance) String

func (o CreateNetworkInstance) String() string

type CreateNetworkInstanceRequest

type CreateNetworkInstanceRequest struct {
	Body *CreateNetworkInstanceRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateNetworkInstanceRequest) String

type CreateNetworkInstanceRequestBody

type CreateNetworkInstanceRequestBody struct {
	NetworkInstance *CreateNetworkInstance `json:"network_instance"`
}

创建网络实例的请求体。

func (CreateNetworkInstanceRequestBody) String

type CreateNetworkInstanceResponse

type CreateNetworkInstanceResponse struct {
	NetworkInstance *NetworkInstance `json:"network_instance,omitempty"`

	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateNetworkInstanceResponse) String

type CreateNetworkInstanceType

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

func (CreateNetworkInstanceType) MarshalJSON

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

func (*CreateNetworkInstanceType) UnmarshalJSON

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

type CreateNetworkInstanceTypeEnum

type CreateNetworkInstanceTypeEnum struct {
	VPC CreateNetworkInstanceType
	VGW CreateNetworkInstanceType
	ER  CreateNetworkInstanceType
}

func GetCreateNetworkInstanceTypeEnum

func GetCreateNetworkInstanceTypeEnum() CreateNetworkInstanceTypeEnum

type DeleteCloudConnectionRequest

type DeleteCloudConnectionRequest struct {
	Id string `json:"id"`
}

Request Object

func (DeleteCloudConnectionRequest) String

type DeleteCloudConnectionResponse

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

Response Object

func (DeleteCloudConnectionResponse) String

type DeleteNetworkInstanceRequest

type DeleteNetworkInstanceRequest struct {
	Id string `json:"id"`
}

Request Object

func (DeleteNetworkInstanceRequest) String

type DeleteNetworkInstanceResponse

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

Response Object

func (DeleteNetworkInstanceResponse) String

type ListCloudConnectionRoutesRequest

type ListCloudConnectionRoutesRequest struct {
	Limit *int32 `json:"limit,omitempty"`

	Marker *string `json:"marker,omitempty"`

	Id *string `json:"id,omitempty"`

	CloudConnectionId *[]string `json:"cloud_connection_id,omitempty"`

	InstanceId *[]string `json:"instance_id,omitempty"`

	RegionId *string `json:"region_id,omitempty"`
}

Request Object

func (ListCloudConnectionRoutesRequest) String

type ListCloudConnectionRoutesResponse

type ListCloudConnectionRoutesResponse struct {
	CloudConnectionRoutes *[]CloudConnectionRoute `json:"cloud_connection_routes,omitempty"`

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

	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListCloudConnectionRoutesResponse) String

type ListCloudConnectionsRequest

type ListCloudConnectionsRequest struct {
	Limit *int32 `json:"limit,omitempty"`

	Marker *string `json:"marker,omitempty"`

	Id *[]string `json:"id,omitempty"`

	Name *[]string `json:"name,omitempty"`

	Description *[]string `json:"description,omitempty"`

	Status *[]ListCloudConnectionsRequestStatus `json:"status,omitempty"`

	EnterpriseProjectId *[]string `json:"enterprise_project_id,omitempty"`

	Type *[]string `json:"type,omitempty"`
}

Request Object

func (ListCloudConnectionsRequest) String

type ListCloudConnectionsRequestStatus

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

func (ListCloudConnectionsRequestStatus) MarshalJSON

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

func (*ListCloudConnectionsRequestStatus) UnmarshalJSON

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

type ListCloudConnectionsRequestStatusEnum

type ListCloudConnectionsRequestStatusEnum struct {
	ACTIVE ListCloudConnectionsRequestStatus
}

func GetListCloudConnectionsRequestStatusEnum

func GetListCloudConnectionsRequestStatusEnum() ListCloudConnectionsRequestStatusEnum

type ListCloudConnectionsResponse

type ListCloudConnectionsResponse struct {
	CloudConnections *[]CloudConnection `json:"cloud_connections,omitempty"`

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

	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListCloudConnectionsResponse) String

type ListNetworkInstancesRequest

type ListNetworkInstancesRequest struct {
	Limit *int32 `json:"limit,omitempty"`

	Marker *string `json:"marker,omitempty"`

	Id *[]string `json:"id,omitempty"`

	Name *[]string `json:"name,omitempty"`

	Description *[]string `json:"description,omitempty"`

	Status *[]ListNetworkInstancesRequestStatus `json:"status,omitempty"`

	Type *[]string `json:"type,omitempty"`

	CloudConnectionId *[]string `json:"cloud_connection_id,omitempty"`

	InstanceId *[]string `json:"instance_id,omitempty"`

	RegionId *[]string `json:"region_id,omitempty"`
}

Request Object

func (ListNetworkInstancesRequest) String

type ListNetworkInstancesRequestStatus

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

func (ListNetworkInstancesRequestStatus) MarshalJSON

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

func (*ListNetworkInstancesRequestStatus) UnmarshalJSON

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

type ListNetworkInstancesRequestStatusEnum

type ListNetworkInstancesRequestStatusEnum struct {
	ACTIVE ListNetworkInstancesRequestStatus
}

func GetListNetworkInstancesRequestStatusEnum

func GetListNetworkInstancesRequestStatusEnum() ListNetworkInstancesRequestStatusEnum

type ListNetworkInstancesResponse

type ListNetworkInstancesResponse struct {
	NetworkInstances *[]NetworkInstance `json:"network_instances,omitempty"`

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

	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListNetworkInstancesResponse) String

type NetworkInstance

type NetworkInstance struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	Description *string `json:"description,omitempty"`

	DomainId *string `json:"domain_id,omitempty"`

	Status *NetworkInstanceStatus `json:"status,omitempty"`

	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"`

	Type *NetworkInstanceType `json:"type,omitempty"`

	CloudConnectionId *string `json:"cloud_connection_id,omitempty"`

	InstanceId *string `json:"instance_id,omitempty"`

	InstanceDomainId *string `json:"instance_domain_id,omitempty"`

	RegionId *string `json:"region_id,omitempty"`

	ProjectId *string `json:"project_id,omitempty"`

	Cidrs *[]string `json:"cidrs,omitempty"`
}

网络实例。

func (NetworkInstance) String

func (o NetworkInstance) String() string

type NetworkInstanceStatus

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

func (NetworkInstanceStatus) MarshalJSON

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

func (*NetworkInstanceStatus) UnmarshalJSON

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

type NetworkInstanceStatusEnum

type NetworkInstanceStatusEnum struct {
	ACTIVE NetworkInstanceStatus
}

func GetNetworkInstanceStatusEnum

func GetNetworkInstanceStatusEnum() NetworkInstanceStatusEnum

type NetworkInstanceType

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

func (NetworkInstanceType) MarshalJSON

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

func (*NetworkInstanceType) UnmarshalJSON

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

type NetworkInstanceTypeEnum

type NetworkInstanceTypeEnum struct {
	VPC NetworkInstanceType
	VGW NetworkInstanceType
	ER  NetworkInstanceType
}

func GetNetworkInstanceTypeEnum

func GetNetworkInstanceTypeEnum() NetworkInstanceTypeEnum

type PageInfo

type PageInfo struct {
	NextMarker *string `json:"next_marker,omitempty"`

	PreviousMarker *string `json:"previous_marker,omitempty"`

	CurrentCount *int32 `json:"current_count,omitempty"`
}

分页查询页的信息。

func (PageInfo) String

func (o PageInfo) String() string

type ShowCloudConnectionRequest

type ShowCloudConnectionRequest struct {
	Id string `json:"id"`
}

Request Object

func (ShowCloudConnectionRequest) String

type ShowCloudConnectionResponse

type ShowCloudConnectionResponse struct {
	CloudConnection *CloudConnection `json:"cloud_connection,omitempty"`

	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowCloudConnectionResponse) String

type ShowCloudConnectionRoutesRequest

type ShowCloudConnectionRoutesRequest struct {
	Id string `json:"id"`
}

Request Object

func (ShowCloudConnectionRoutesRequest) String

type ShowCloudConnectionRoutesResponse

type ShowCloudConnectionRoutesResponse struct {
	CloudConnectionRoute *CloudConnectionRoute `json:"cloud_connection_route,omitempty"`

	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowCloudConnectionRoutesResponse) String

type ShowNetworkInstanceRequest

type ShowNetworkInstanceRequest struct {
	Id string `json:"id"`
}

Request Object

func (ShowNetworkInstanceRequest) String

type ShowNetworkInstanceResponse

type ShowNetworkInstanceResponse struct {
	NetworkInstance *NetworkInstance `json:"network_instance,omitempty"`

	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowNetworkInstanceResponse) String

type UpdateCloudConnection

type UpdateCloudConnection struct {
	Name *string `json:"name,omitempty"`

	Description *string `json:"description,omitempty"`
}

更新云连接实例的详细信息。

func (UpdateCloudConnection) String

func (o UpdateCloudConnection) String() string

type UpdateCloudConnectionRequest

type UpdateCloudConnectionRequest struct {
	Id string `json:"id"`

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

Request Object

func (UpdateCloudConnectionRequest) String

type UpdateCloudConnectionRequestBody

type UpdateCloudConnectionRequestBody struct {
	CloudConnection *UpdateCloudConnection `json:"cloud_connection"`
}

更新云连接实例的请求体。

func (UpdateCloudConnectionRequestBody) String

type UpdateCloudConnectionResponse

type UpdateCloudConnectionResponse struct {
	CloudConnection *CloudConnection `json:"cloud_connection,omitempty"`

	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateCloudConnectionResponse) String

type UpdateNetworkInstance

type UpdateNetworkInstance struct {
	Name *string `json:"name,omitempty"`

	Description *string `json:"description,omitempty"`

	Cidrs *[]string `json:"cidrs,omitempty"`
}

更新网络实例的详细信息。

func (UpdateNetworkInstance) String

func (o UpdateNetworkInstance) String() string

type UpdateNetworkInstanceRequest

type UpdateNetworkInstanceRequest struct {
	Id string `json:"id"`

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

Request Object

func (UpdateNetworkInstanceRequest) String

type UpdateNetworkInstanceRequestBody

type UpdateNetworkInstanceRequestBody struct {
	NetworkInstance *UpdateNetworkInstance `json:"network_instance"`
}

更新网络实例的请求体。

func (UpdateNetworkInstanceRequestBody) String

type UpdateNetworkInstanceResponse

type UpdateNetworkInstanceResponse struct {
	NetworkInstance *NetworkInstance `json:"network_instance,omitempty"`

	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateNetworkInstanceResponse) String

Jump to

Keyboard shortcuts

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