model

package
v0.0.78 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 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 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       *PublicipInstanceResp `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 BillingInfoDict added in v0.0.66

type BillingInfoDict struct {
	OrderId *string `json:"order_id,omitempty"`

	ProductId *string `json:"product_id,omitempty"`
}

订单信息, 有订单表示包周期

func (BillingInfoDict) String added in v0.0.66

func (o BillingInfoDict) String() string

type CommonPoolDict added in v0.0.66

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

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

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

	Used *int32 `json:"used,omitempty"`

	PublicBorderGroup *string `json:"public_border_group,omitempty"`

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

	AllowShareBandwidthTypes *[]string `json:"allow_share_bandwidth_types,omitempty"`
}

公共池详情

func (CommonPoolDict) String added in v0.0.66

func (o CommonPoolDict) String() string

type CommonPoolsWithBorderGroupDict added in v0.0.66

type CommonPoolsWithBorderGroupDict struct {
	PublicipPools *[]string `json:"publicip_pools,omitempty"`

	PublicBorderGroup *string `json:"public_border_group,omitempty"`
}

分组详情

func (CommonPoolsWithBorderGroupDict) String added in v0.0.66

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       *PublicipInstanceResp `json:"publicip,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

Response Object

func (DisassociatePublicipsResponse) String

type ListCommonPoolsRequest added in v0.0.66

type ListCommonPoolsRequest struct {
	Fields *string `json:"fields,omitempty"`

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

	PublicBorderGroup *string `json:"public_border_group,omitempty"`
}

Request Object

func (ListCommonPoolsRequest) String added in v0.0.66

func (o ListCommonPoolsRequest) String() string

type ListCommonPoolsResponse added in v0.0.66

type ListCommonPoolsResponse struct {
	CommonPools *[]CommonPoolDict `json:"common_pools,omitempty"`

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

Response Object

func (ListCommonPoolsResponse) String added in v0.0.66

func (o ListCommonPoolsResponse) String() string

type ListPublicBorderGroupsRequest added in v0.0.66

type ListPublicBorderGroupsRequest struct {
	Fields *string `json:"fields,omitempty"`
}

Request Object

func (ListPublicBorderGroupsRequest) String added in v0.0.66

type ListPublicBorderGroupsResponse added in v0.0.66

type ListPublicBorderGroupsResponse struct {
	PublicBorderGroups *[]CommonPoolsWithBorderGroupDict `json:"public_border_groups,omitempty"`

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

Response Object

func (ListPublicBorderGroupsResponse) String added in v0.0.66

type ListPublicipPoolRequest added in v0.0.66

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

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

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

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

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

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

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

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

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

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

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

	PublicBorderGroup *string `json:"public_border_group,omitempty"`
}

Request Object

func (ListPublicipPoolRequest) String added in v0.0.66

func (o ListPublicipPoolRequest) String() string

type ListPublicipPoolResponse added in v0.0.66

type ListPublicipPoolResponse struct {
	PublicipPools *[]PublicipPoolShowResp `json:"publicip_pools,omitempty"`

	RequestId *string `json:"request_id,omitempty"`

	PageInfo       *PageInfoOption `json:"page_info,omitempty"`
	HttpStatusCode int             `json:"-"`
}

Response Object

func (ListPublicipPoolResponse) String added in v0.0.66

func (o ListPublicipPoolResponse) String() 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"`

	PublicBorderGroup *[]string `json:"public_border_group,omitempty"`

	AllowShareBandwidthTypeAny *[]string `json:"allow_share_bandwidth_type_any,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
	PUBLIC_BORDER_GROUP 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 *[]PublicipSingleShowResp `json:"publicips,omitempty"`

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

	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListPublicipsResponse) String

func (o ListPublicipsResponse) String() string

type ListShareBandwidthTypesRequest added in v0.0.66

type ListShareBandwidthTypesRequest struct {
	Fields *string `json:"fields,omitempty"`

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

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

	NameEn *string `json:"name_en,omitempty"`

	NameZh *string `json:"name_zh,omitempty"`

	PublicBorderGroup *string `json:"public_border_group,omitempty"`

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

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

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

Request Object

func (ListShareBandwidthTypesRequest) String added in v0.0.66

type ListShareBandwidthTypesResponse added in v0.0.66

type ListShareBandwidthTypesResponse struct {
	ShareBandwidthTypes *[]ShareBandwidthTypeShowResp `json:"share_bandwidth_types,omitempty"`

	RequestId *string `json:"request_id,omitempty"`

	PageInfo       *PageInfoOption `json:"page_info,omitempty"`
	HttpStatusCode int             `json:"-"`
}

Response Object

func (ListShareBandwidthTypesResponse) String added in v0.0.66

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 PublicipInstanceResp added in v0.0.66

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

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

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

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

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

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

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

	PublicBorderGroup *string `json:"public_border_group,omitempty"`

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

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

	Type *PublicipInstanceRespType `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 *PublicipInstanceRespAssociateInstanceType `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"`
}

