Documentation ¶
Index ¶
- type AssociatePublicipsOption
- type AssociatePublicipsOptionAssociateInstanceType
- type AssociatePublicipsOptionAssociateInstanceTypeEnum
- type AssociatePublicipsRequest
- type AssociatePublicipsRequestBody
- type AssociatePublicipsResponse
- type BandwidthInfoResp
- type BandwidthInfoRespBandwidthType
- type BandwidthInfoRespBandwidthTypeEnum
- type DisassociatePublicipsOption
- type DisassociatePublicipsOptionAssociateInstanceType
- type DisassociatePublicipsOptionAssociateInstanceTypeEnum
- type DisassociatePublicipsRequest
- type DisassociatePublicipsRequestBody
- type DisassociatePublicipsResponse
- type ListPublicipsRequest
- type ListPublicipsRequestAssociateInstanceType
- type ListPublicipsRequestAssociateInstanceTypeEnum
- type ListPublicipsRequestBandwidthChargeMode
- type ListPublicipsRequestBandwidthChargeModeEnum
- type ListPublicipsRequestBandwidthShareType
- type ListPublicipsRequestBandwidthShareTypeEnum
- type ListPublicipsRequestBillingMode
- type ListPublicipsRequestBillingModeEnum
- type ListPublicipsRequestIpVersion
- type ListPublicipsRequestIpVersionEnum
- type ListPublicipsRequestNetworkType
- type ListPublicipsRequestNetworkTypeEnum
- type ListPublicipsRequestSortDir
- type ListPublicipsRequestSortDirEnum
- type ListPublicipsRequestSortKey
- type ListPublicipsRequestSortKeyEnum
- type ListPublicipsRequestStatus
- type ListPublicipsRequestStatusEnum
- type ListPublicipsRequestType
- type ListPublicipsRequestTypeEnum
- type ListPublicipsResponse
- type PageInfoOption
- type ProfileInfo
- type ProfileInfoCreateSource
- type ProfileInfoCreateSourceEnum
- type ProfileInfoFreezedStatus
- type ProfileInfoFreezedStatusEnum
- type ProfileInfoNotifyStatus
- type ProfileInfoNotifyStatusEnum
- type PublicipBandwidthInfo
- type PublicipShowResp
- type PublicipShowRespAssociateInstanceType
- type PublicipShowRespAssociateInstanceTypeEnum
- type PublicipShowRespIpVersion
- type PublicipShowRespIpVersionEnum
- type PublicipShowRespStatus
- type PublicipShowRespStatusEnum
- type PublicipShowRespType
- type PublicipShowRespTypeEnum
- type ShowPublicipRequest
- type ShowPublicipResponse
- type TagsInfo
- type VnicInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssociatePublicipsOption ¶
type AssociatePublicipsOption struct { // 功能说明:端口所属实例类型 取值范围:PORT、NATGW、VPN、ELB、null 约束:associate_instance_type和associate_instance_id都不为空时表示绑定实例; associate_instance_type和associate_instance_id都为null时解绑实例 约束:双栈公网IP不允许修改绑定的实例 AssociateInstanceType *AssociatePublicipsOptionAssociateInstanceType `json:"associate_instance_type,omitempty"` // 功能说明:端口所属实例ID,例如RDS实例ID 约束:associate_instance_type和associate_instance_id都不为空时表示绑定实例; associate_instance_type和associate_instance_id都为null时解绑实例 约束:双栈公网IP不允许修改绑定的实例 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 (c AssociatePublicipsOptionAssociateInstanceType) MarshalJSON() ([]byte, error)
func (*AssociatePublicipsOptionAssociateInstanceType) UnmarshalJSON ¶
func (c *AssociatePublicipsOptionAssociateInstanceType) UnmarshalJSON(b []byte) error
type AssociatePublicipsOptionAssociateInstanceTypeEnum ¶
type AssociatePublicipsOptionAssociateInstanceTypeEnum struct { PORT AssociatePublicipsOptionAssociateInstanceType NATGW AssociatePublicipsOptionAssociateInstanceType ELB AssociatePublicipsOptionAssociateInstanceType EMPTY AssociatePublicipsOptionAssociateInstanceType }
func GetAssociatePublicipsOptionAssociateInstanceTypeEnum ¶
func GetAssociatePublicipsOptionAssociateInstanceTypeEnum() AssociatePublicipsOptionAssociateInstanceTypeEnum
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 ¶
func (o AssociatePublicipsRequestBody) String() string
type AssociatePublicipsResponse ¶
type AssociatePublicipsResponse struct { // 本次请求的编号 RequestId *string `json:"request_id,omitempty"` Publicip *PublicipShowResp `json:"publicip,omitempty"` }
Response Object
func (AssociatePublicipsResponse) String ¶
func (o AssociatePublicipsResponse) String() string
type BandwidthInfoResp ¶
type BandwidthInfoResp struct { // 带宽名称 BandwidthName *string `json:"bandwidth_name,omitempty"` // 带宽大小 BandwidthNumber *int32 `json:"bandwidth_number,omitempty"` // 带宽类型 BandwidthType *BandwidthInfoRespBandwidthType `json:"bandwidth_type,omitempty"` // 带宽id 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 { // 功能说明:端口所属实例类型 取值范围:PORT、NATGW、VPN、ELB、null 约束:associate_instance_type和associate_instance_id都不为空时表示绑定实例; associate_instance_type和associate_instance_id都为null时解绑实例 约束:双栈公网IP不允许修改绑定的实例 AssociateInstanceType *DisassociatePublicipsOptionAssociateInstanceType `json:"associate_instance_type,omitempty"` // 功能说明:端口所属实例ID,例如RDS实例ID 约束:associate_instance_type和associate_instance_id都不为空时表示绑定实例; associate_instance_type和associate_instance_id都为null时解绑实例 约束:双栈公网IP不允许修改绑定的实例 AssociateInstanceId *string `json:"associate_instance_id,omitempty"` }
func (DisassociatePublicipsOption) String ¶
func (o DisassociatePublicipsOption) String() string
type DisassociatePublicipsOptionAssociateInstanceType ¶
type DisassociatePublicipsOptionAssociateInstanceType struct {
// contains filtered or unexported fields
}
func (DisassociatePublicipsOptionAssociateInstanceType) MarshalJSON ¶
func (c DisassociatePublicipsOptionAssociateInstanceType) MarshalJSON() ([]byte, error)
func (*DisassociatePublicipsOptionAssociateInstanceType) UnmarshalJSON ¶
func (c *DisassociatePublicipsOptionAssociateInstanceType) UnmarshalJSON(b []byte) error
type DisassociatePublicipsOptionAssociateInstanceTypeEnum ¶
type DisassociatePublicipsOptionAssociateInstanceTypeEnum struct { PORT DisassociatePublicipsOptionAssociateInstanceType NATGW DisassociatePublicipsOptionAssociateInstanceType ELB DisassociatePublicipsOptionAssociateInstanceType EMPTY DisassociatePublicipsOptionAssociateInstanceType }
func GetDisassociatePublicipsOptionAssociateInstanceTypeEnum ¶
func GetDisassociatePublicipsOptionAssociateInstanceTypeEnum() DisassociatePublicipsOptionAssociateInstanceTypeEnum
type DisassociatePublicipsRequest ¶
type DisassociatePublicipsRequest struct { PublicipId string `json:"publicip_id"` Body *DisassociatePublicipsRequestBody `json:"body,omitempty"` }
Request Object
func (DisassociatePublicipsRequest) String ¶
func (o DisassociatePublicipsRequest) String() string
type DisassociatePublicipsRequestBody ¶
type DisassociatePublicipsRequestBody struct {
Publicip *DisassociatePublicipsOption `json:"publicip"`
}
解绑弹性公网IP的请求体
func (DisassociatePublicipsRequestBody) String ¶
func (o DisassociatePublicipsRequestBody) String() string
type DisassociatePublicipsResponse ¶
type DisassociatePublicipsResponse struct { // 本次请求的编号 RequestId *string `json:"request_id,omitempty"` Publicip *PublicipShowResp `json:"publicip,omitempty"` }
Response Object
func (DisassociatePublicipsResponse) String ¶
func (o DisassociatePublicipsResponse) 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"` 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 (c ListPublicipsRequestAssociateInstanceType) MarshalJSON() ([]byte, error)
func (*ListPublicipsRequestAssociateInstanceType) UnmarshalJSON ¶
func (c *ListPublicipsRequestAssociateInstanceType) UnmarshalJSON(b []byte) error
type ListPublicipsRequestAssociateInstanceTypeEnum ¶
type ListPublicipsRequestAssociateInstanceTypeEnum struct { PORT ListPublicipsRequestAssociateInstanceType NATGW ListPublicipsRequestAssociateInstanceType ELB ListPublicipsRequestAssociateInstanceType VPN ListPublicipsRequestAssociateInstanceType ELBV1 ListPublicipsRequestAssociateInstanceType }
func GetListPublicipsRequestAssociateInstanceTypeEnum ¶
func GetListPublicipsRequestAssociateInstanceTypeEnum() ListPublicipsRequestAssociateInstanceTypeEnum
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 ListPublicipsRequestBandwidthChargeModeEnum ¶
type ListPublicipsRequestBandwidthChargeModeEnum struct { BANDWIDTH ListPublicipsRequestBandwidthChargeMode TRAFFIC ListPublicipsRequestBandwidthChargeMode E_95PEAK_PLUS ListPublicipsRequestBandwidthChargeMode }
func GetListPublicipsRequestBandwidthChargeModeEnum ¶
func GetListPublicipsRequestBandwidthChargeModeEnum() ListPublicipsRequestBandwidthChargeModeEnum
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 {}
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 ListPublicipsRequestNetworkTypeEnum ¶
type ListPublicipsRequestNetworkTypeEnum struct { E_5_TELCOM ListPublicipsRequestNetworkType E_5_UNION ListPublicipsRequestNetworkType E_5_BGP ListPublicipsRequestNetworkType E_5_SBGP ListPublicipsRequestNetworkType E_5_IPV6 ListPublicipsRequestNetworkType E_5_GRAYBGP ListPublicipsRequestNetworkType }
func GetListPublicipsRequestNetworkTypeEnum ¶
func GetListPublicipsRequestNetworkTypeEnum() ListPublicipsRequestNetworkTypeEnum
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"` // 功能说明:弹性公网IP对象 Publicips *[]PublicipShowResp `json:"publicips,omitempty"` PageInfo *PageInfoOption `json:"page_info,omitempty"` // 公网IP总条目数 Total *int32 `json:"total,omitempty"` }
Response Object
func (ListPublicipsResponse) String ¶
func (o ListPublicipsResponse) String() string
type PageInfoOption ¶
type PageInfoOption struct { // 翻页时,作为前一页的marker取值 PreviousMarker *string `json:"previous_marker,omitempty"` // 翻页时,作为后一页的marker取值 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 { // 公网IP附属的5_xxx网络(如5_bgp)中的port_id LocalNetworkPort *string `json:"local_network_port,omitempty"` // 标识公网IP是否是和虚机一起创建的。true-独立创建;false-和虚机一起创建 Standalone *bool `json:"standalone,omitempty"` // 云服务标识公网IP创建进度, EIP服务内部使用。 NotifyStatus *ProfileInfoNotifyStatus `json:"notify_status,omitempty"` // 公网IP创建时间 CreateTime *string `json:"create_time,omitempty"` // 该字段仅仅用于表示eip的bgp类型是否是真实的静态sbgp * 1. 如果为true,则该eip可以切换bgp类型 * 2. 如果为false,则该eip不可以切换bgp类型 FakeNetworkType *bool `json:"fake_network_type,omitempty"` // 标识IP是和哪类资源一起购买的 CreateSource *ProfileInfoCreateSource `json:"create_source,omitempty"` // 标识和公网IP一起购买的ecs的id EcsId *string `json:"ecs_id,omitempty"` // 公网IP加锁状态, eg:\"POLICE,LOCKED\"。POLICE-公安冻结;LOCKED-普通冻结;普通冻结细分状态:ARREAR-欠费;DELABLE-可删除; LockStatus *string `json:"lock_status,omitempty"` // 公网IP冻结状态。 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 Id *string `json:"id,omitempty"` // 功能描述:带宽大小 取值范围:默认5Mbit/s~2000Mbit/s Size *int32 `json:"size,omitempty"` ShareType *string `json:"share_type,omitempty"` // 功能说明:按流量计费还是按带宽计费 取值范围: bandwidth:按带宽计费 traffic:按流量计费 95peak_plus:按增强型95计费 ChargeMode *string `json:"charge_mode,omitempty"` // 功能说明:带宽名称 取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点) Name *string `json:"name,omitempty"` // 功能说明:账单信息。如果billinginfo不为空,说明是包周期的带宽 BillingInfo *string `json:"billing_info,omitempty"` }
公网IP绑定的带宽信息
func (PublicipBandwidthInfo) String ¶
func (o PublicipBandwidthInfo) String() string
type PublicipShowResp ¶
type PublicipShowResp struct { // 功能说明:弹性公网IP唯一标识 Id *string `json:"id,omitempty"` // 功能说明:项目ID ProjectId *string `json:"project_id,omitempty"` // 功能说明:IP版本信息 取值范围:4表示公网IP地址为public_ip_address地址;6表示公网IP地址为public_ipv6_address地址\" IpVersion *PublicipShowRespIpVersion `json:"ip_version,omitempty"` // 功能说明:弹性公网IP或者IPv6端口的地址 PublicIpAddress *string `json:"public_ip_address,omitempty"` // 功能说明:IPv4时无此字段,IPv6时为申请到的弹性公网IP地址 PublicIpv6Address *string `json:"public_ipv6_address,omitempty"` // 废弃,功能由publicip_pool_name继承,默认不显示。功能说明:弹性公网IP的网络类型 NetworkType *string `json:"network_type,omitempty"` // 功能说明:弹性公网IP的状态 取值范围:冻结FREEZED,绑定失败BIND_ERROR,绑定中BINDING,释放中PENDING_DELETE, 创建中PENDING_CREATE,创建中NOTIFYING,释放中NOTIFY_DELETE,更新中PENDING_UPDATE, 未绑定DOWN ,绑定ACTIVE,绑定ELB,绑定VPN,失败ERROR。 Status *PublicipShowRespStatus `json:"status,omitempty"` // 功能说明:弹性公网IP描述信息 约束:用户以自定义方式标识资源,系统不感知 Description *string `json:"description,omitempty"` // 公网EIP的出口名称,多出口特性开关打开展示 GroupName *string `json:"group_name,omitempty"` // 功能说明:资源创建UTC时间 格式:yyyy-MM-ddTHH:mm:ssZ CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"` // 功能说明:资源更新UTC时间 格式:yyyy-MM-ddTHH:mm:ssZ UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"` // 功能说明:弹性公网IP类型 Type *PublicipShowRespType `json:"type,omitempty"` Vnic *VnicInfo `json:"vnic,omitempty"` Bandwidth *PublicipBandwidthInfo `json:"bandwidth,omitempty"` // 功能说明:企业项目ID。最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。创建弹性公网IP时,给弹性公网IP绑定企业项目ID。 EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 功能说明:公网IP的订单信息 约束:包周期才会有订单信息,按需资源此字段为空 BillingInfo *string `json:"billing_info,omitempty"` // 功能说明:记录公网IP当前的冻结状态 约束:metadata类型,标识欠费冻结、公安冻结 取值范围:police,locked LockStatus *string `json:"lock_status,omitempty"` // 功能说明:公网IP绑定的实例类型 取值范围:PORT、NATGW、ELB、ELBV1、VPN、null AssociateInstanceType *PublicipShowRespAssociateInstanceType `json:"associate_instance_type,omitempty"` // 功能说明:公网IP绑定的实例ID AssociateInstanceId *string `json:"associate_instance_id,omitempty"` // 功能说明:公网IP所属网络的ID。publicip_pool_name对应的网络ID PublicipPoolId *string `json:"publicip_pool_id,omitempty"` // 功能说明:弹性公网IP的网络类型, 包括公共池类型,如5_bgp/5_sbgp...,和用户购买的专属池。 专属池见publcip_pool相关接口 PublicipPoolName *string `json:"publicip_pool_name,omitempty"` // 功能说明:弹性公网IP名称 Alias *string `json:"alias,omitempty"` Profile *ProfileInfo `json:"profile,omitempty"` // 默认不显示。该字段仅仅用于表示eip的bgp类型是否是真实的静态sbgp * 1. 如果为true,则该eip可以切换bgp类型 * 2. 如果为false,则该eip不可以切换bgp类型 FakeNetworkType *bool `json:"fake_network_type,omitempty"` // 默认不显示。用户标签 Tags *[]TagsInfo `json:"tags,omitempty"` // 默认不显示。记录实例的更上一层归属。例如associate_instance_type为PORT,此字段记录PORT的device_id和device_owner信息。仅有限场景记录。 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 PublicipShowRespAssociateInstanceTypeEnum ¶
type PublicipShowRespAssociateInstanceTypeEnum struct { PORT PublicipShowRespAssociateInstanceType NATGW PublicipShowRespAssociateInstanceType ELB PublicipShowRespAssociateInstanceType ELBV1 PublicipShowRespAssociateInstanceType VPN PublicipShowRespAssociateInstanceType NULL PublicipShowRespAssociateInstanceType }
func GetPublicipShowRespAssociateInstanceTypeEnum ¶
func GetPublicipShowRespAssociateInstanceTypeEnum() PublicipShowRespAssociateInstanceTypeEnum
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 PublicipShowRespStatusEnum ¶
type PublicipShowRespStatusEnum struct { FREEZED PublicipShowRespStatus BIND_ERROR PublicipShowRespStatus BINDING PublicipShowRespStatus PENDING_DELETE PublicipShowRespStatus PENDING_CREATE PublicipShowRespStatus NOTIFYING PublicipShowRespStatus NOTIFY_DELETE PublicipShowRespStatus PENDING_UPDATE PublicipShowRespStatus DOWN PublicipShowRespStatus ACTIVE PublicipShowRespStatus ELB PublicipShowRespStatus ERROR PublicipShowRespStatus VPN PublicipShowRespStatus }
func GetPublicipShowRespStatusEnum ¶
func GetPublicipShowRespStatusEnum() PublicipShowRespStatusEnum
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"` }
Response Object
func (ShowPublicipResponse) String ¶
func (o ShowPublicipResponse) String() string
type TagsInfo ¶
type TagsInfo struct { // 功能说明:键。同一资源的key值不能重复。 Key *string `json:"key,omitempty"` // 功能说明:值列表。 Value *string `json:"value,omitempty"` }
标签信息
type VnicInfo ¶
type VnicInfo struct { // 功能说明:私网IP地址 PrivateIpAddress *string `json:"private_ip_address,omitempty"` // 功能说明:端口所属设备ID 约束:不支持设置和更新,由系统自动维护 DeviceId *string `json:"device_id,omitempty"` // 功能说明:设备所属 取值范围:合法设备所属,如network:dhcp、network:VIP_PORT、network:router_interface_distributed、network:router_centralized_snat 约束:不支持设置和更新,由系统自动维护 DeviceOwner *string `json:"device_owner,omitempty"` // 功能说明:虚拟私有云ID VpcId *string `json:"vpc_id,omitempty"` // 功能说明:端口ID PortId *string `json:"port_id,omitempty"` // 功能说明:端口profile信息 PortProfile *string `json:"port_profile,omitempty"` // 功能说明:端口MAC地址 约束:由系统分配,不支持指定 Mac *string `json:"mac,omitempty"` // 功能说明:VTEP IP Vtep *string `json:"vtep,omitempty"` // 功能说明:VXLAN ID Vni *string `json:"vni,omitempty"` // 功能说明:端口所属实例ID,例如RDS实例ID 约束:不支持设置和更新,由系统自动维护 InstanceId *string `json:"instance_id,omitempty"` // 功能说明:端口所属实例类型,例如“RDS” 约束:不支持设置和更新,由系统自动维护 InstanceType *string `json:"instance_type,omitempty"` }
公网IP中的vnic对象,存储绑定PORT的相关信息
Source Files ¶
- model_associate_publicips_option.go
- model_associate_publicips_request.go
- model_associate_publicips_request_body.go
- model_associate_publicips_response.go
- model_bandwidth_info_resp.go
- model_disassociate_publicips_option.go
- model_disassociate_publicips_request.go
- model_disassociate_publicips_request_body.go
- model_disassociate_publicips_response.go
- model_list_publicips_request.go
- model_list_publicips_response.go
- model_page_info_option.go
- model_profile_info.go
- model_publicip_bandwidth_info.go
- model_publicip_show_resp.go
- model_show_publicip_request.go
- model_show_publicip_response.go
- model_tags_info.go
- model_vnic_info.go
Click to show internal directories.
Click to hide internal directories.