model

package
v0.0.58 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2021 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 AssociatePublicipsOption

type AssociatePublicipsOption struct {
	AssociateInstanceType *AssociatePublicipsOptionAssociateInstanceType `json:"associate_instance_type,omitempty"`

	AssociateInstanceId *string `json:"associate_instance_id,omitempty"`
}

func (AssociatePublicipsOption) String

func (o AssociatePublicipsOption) String() string

type AssociatePublicipsOptionAssociateInstanceType

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

func (AssociatePublicipsOptionAssociateInstanceType) MarshalJSON

func (*AssociatePublicipsOptionAssociateInstanceType) UnmarshalJSON

type AssociatePublicipsRequest

type AssociatePublicipsRequest struct {
	PublicipId string `json:"publicip_id"`

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

Request Object

func (AssociatePublicipsRequest) String

func (o AssociatePublicipsRequest) String() string

type AssociatePublicipsRequestBody

type AssociatePublicipsRequestBody struct {
	Publicip *AssociatePublicipsOption `json:"publicip"`
}

绑定弹性公网IP的请求体

func (AssociatePublicipsRequestBody) String

type AssociatePublicipsResponse

type AssociatePublicipsResponse struct {
	RequestId *string `json:"request_id,omitempty"`

	Publicip       *PublicipShowResp `json:"publicip,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (AssociatePublicipsResponse) String

type BandwidthInfoResp

type BandwidthInfoResp struct {
	BandwidthName *string `json:"bandwidth_name,omitempty"`

	BandwidthNumber *int32 `json:"bandwidth_number,omitempty"`

	BandwidthType *BandwidthInfoRespBandwidthType `json:"bandwidth_type,omitempty"`

	BandwidthId *string `json:"bandwidth_id,omitempty"`
}

公网IP绑定的带宽信息

func (BandwidthInfoResp) String

func (o BandwidthInfoResp) String() string

type BandwidthInfoRespBandwidthType

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

func (BandwidthInfoRespBandwidthType) MarshalJSON

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

func (*BandwidthInfoRespBandwidthType) UnmarshalJSON

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

type BandwidthInfoRespBandwidthTypeEnum

type BandwidthInfoRespBandwidthTypeEnum struct {
	PER   BandwidthInfoRespBandwidthType
	WHOLE BandwidthInfoRespBandwidthType
}

func GetBandwidthInfoRespBandwidthTypeEnum

func GetBandwidthInfoRespBandwidthTypeEnum() BandwidthInfoRespBandwidthTypeEnum

type DisassociatePublicipsOption

type DisassociatePublicipsOption struct {
	AssociateInstanceType *DisassociatePublicipsOptionAssociateInstanceType `json:"associate_instance_type,omitempty"`

	AssociateInstanceId *string `json:"associate_instance_id,omitempty"`
}

func (DisassociatePublicipsOption) String

type DisassociatePublicipsOptionAssociateInstanceType

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

func (DisassociatePublicipsOptionAssociateInstanceType) MarshalJSON

func (*DisassociatePublicipsOptionAssociateInstanceType) UnmarshalJSON

type DisassociatePublicipsRequest

type DisassociatePublicipsRequest struct {
	PublicipId string `json:"publicip_id"`

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

Request Object

func (DisassociatePublicipsRequest) String

type DisassociatePublicipsRequestBody

type DisassociatePublicipsRequestBody struct {
	Publicip *DisassociatePublicipsOption `json:"publicip"`
}

解绑弹性公网IP的请求体

func (DisassociatePublicipsRequestBody) String

type DisassociatePublicipsResponse

type DisassociatePublicipsResponse struct {
	RequestId *string `json:"request_id,omitempty"`

	Publicip       *PublicipShowResp `json:"publicip,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (DisassociatePublicipsResponse) String

type ListPublicipsRequest

type ListPublicipsRequest struct {
	Marker *string `json:"marker,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

	Limit *int32 `json:"limit,omitempty"`

	Fields *[]string `json:"fields,omitempty"`

	SortKey *ListPublicipsRequestSortKey `json:"sort_key,omitempty"`

	SortDir *ListPublicipsRequestSortDir `json:"sort_dir,omitempty"`

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

	IpVersion *[]ListPublicipsRequestIpVersion `json:"ip_version,omitempty"`

	PublicIpAddress *[]string `json:"public_ip_address,omitempty"`

	PublicIpAddressLike *string `json:"public_ip_address_like,omitempty"`

	PublicIpv6Address *[]string `json:"public_ipv6_address,omitempty"`

	PublicIpv6AddressLike *string `json:"public_ipv6_address_like,omitempty"`

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

	NetworkType *[]ListPublicipsRequestNetworkType `json:"network_type,omitempty"`

	PublicipPoolName *[]string `json:"publicip_pool_name,omitempty"`

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

	AliasLike *string `json:"alias_like,omitempty"`

	Alias *[]string `json:"alias,omitempty"`

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

	VnicPrivateIpAddress *[]string `json:"vnic.private_ip_address,omitempty"`

	VnicPrivateIpAddressLike *string `json:"vnic.private_ip_address_like,omitempty"`

	VnicDeviceId *[]string `json:"vnic.device_id,omitempty"`

	VnicDeviceOwner *[]string `json:"vnic.device_owner,omitempty"`

	VnicVpcId *[]string `json:"vnic.vpc_id,omitempty"`

	VnicPortId *[]string `json:"vnic.port_id,omitempty"`

	VnicDeviceOwnerPrefixlike *string `json:"vnic.device_owner_prefixlike,omitempty"`

	VnicInstanceType *[]string `json:"vnic.instance_type,omitempty"`

	VnicInstanceId *[]string `json:"vnic.instance_id,omitempty"`

	BandwidthId *[]string `json:"bandwidth.id,omitempty"`

	BandwidthName *[]string `json:"bandwidth.name,omitempty"`

	BandwidthNameLike *[]string `json:"bandwidth.name_like,omitempty"`

	BandwidthSize *[]int32 `json:"bandwidth.size,omitempty"`

	BandwidthShareType *[]ListPublicipsRequestBandwidthShareType `json:"bandwidth.share_type,omitempty"`

	BandwidthChargeMode *[]ListPublicipsRequestBandwidthChargeMode `json:"bandwidth.charge_mode,omitempty"`

	BillingInfo *[]string `json:"billing_info,omitempty"`

	BillingMode *ListPublicipsRequestBillingMode `json:"billing_mode,omitempty"`

	AssociateInstanceType *[]ListPublicipsRequestAssociateInstanceType `json:"associate_instance_type,omitempty"`

	AssociateInstanceId *[]string `json:"associate_instance_id,omitempty"`

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

	GroupName *[]string `json:"group_name,omitempty"`
}

Request Object

func (ListPublicipsRequest) String

func (o ListPublicipsRequest) String() string

type ListPublicipsRequestAssociateInstanceType

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

func (ListPublicipsRequestAssociateInstanceType) MarshalJSON

func (*ListPublicipsRequestAssociateInstanceType) UnmarshalJSON

type ListPublicipsRequestBandwidthChargeMode

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

func (ListPublicipsRequestBandwidthChargeMode) MarshalJSON

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

func (*ListPublicipsRequestBandwidthChargeMode) UnmarshalJSON

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

type ListPublicipsRequestBandwidthShareType

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

func (ListPublicipsRequestBandwidthShareType) MarshalJSON

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

func (*ListPublicipsRequestBandwidthShareType) UnmarshalJSON

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

type ListPublicipsRequestBandwidthShareTypeEnum

type ListPublicipsRequestBandwidthShareTypeEnum struct {
	PER   ListPublicipsRequestBandwidthShareType
	WHOLE ListPublicipsRequestBandwidthShareType
}

func GetListPublicipsRequestBandwidthShareTypeEnum

func GetListPublicipsRequestBandwidthShareTypeEnum() ListPublicipsRequestBandwidthShareTypeEnum

type ListPublicipsRequestBillingMode

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

func (ListPublicipsRequestBillingMode) MarshalJSON

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

func (*ListPublicipsRequestBillingMode) UnmarshalJSON

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

type ListPublicipsRequestBillingModeEnum

type ListPublicipsRequestBillingModeEnum struct {
	YEARLY_MONTHLY ListPublicipsRequestBillingMode
	PAY_PER_USE    ListPublicipsRequestBillingMode
}

func GetListPublicipsRequestBillingModeEnum

func GetListPublicipsRequestBillingModeEnum() ListPublicipsRequestBillingModeEnum

type ListPublicipsRequestIpVersion

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

func (ListPublicipsRequestIpVersion) MarshalJSON

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

func (*ListPublicipsRequestIpVersion) UnmarshalJSON

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

type ListPublicipsRequestIpVersionEnum

type ListPublicipsRequestIpVersionEnum struct {
	E_4 ListPublicipsRequestIpVersion
	E_6 ListPublicipsRequestIpVersion
}

func GetListPublicipsRequestIpVersionEnum

func GetListPublicipsRequestIpVersionEnum() ListPublicipsRequestIpVersionEnum

type ListPublicipsRequestNetworkType

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

func (ListPublicipsRequestNetworkType) MarshalJSON

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

func (*ListPublicipsRequestNetworkType) UnmarshalJSON

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

type ListPublicipsRequestSortDir

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

func (ListPublicipsRequestSortDir) MarshalJSON

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

func (*ListPublicipsRequestSortDir) UnmarshalJSON

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

type ListPublicipsRequestSortDirEnum

type ListPublicipsRequestSortDirEnum struct {
	ASC  ListPublicipsRequestSortDir
	DESC ListPublicipsRequestSortDir
}

func GetListPublicipsRequestSortDirEnum

func GetListPublicipsRequestSortDirEnum() ListPublicipsRequestSortDirEnum

type ListPublicipsRequestSortKey

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

func (ListPublicipsRequestSortKey) MarshalJSON

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

func (*ListPublicipsRequestSortKey) UnmarshalJSON

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

type ListPublicipsRequestSortKeyEnum

type ListPublicipsRequestSortKeyEnum struct {
	ID                  ListPublicipsRequestSortKey
	PUBLIC_IP_ADDRESS   ListPublicipsRequestSortKey
	PUBLIC_IPV6_ADDRESS ListPublicipsRequestSortKey
	IP_VERSION          ListPublicipsRequestSortKey
	CREATED_AT          ListPublicipsRequestSortKey
	UPDATED_AT          ListPublicipsRequestSortKey
}

func GetListPublicipsRequestSortKeyEnum

func GetListPublicipsRequestSortKeyEnum() ListPublicipsRequestSortKeyEnum

type ListPublicipsRequestStatus

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

func (ListPublicipsRequestStatus) MarshalJSON

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

func (*ListPublicipsRequestStatus) UnmarshalJSON

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

type ListPublicipsRequestStatusEnum

type ListPublicipsRequestStatusEnum struct {
	FREEZED ListPublicipsRequestStatus
	DOWN    ListPublicipsRequestStatus
	ACTIVE  ListPublicipsRequestStatus
	ERROR   ListPublicipsRequestStatus
}

func GetListPublicipsRequestStatusEnum

func GetListPublicipsRequestStatusEnum() ListPublicipsRequestStatusEnum

type ListPublicipsRequestType

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

func (ListPublicipsRequestType) MarshalJSON

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

func (*ListPublicipsRequestType) UnmarshalJSON

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

type ListPublicipsRequestTypeEnum

type ListPublicipsRequestTypeEnum struct {
	EIP              ListPublicipsRequestType
	DUALSTACK        ListPublicipsRequestType
	DUALSTACK_SUBNET ListPublicipsRequestType
}

func GetListPublicipsRequestTypeEnum

func GetListPublicipsRequestTypeEnum() ListPublicipsRequestTypeEnum

type ListPublicipsResponse

type ListPublicipsResponse struct {
	RequestId *string `json:"request_id,omitempty"`

	Publicips *[]PublicipShowResp `json:"publicips,omitempty"`

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

	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListPublicipsResponse) String

func (o ListPublicipsResponse) String() string

type PageInfoOption

type PageInfoOption struct {
	PreviousMarker *string `json:"previous_marker,omitempty"`

	NextMarker *string `json:"next_marker,omitempty"`

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

分页页码信息

func (PageInfoOption) String

func (o PageInfoOption) String() string

type ProfileInfo

type ProfileInfo struct {
	LocalNetworkPort *string `json:"local_network_port,omitempty"`

	Standalone *bool `json:"standalone,omitempty"`

	NotifyStatus *ProfileInfoNotifyStatus `json:"notify_status,omitempty"`

	CreateTime *string `json:"create_time,omitempty"`

	FakeNetworkType *bool `json:"fake_network_type,omitempty"`

	CreateSource *ProfileInfoCreateSource `json:"create_source,omitempty"`

	EcsId *string `json:"ecs_id,omitempty"`

	LockStatus *string `json:"lock_status,omitempty"`

	FreezedStatus *ProfileInfoFreezedStatus `json:"freezed_status,omitempty"`

	BandwithInfo *BandwidthInfoResp `json:"bandwith_info,omitempty"`
}

公网IP元数据, EIP服务内部使用,不对外开放

func (ProfileInfo) String

func (o ProfileInfo) String() string

type ProfileInfoCreateSource

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

func (ProfileInfoCreateSource) MarshalJSON

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

func (*ProfileInfoCreateSource) UnmarshalJSON

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

type ProfileInfoCreateSourceEnum

type ProfileInfoCreateSourceEnum struct {
	ECS ProfileInfoCreateSource
}

func GetProfileInfoCreateSourceEnum

func GetProfileInfoCreateSourceEnum() ProfileInfoCreateSourceEnum

type ProfileInfoFreezedStatus

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

func (ProfileInfoFreezedStatus) MarshalJSON

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

func (*ProfileInfoFreezedStatus) UnmarshalJSON

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

type ProfileInfoFreezedStatusEnum

type ProfileInfoFreezedStatusEnum struct {
	FREEZED   ProfileInfoFreezedStatus
	UNFREEZED ProfileInfoFreezedStatus
}

func GetProfileInfoFreezedStatusEnum

func GetProfileInfoFreezedStatusEnum() ProfileInfoFreezedStatusEnum

type ProfileInfoNotifyStatus

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

func (ProfileInfoNotifyStatus) MarshalJSON

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

func (*ProfileInfoNotifyStatus) UnmarshalJSON

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

type ProfileInfoNotifyStatusEnum

type ProfileInfoNotifyStatusEnum struct {
	PENDING_CREATE ProfileInfoNotifyStatus
	PENDING_UPDATE ProfileInfoNotifyStatus
	NOTIFYING      ProfileInfoNotifyStatus
	NOTIFYED       ProfileInfoNotifyStatus
	NOTIFY_DELETE  ProfileInfoNotifyStatus
}

func GetProfileInfoNotifyStatusEnum

func GetProfileInfoNotifyStatusEnum() ProfileInfoNotifyStatusEnum

type PublicipBandwidthInfo

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

	Size *int32 `json:"size,omitempty"`

	ShareType *string `json:"share_type,omitempty"`

	ChargeMode *string `json:"charge_mode,omitempty"`

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

	BillingInfo *string `json:"billing_info,omitempty"`
}

公网IP绑定的带宽信息

func (PublicipBandwidthInfo) String

func (o PublicipBandwidthInfo) String() string

type PublicipShowResp

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

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

	IpVersion *PublicipShowRespIpVersion `json:"ip_version,omitempty"`

	PublicIpAddress *string `json:"public_ip_address,omitempty"`

	PublicIpv6Address *string `json:"public_ipv6_address,omitempty"`

	NetworkType *string `json:"network_type,omitempty"`

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

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

	GroupName *string `json:"group_name,omitempty"`

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

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

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

	Vnic *VnicInfo `json:"vnic,omitempty"`

	Bandwidth *PublicipBandwidthInfo `json:"bandwidth,omitempty"`

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

	BillingInfo *string `json:"billing_info,omitempty"`

	LockStatus *string `json:"lock_status,omitempty"`

	AssociateInstanceType *PublicipShowRespAssociateInstanceType `json:"associate_instance_type,omitempty"`

	AssociateInstanceId *string `json:"associate_instance_id,omitempty"`

	PublicipPoolId *string `json:"publicip_pool_id,omitempty"`

	PublicipPoolName *string `json:"publicip_pool_name,omitempty"`

	Alias *string `json:"alias,omitempty"`

	Profile *ProfileInfo `json:"profile,omitempty"`

	FakeNetworkType *bool `json:"fake_network_type,omitempty"`

	Tags *[]TagsInfo `json:"tags,omitempty"`

	AssociateInstanceMetadata *string `json:"associate_instance_metadata,omitempty"`
}

公网IP字段信息

func (PublicipShowResp) String

func (o PublicipShowResp) String() string

type PublicipShowRespAssociateInstanceType

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

func (PublicipShowRespAssociateInstanceType) MarshalJSON

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

func (*PublicipShowRespAssociateInstanceType) UnmarshalJSON

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

type PublicipShowRespIpVersion

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

func (PublicipShowRespIpVersion) MarshalJSON

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

func (*PublicipShowRespIpVersion) UnmarshalJSON

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

type PublicipShowRespIpVersionEnum

type PublicipShowRespIpVersionEnum struct {
	E_4 PublicipShowRespIpVersion
	E_6 PublicipShowRespIpVersion
}

func GetPublicipShowRespIpVersionEnum

func GetPublicipShowRespIpVersionEnum() PublicipShowRespIpVersionEnum

type PublicipShowRespStatus

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

func (PublicipShowRespStatus) MarshalJSON

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

func (*PublicipShowRespStatus) UnmarshalJSON

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

type PublicipShowRespType

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

func (PublicipShowRespType) MarshalJSON

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

func (*PublicipShowRespType) UnmarshalJSON

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

type PublicipShowRespTypeEnum

type PublicipShowRespTypeEnum struct {
	EIP              PublicipShowRespType
	DUALSTACK        PublicipShowRespType
	DUALSTACK_SUBNET PublicipShowRespType
}

func GetPublicipShowRespTypeEnum

func GetPublicipShowRespTypeEnum() PublicipShowRespTypeEnum

type ShowPublicipRequest

type ShowPublicipRequest struct {
	PublicipId string `json:"publicip_id"`

	Fields *[]string `json:"fields,omitempty"`
}

Request Object

func (ShowPublicipRequest) String

func (o ShowPublicipRequest) String() string

type ShowPublicipResponse

type ShowPublicipResponse struct {
	RequestId *string `json:"request_id,omitempty"`

	Publicip       *PublicipShowResp `json:"publicip,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (ShowPublicipResponse) String

func (o ShowPublicipResponse) String() string

type TagsInfo

type TagsInfo struct {
	Key *string `json:"key,omitempty"`

	Value *string `json:"value,omitempty"`
}

标签信息

func (TagsInfo) String

func (o TagsInfo) String() string

type VnicInfo

type VnicInfo struct {
	PrivateIpAddress *string `json:"private_ip_address,omitempty"`

	DeviceId *string `json:"device_id,omitempty"`

	DeviceOwner *string `json:"device_owner,omitempty"`

	VpcId *string `json:"vpc_id,omitempty"`

	PortId *string `json:"port_id,omitempty"`

	PortProfile *string `json:"port_profile,omitempty"`

	Mac *string `json:"mac,omitempty"`

	Vtep *string `json:"vtep,omitempty"`

	Vni *string `json:"vni,omitempty"`

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

	InstanceType *string `json:"instance_type,omitempty"`
}

公网IP中的vnic对象,存储绑定PORT的相关信息

func (VnicInfo) String

func (o VnicInfo) String() string

Jump to

Keyboard shortcuts

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