公网IP字段信息

func (PublicipInstanceResp) String added in v0.0.66

func (o PublicipInstanceResp) String() string

type PublicipInstanceRespAssociateInstanceType added in v0.0.66

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

func (PublicipInstanceRespAssociateInstanceType) MarshalJSON added in v0.0.66

func (*PublicipInstanceRespAssociateInstanceType) UnmarshalJSON added in v0.0.66

type PublicipInstanceRespIpVersion added in v0.0.66

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

func (PublicipInstanceRespIpVersion) MarshalJSON added in v0.0.66

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

func (*PublicipInstanceRespIpVersion) UnmarshalJSON added in v0.0.66

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

type PublicipInstanceRespIpVersionEnum added in v0.0.66

type PublicipInstanceRespIpVersionEnum struct {
	E_4 PublicipInstanceRespIpVersion
	E_6 PublicipInstanceRespIpVersion
}

func GetPublicipInstanceRespIpVersionEnum added in v0.0.66

func GetPublicipInstanceRespIpVersionEnum() PublicipInstanceRespIpVersionEnum

type PublicipInstanceRespStatus added in v0.0.66

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

func (PublicipInstanceRespStatus) MarshalJSON added in v0.0.66

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

func (*PublicipInstanceRespStatus) UnmarshalJSON added in v0.0.66

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

type PublicipInstanceRespType added in v0.0.66

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

func (PublicipInstanceRespType) MarshalJSON added in v0.0.66

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

func (*PublicipInstanceRespType) UnmarshalJSON added in v0.0.66

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

type PublicipInstanceRespTypeEnum added in v0.0.66

type PublicipInstanceRespTypeEnum struct {
	EIP              PublicipInstanceRespType
	DUALSTACK        PublicipInstanceRespType
	DUALSTACK_SUBNET PublicipInstanceRespType
}

func GetPublicipInstanceRespTypeEnum added in v0.0.66

func GetPublicipInstanceRespTypeEnum() PublicipInstanceRespTypeEnum

type PublicipPoolShowResp added in v0.0.66

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

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

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

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

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

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

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

	Used *int32 `json:"used,omitempty"`

	CreatedAt *string `json:"created_at,omitempty"`

	UpdatedAt *string `json:"updated_at,omitempty"`

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

	PublicBorderGroup *string `json:"public_border_group,omitempty"`

	Shared *bool `json:"shared,omitempty"`

	IsCommon *bool `json:"is_common,omitempty"`

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

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

	AllowShareBandwidthTypes *[]string `json:"allow_share_bandwidth_types,omitempty"`
}

公网IP池详情

func (PublicipPoolShowResp) String added in v0.0.66

func (o PublicipPoolShowResp) String() string

type PublicipPoolShowRespType added in v0.0.66

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

func (PublicipPoolShowRespType) MarshalJSON added in v0.0.66

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

func (*PublicipPoolShowRespType) UnmarshalJSON added in v0.0.66

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

type PublicipPoolShowRespTypeEnum added in v0.0.66

type PublicipPoolShowRespTypeEnum struct {
	SPEC_BGP  PublicipPoolShowRespType
	SPEC_SBGP PublicipPoolShowRespType
}

func GetPublicipPoolShowRespTypeEnum added in v0.0.66

func GetPublicipPoolShowRespTypeEnum() PublicipPoolShowRespTypeEnum

type PublicipSingleShowResp added in v0.0.66

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

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

	IpVersion *PublicipSingleShowRespIpVersion `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 *PublicipSingleShowRespStatus `json:"status,omitempty"`

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

	PublicBorderGroup *string `json:"public_border_group,omitempty"`

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

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

	Type *PublicipSingleShowRespType `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 *PublicipSingleShowRespAssociateInstanceType `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"`

	AssociateMode *string `json:"associate_mode,omitempty"`

	AllowShareBandwidthTypes *[]string `json:"allow_share_bandwidth_types,omitempty"`

	CascadeDeleteByInstance *bool `json:"cascade_delete_by_instance,omitempty"`
}

公网IP字段信息

func (PublicipSingleShowResp) String added in v0.0.66

func (o PublicipSingleShowResp) String() string

type PublicipSingleShowRespAssociateInstanceType added in v0.0.66

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

func (PublicipSingleShowRespAssociateInstanceType) MarshalJSON added in v0.0.66

func (*PublicipSingleShowRespAssociateInstanceType) UnmarshalJSON added in v0.0.66

type PublicipSingleShowRespIpVersion added in v0.0.66

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

func (PublicipSingleShowRespIpVersion) MarshalJSON added in v0.0.66

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

func (*PublicipSingleShowRespIpVersion) UnmarshalJSON added in v0.0.66

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

type PublicipSingleShowRespIpVersionEnum added in v0.0.66

type PublicipSingleShowRespIpVersionEnum struct {
	E_4 PublicipSingleShowRespIpVersion
	E_6 PublicipSingleShowRespIpVersion
}

func GetPublicipSingleShowRespIpVersionEnum added in v0.0.66

func GetPublicipSingleShowRespIpVersionEnum() PublicipSingleShowRespIpVersionEnum

type PublicipSingleShowRespStatus added in v0.0.66

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

func (PublicipSingleShowRespStatus) MarshalJSON added in v0.0.66

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

func (*PublicipSingleShowRespStatus) UnmarshalJSON added in v0.0.66

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

type PublicipSingleShowRespType added in v0.0.66

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

func (PublicipSingleShowRespType) MarshalJSON added in v0.0.66

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

func (*PublicipSingleShowRespType) UnmarshalJSON added in v0.0.66

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

type PublicipSingleShowRespTypeEnum added in v0.0.66

type PublicipSingleShowRespTypeEnum struct {
	EIP              PublicipSingleShowRespType
	DUALSTACK        PublicipSingleShowRespType
	DUALSTACK_SUBNET PublicipSingleShowRespType
}

func GetPublicipSingleShowRespTypeEnum added in v0.0.66

func GetPublicipSingleShowRespTypeEnum() PublicipSingleShowRespTypeEnum

type ShareBandwidthTypeShowResp added in v0.0.66

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

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

	PublicBorderGroup *string `json:"public_border_group,omitempty"`

	CreatedAt *string `json:"created_at,omitempty"`

	UpdatedAt *string `json:"updated_at,omitempty"`

	NameEn *string `json:"name_en,omitempty"`

	NameZh *string `json:"name_zh,omitempty"`

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

带宽支持类型对象

func (ShareBandwidthTypeShowResp) String added in v0.0.66

type ShowPublicipPoolRequest added in v0.0.66

type ShowPublicipPoolRequest struct {
	PublicipPoolId string `json:"publicip_pool_id"`

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

Request Object

func (ShowPublicipPoolRequest) String added in v0.0.66

func (o ShowPublicipPoolRequest) String() string

type ShowPublicipPoolResponse added in v0.0.66

type ShowPublicipPoolResponse struct {
	PublicipPool *PublicipPoolShowResp `json:"publicip_pool,omitempty"`

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

Response Object

func (ShowPublicipPoolResponse) String added in v0.0.66

func (o ShowPublicipPoolResponse) String() string

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       *PublicipSingleShowResp `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