Documentation ¶
Index ¶
- type AssociatePublicipsOption
- type AssociatePublicipsOptionAssociateInstanceType
- type AssociatePublicipsOptionAssociateInstanceTypeEnum
- type AssociatePublicipsRequest
- type AssociatePublicipsRequestBody
- type AssociatePublicipsResponse
- type BandwidthInfoResp
- type BandwidthInfoRespBandwidthType
- type BandwidthInfoRespBandwidthTypeEnum
- type BillingInfoDict
- type CommonPoolDict
- type CommonPoolsWithBorderGroupDict
- type DisassociatePublicipsOption
- type DisassociatePublicipsOptionAssociateInstanceType
- type DisassociatePublicipsOptionAssociateInstanceTypeEnum
- type DisassociatePublicipsRequest
- type DisassociatePublicipsRequestBody
- type DisassociatePublicipsResponse
- type ListCommonPoolsRequest
- type ListCommonPoolsResponse
- type ListPublicBorderGroupsRequest
- type ListPublicBorderGroupsResponse
- type ListPublicipPoolRequest
- type ListPublicipPoolResponse
- 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 ListShareBandwidthTypesRequest
- type ListShareBandwidthTypesResponse
- type PageInfoOption
- type ProfileInfo
- type ProfileInfoCreateSource
- type ProfileInfoCreateSourceEnum
- type ProfileInfoFreezedStatus
- type ProfileInfoFreezedStatusEnum
- type ProfileInfoNotifyStatus
- type ProfileInfoNotifyStatusEnum
- type PublicipBandwidthInfo
- type PublicipInstanceResp
- type PublicipInstanceRespAssociateInstanceType
- type PublicipInstanceRespAssociateInstanceTypeEnum
- type PublicipInstanceRespIpVersion
- type PublicipInstanceRespIpVersionEnum
- type PublicipInstanceRespStatus
- type PublicipInstanceRespStatusEnum
- type PublicipInstanceRespType
- type PublicipInstanceRespTypeEnum
- type PublicipPoolShowResp
- type PublicipPoolShowRespType
- type PublicipPoolShowRespTypeEnum
- type PublicipSingleShowResp
- type PublicipSingleShowRespAssociateInstanceType
- type PublicipSingleShowRespAssociateInstanceTypeEnum
- type PublicipSingleShowRespIpVersion
- type PublicipSingleShowRespIpVersionEnum
- type PublicipSingleShowRespStatus
- type PublicipSingleShowRespStatusEnum
- type PublicipSingleShowRespType
- type PublicipSingleShowRespTypeEnum
- type ShareBandwidthTypeShowResp
- type ShowPublicipPoolRequest
- type ShowPublicipPoolResponse
- 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
func (AssociatePublicipsOptionAssociateInstanceType) Value ¶ added in v0.0.90
func (c AssociatePublicipsOptionAssociateInstanceType) Value() string
type AssociatePublicipsOptionAssociateInstanceTypeEnum ¶
type AssociatePublicipsOptionAssociateInstanceTypeEnum struct { PORT AssociatePublicipsOptionAssociateInstanceType NATGW AssociatePublicipsOptionAssociateInstanceType ELB AssociatePublicipsOptionAssociateInstanceType EMPTY AssociatePublicipsOptionAssociateInstanceType }
func GetAssociatePublicipsOptionAssociateInstanceTypeEnum ¶
func GetAssociatePublicipsOptionAssociateInstanceTypeEnum() AssociatePublicipsOptionAssociateInstanceTypeEnum
type AssociatePublicipsRequest ¶
type AssociatePublicipsRequest struct { // 弹性公网IP的ID 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 *PublicipInstanceResp `json:"publicip,omitempty"` HttpStatusCode int `json:"-"` }
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
func (BandwidthInfoRespBandwidthType) Value ¶ added in v0.0.90
func (c BandwidthInfoRespBandwidthType) Value() string
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"` // 产品id 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"` // 公共池类型,如bgp,sbgp等 Type *string `json:"type,omitempty"` // 已经使用的ip数量 Used *int32 `json:"used,omitempty"` // 功能说明:表示中心站点资源或者边缘站点资源 取值范围: center、边缘站点名称 约束:publicip只能绑定该字段相同的资源 PublicBorderGroup *string `json:"public_border_group,omitempty"` // 默认不展示,取值, 公共池ID 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
func (o CommonPoolsWithBorderGroupDict) String() string
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
func (DisassociatePublicipsOptionAssociateInstanceType) Value ¶ added in v0.0.90
func (c DisassociatePublicipsOptionAssociateInstanceType) Value() string
type DisassociatePublicipsOptionAssociateInstanceTypeEnum ¶
type DisassociatePublicipsOptionAssociateInstanceTypeEnum struct { PORT DisassociatePublicipsOptionAssociateInstanceType NATGW DisassociatePublicipsOptionAssociateInstanceType ELB DisassociatePublicipsOptionAssociateInstanceType EMPTY DisassociatePublicipsOptionAssociateInstanceType }
func GetDisassociatePublicipsOptionAssociateInstanceTypeEnum ¶
func GetDisassociatePublicipsOptionAssociateInstanceTypeEnum() DisassociatePublicipsOptionAssociateInstanceTypeEnum
type DisassociatePublicipsRequest ¶
type DisassociatePublicipsRequest struct { // 弹性公网IP的ID 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 *PublicipInstanceResp `json:"publicip,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DisassociatePublicipsResponse) String ¶
func (o DisassociatePublicipsResponse) String() string
type ListCommonPoolsRequest ¶ added in v0.0.66
type ListCommonPoolsRequest struct { // 显示,形式为\"fields=id&fields=name&...\" 支持字段:id/name/status/type/used/allow_share_bandwidth_types/public_border_group 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=id&fields=name&...\" 支持字段:publicip_pools/public_border_group Fields *string `json:"fields,omitempty"` }
Request Object
func (ListPublicBorderGroupsRequest) String ¶ added in v0.0.66
func (o ListPublicBorderGroupsRequest) String() string
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
func (o ListPublicBorderGroupsResponse) String() string
type ListPublicipPoolRequest ¶ added in v0.0.66
type ListPublicipPoolRequest struct { // 分页查询起始的资源ID,为空时为查询第一页 Marker *string `json:"marker,omitempty"` // 每页返回的个数取值范围:0~[2000],其中2000为局点差异项,具体取值由局点决定 Limit *int32 `json:"limit,omitempty"` // 显示,形式为\"fields=id&fields=name&...\" 支持字段:id/name/size/used/project_id/status/billing_info/created_at/updated_at/type/shared/is_common/description/tags/enterprise_project_id/allow_share_bandwidth_types/public_border_group Fields *string `json:"fields,omitempty"` // 排序,形式为\"sort_key=id&sort_dir=asc\" 支持字段:id/name/created_at/updated_at/public_border_group SortKey *string `json:"sort_key,omitempty"` // 排序方向 取值范围:asc、desc SortDir *string `json:"sort_dir,omitempty"` // 根据id过滤 Id *string `json:"id,omitempty"` // 根据name过滤 Name *string `json:"name,omitempty"` // 根据size过滤 Size *int32 `json:"size,omitempty"` // 根据status过滤 Status *string `json:"status,omitempty"` // 根据type过滤 Type *string `json:"type,omitempty"` // 根据description过滤 Description *string `json:"description,omitempty"` // 根据public_border_group过滤 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 { // 分页查询起始的资源ID,为空时为查询第一页 Marker *string `json:"marker,omitempty"` // 分页查询起始的资源序号 Offset *int32 `json:"offset,omitempty"` // 每页返回的个数取值范围:0~[2000],其中2000为局点差异项,具体取值由局点决定 Limit *int32 `json:"limit,omitempty"` // 显示,形式为\"fields=id&fields=owner&...\" 支持字段:id/project_id/ip_version/type/public_ip_address/public_ipv6_address/network_type/status/description/created_at/updated_at/vnic/bandwidth/associate_instance_type/associate_instance_id/lock_status/billing_info/tags/enterprise_project_id/allow_share_bandwidth_types/public_border_group/alias/publicip_pool_name/publicip_pool_id Fields *[]string `json:"fields,omitempty"` // 排序,形式为\"sort_key=id\" 支持字段:id/public_ip_address/public_ipv6_address/ip_version/created_at/updated_at/public_border_group SortKey *ListPublicipsRequestSortKey `json:"sort_key,omitempty"` // 排序方向 取值范围:asc、desc SortDir *ListPublicipsRequestSortDir `json:"sort_dir,omitempty"` // 根据id过滤 Id *[]string `json:"id,omitempty"` // 根据ip_version过滤 取值范围:4、6 IpVersion *[]ListPublicipsRequestIpVersion `json:"ip_version,omitempty"` // 根据public_ip_address过滤 PublicIpAddress *[]string `json:"public_ip_address,omitempty"` // 根据public_ip_address过滤,模糊搜索 PublicIpAddressLike *string `json:"public_ip_address_like,omitempty"` // 根据public_ipv6_address过滤 PublicIpv6Address *[]string `json:"public_ipv6_address,omitempty"` // 根据public_ipv6_address过滤,模糊搜索 PublicIpv6AddressLike *string `json:"public_ipv6_address_like,omitempty"` // 根据type过滤 取值范围:EIP、DUALSTACK、DUALSTACK_SUBNET EIP: 弹性公网IP DUALSTACK: 双栈IPV6 DUALSTACK_SUBNET: 双栈子网 Type *[]ListPublicipsRequestType `json:"type,omitempty"` // 根据network_type过滤 取值范围:5_telcom、5_union、5_bgp、5_sbgp、5_ipv6、5_graybgp NetworkType *[]ListPublicipsRequestNetworkType `json:"network_type,omitempty"` // 根据publicip_pool_name过滤 取值范围:5_telcom、5_union、5_bgp、5_sbgp、5_ipv6、5_graybgp、专属池名称等 PublicipPoolName *[]string `json:"publicip_pool_name,omitempty"` // 根据status过滤 取值范围:FREEZED、DOWN、ACTIVE、ERROR Status *[]ListPublicipsRequestStatus `json:"status,omitempty"` // 根据alias模糊搜索 AliasLike *string `json:"alias_like,omitempty"` // 根据alias过滤 Alias *[]string `json:"alias,omitempty"` // 根据description过滤 Description *[]string `json:"description,omitempty"` // 根据private_ip_address过滤 VnicPrivateIpAddress *[]string `json:"vnic.private_ip_address,omitempty"` // 根据private_ip_address模糊搜索 VnicPrivateIpAddressLike *string `json:"vnic.private_ip_address_like,omitempty"` // 根据device_id过滤 VnicDeviceId *[]string `json:"vnic.device_id,omitempty"` // 根据device_owner过滤 VnicDeviceOwner *[]string `json:"vnic.device_owner,omitempty"` // 根据vpc_id过滤 VnicVpcId *[]string `json:"vnic.vpc_id,omitempty"` // 根据port_id过滤 VnicPortId *[]string `json:"vnic.port_id,omitempty"` // 根据device_owner_prefixlike模糊搜索 VnicDeviceOwnerPrefixlike *string `json:"vnic.device_owner_prefixlike,omitempty"` // 根据instance_type过滤 VnicInstanceType *[]string `json:"vnic.instance_type,omitempty"` // 根据instance_id过滤 VnicInstanceId *[]string `json:"vnic.instance_id,omitempty"` // 根据id过滤 BandwidthId *[]string `json:"bandwidth.id,omitempty"` // 根据name过滤 BandwidthName *[]string `json:"bandwidth.name,omitempty"` // 根据name模糊过滤 BandwidthNameLike *[]string `json:"bandwidth.name_like,omitempty"` // 根据size过滤 BandwidthSize *[]int32 `json:"bandwidth.size,omitempty"` BandwidthShareType *[]ListPublicipsRequestBandwidthShareType `json:"bandwidth.share_type,omitempty"` // 根据charge_mode过滤 BandwidthChargeMode *[]ListPublicipsRequestBandwidthChargeMode `json:"bandwidth.charge_mode,omitempty"` // 根据billing_info过滤 BillingInfo *[]string `json:"billing_info,omitempty"` // 根据订单模式过滤, 取值范围:YEARLY_MONTHLY、PAY_PER_USE BillingMode *ListPublicipsRequestBillingMode `json:"billing_mode,omitempty"` // 根据associate_instance_type过滤 取值范围:PORT、NATGW、ELB、VPN、ELBV1 AssociateInstanceType *[]ListPublicipsRequestAssociateInstanceType `json:"associate_instance_type,omitempty"` // 根据associate_instance_id过滤 AssociateInstanceId *[]string `json:"associate_instance_id,omitempty"` // 根据enterprise_project_id过滤 EnterpriseProjectId *[]string `json:"enterprise_project_id,omitempty"` // 根据public_border_group过滤 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 (c ListPublicipsRequestAssociateInstanceType) MarshalJSON() ([]byte, error)
func (*ListPublicipsRequestAssociateInstanceType) UnmarshalJSON ¶
func (c *ListPublicipsRequestAssociateInstanceType) UnmarshalJSON(b []byte) error
func (ListPublicipsRequestAssociateInstanceType) Value ¶ added in v0.0.90
func (c ListPublicipsRequestAssociateInstanceType) Value() string
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
func (ListPublicipsRequestBandwidthChargeMode) Value ¶ added in v0.0.90
func (c ListPublicipsRequestBandwidthChargeMode) Value() string
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
func (ListPublicipsRequestBandwidthShareType) Value ¶ added in v0.0.90
func (c ListPublicipsRequestBandwidthShareType) Value() string
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
func (ListPublicipsRequestBillingMode) Value ¶ added in v0.0.90
func (c ListPublicipsRequestBillingMode) Value() string
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
func (ListPublicipsRequestIpVersion) Value ¶ added in v0.0.90
func (c ListPublicipsRequestIpVersion) Value() int32
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
func (ListPublicipsRequestNetworkType) Value ¶ added in v0.0.90
func (c ListPublicipsRequestNetworkType) Value() string
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
func (ListPublicipsRequestSortDir) Value ¶ added in v0.0.90
func (c ListPublicipsRequestSortDir) Value() string
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
func (ListPublicipsRequestSortKey) Value ¶ added in v0.0.90
func (c ListPublicipsRequestSortKey) Value() string
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
func (ListPublicipsRequestStatus) Value ¶ added in v0.0.90
func (c ListPublicipsRequestStatus) Value() string
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
func (ListPublicipsRequestType) Value ¶ added in v0.0.90
func (c ListPublicipsRequestType) Value() string
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 *[]PublicipSingleShowResp `json:"publicips,omitempty"` PageInfo *PageInfoOption `json:"page_info,omitempty"` // 公网IP总条目数 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 { 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"` }Fields *
Request Object
func (ListShareBandwidthTypesRequest) String ¶ added in v0.0.66
func (o ListShareBandwidthTypesRequest) String() string
type ListShareBandwidthTypesResponse ¶ added in v0.0.66
type ListShareBandwidthTypesResponse struct { ShareBandwidthTypeShowResp `json:"share_bandwidth_types,omitempty"` RequestId *string `json:"request_id,omitempty"` }ShareBandwidthTypes *[]
Response Object
func (ListShareBandwidthTypesResponse) String ¶ added in v0.0.66
func (o ListShareBandwidthTypesResponse) 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
func (ProfileInfoCreateSource) Value ¶ added in v0.0.90
func (c ProfileInfoCreateSource) Value() string
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
func (ProfileInfoFreezedStatus) Value ¶ added in v0.0.90
func (c ProfileInfoFreezedStatus) Value() string
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
func (ProfileInfoNotifyStatus) Value ¶ added in v0.0.90
func (c ProfileInfoNotifyStatus) Value() string
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 PublicipInstanceResp ¶ added in v0.0.66
type PublicipInstanceResp 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 *PublicipInstanceRespIpVersion `json:"ip_version,omitempty"` // 功能说明:弹性公网IP或者IPv6端口的地址 PublicIpAddress *string `json:"public_ip_address,omitempty"` // 功能说明:IPv4时无此字段,IPv6时为申请到的弹性公网IP地址 PublicIpv6Address *string `json:"public_ipv6_address,omitempty"` // 功能说明:弹性公网IP的状态 取值范围:冻结FREEZED,绑定失败BIND_ERROR,绑定中BINDING,释放中PENDING_DELETE, 创建中PENDING_CREATE,创建中NOTIFYING,释放中NOTIFY_DELETE,更新中PENDING_UPDATE, 未绑定DOWN ,绑定ACTIVE,绑定ELB,绑定VPN,失败ERROR。 Status *PublicipInstanceRespStatus `json:"status,omitempty"` // 功能说明:弹性公网IP描述信息 约束:用户以自定义方式标识资源,系统不感知 Description *string `json:"description,omitempty"` // 功能说明:表示中心站点资源或者边缘站点资源 取值范围: center、边缘站点名称 约束:publicip只能绑定该字段相同的资源 PublicBorderGroup *string `json:"public_border_group,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 *PublicipInstanceRespType `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 *PublicipInstanceRespAssociateInstanceType `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"` }
公网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 (c PublicipInstanceRespAssociateInstanceType) MarshalJSON() ([]byte, error)
func (*PublicipInstanceRespAssociateInstanceType) UnmarshalJSON ¶ added in v0.0.66
func (c *PublicipInstanceRespAssociateInstanceType) UnmarshalJSON(b []byte) error
func (PublicipInstanceRespAssociateInstanceType) Value ¶ added in v0.0.90
func (c PublicipInstanceRespAssociateInstanceType) Value() string
type PublicipInstanceRespAssociateInstanceTypeEnum ¶ added in v0.0.66
type PublicipInstanceRespAssociateInstanceTypeEnum struct { PORT PublicipInstanceRespAssociateInstanceType NATGW PublicipInstanceRespAssociateInstanceType ELB PublicipInstanceRespAssociateInstanceType ELBV1 PublicipInstanceRespAssociateInstanceType VPN PublicipInstanceRespAssociateInstanceType NULL PublicipInstanceRespAssociateInstanceType }
func GetPublicipInstanceRespAssociateInstanceTypeEnum ¶ added in v0.0.66
func GetPublicipInstanceRespAssociateInstanceTypeEnum() PublicipInstanceRespAssociateInstanceTypeEnum
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
func (PublicipInstanceRespIpVersion) Value ¶ added in v0.0.90
func (c PublicipInstanceRespIpVersion) Value() int32
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
func (PublicipInstanceRespStatus) Value ¶ added in v0.0.90
func (c PublicipInstanceRespStatus) Value() string
type PublicipInstanceRespStatusEnum ¶ added in v0.0.66
type PublicipInstanceRespStatusEnum struct { FREEZED PublicipInstanceRespStatus BIND_ERROR PublicipInstanceRespStatus BINDING PublicipInstanceRespStatus PENDING_DELETE PublicipInstanceRespStatus PENDING_CREATE PublicipInstanceRespStatus NOTIFYING PublicipInstanceRespStatus NOTIFY_DELETE PublicipInstanceRespStatus PENDING_UPDATE PublicipInstanceRespStatus DOWN PublicipInstanceRespStatus ACTIVE PublicipInstanceRespStatus ELB PublicipInstanceRespStatus ERROR PublicipInstanceRespStatus VPN PublicipInstanceRespStatus }
func GetPublicipInstanceRespStatusEnum ¶ added in v0.0.66
func GetPublicipInstanceRespStatusEnum() PublicipInstanceRespStatusEnum
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
func (PublicipInstanceRespType) Value ¶ added in v0.0.90
func (c PublicipInstanceRespType) Value() string
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 { // 公网IP池id Id *string `json:"id,omitempty"` // 公网IP池名字 Name *string `json:"name,omitempty"` // 状态 Status *string `json:"status,omitempty"` // 取值, spec_bgp(专属离散动态), spec_sbgp(专属离散静态) Type *PublicipPoolShowRespType `json:"type,omitempty"` // 描述 Description *string `json:"description,omitempty"` // 租户id ProjectId *string `json:"project_id,omitempty"` // 池子大小 Size *int32 `json:"size,omitempty"` // 已经使用的ip数量 Used *int32 `json:"used,omitempty"` // 公网IP池创建时间 CreatedAt *string `json:"created_at,omitempty"` // 公网IP池更新时间 UpdatedAt *string `json:"updated_at,omitempty"` BillingInfo *BillingInfoDict `json:"billing_info,omitempty"` // 功能说明:中心还是边缘。公网IP池取值为center PublicBorderGroup *string `json:"public_border_group,omitempty"` Shared *bool `json:"shared,omitempty"` // 功能说明:是否公共池 IsCommon *bool `json:"is_common,omitempty"` // 默认不显示。用户标签 Tags *[]TagsInfo `json:"tags,omitempty"` // 功能说明:企业项目ID。最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。创建弹性公网IP时,给弹性公网IP绑定企业项目ID。 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
func (PublicipPoolShowRespType) Value ¶ added in v0.0.90
func (c PublicipPoolShowRespType) Value() string
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 { // 功能说明:弹性公网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 *PublicipSingleShowRespIpVersion `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 *PublicipSingleShowRespStatus `json:"status,omitempty"` // 功能说明:弹性公网IP描述信息 约束:用户以自定义方式标识资源,系统不感知 Description *string `json:"description,omitempty"` // 功能说明:表示中心站点资源或者边缘站点资源 取值范围: center、边缘站点名称 约束:publicip只能绑定该字段相同的资源 PublicBorderGroup *string `json:"public_border_group,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 *PublicipSingleShowRespType `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 *PublicipSingleShowRespAssociateInstanceType `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"` // 默认不显示。开启支持直通模式后展示,表示直通模式的标识。 AssociateMode *string `json:"associate_mode,omitempty"` AllowShareBandwidthTypes *[]string `json:"allow_share_bandwidth_types,omitempty"` // 默认不显示。表示该eip是否支持与实例同步删除。 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 (c PublicipSingleShowRespAssociateInstanceType) MarshalJSON() ([]byte, error)
func (*PublicipSingleShowRespAssociateInstanceType) UnmarshalJSON ¶ added in v0.0.66
func (c *PublicipSingleShowRespAssociateInstanceType) UnmarshalJSON(b []byte) error
func (PublicipSingleShowRespAssociateInstanceType) Value ¶ added in v0.0.90
func (c PublicipSingleShowRespAssociateInstanceType) Value() string
type PublicipSingleShowRespAssociateInstanceTypeEnum ¶ added in v0.0.66
type PublicipSingleShowRespAssociateInstanceTypeEnum struct { PORT PublicipSingleShowRespAssociateInstanceType NATGW PublicipSingleShowRespAssociateInstanceType ELB PublicipSingleShowRespAssociateInstanceType ELBV1 PublicipSingleShowRespAssociateInstanceType VPN PublicipSingleShowRespAssociateInstanceType NULL PublicipSingleShowRespAssociateInstanceType }
func GetPublicipSingleShowRespAssociateInstanceTypeEnum ¶ added in v0.0.66
func GetPublicipSingleShowRespAssociateInstanceTypeEnum() PublicipSingleShowRespAssociateInstanceTypeEnum
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
func (PublicipSingleShowRespIpVersion) Value ¶ added in v0.0.90
func (c PublicipSingleShowRespIpVersion) Value() int32
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
func (PublicipSingleShowRespStatus) Value ¶ added in v0.0.90
func (c PublicipSingleShowRespStatus) Value() string
type PublicipSingleShowRespStatusEnum ¶ added in v0.0.66
type PublicipSingleShowRespStatusEnum struct { FREEZED PublicipSingleShowRespStatus BIND_ERROR PublicipSingleShowRespStatus BINDING PublicipSingleShowRespStatus PENDING_DELETE PublicipSingleShowRespStatus PENDING_CREATE PublicipSingleShowRespStatus NOTIFYING PublicipSingleShowRespStatus NOTIFY_DELETE PublicipSingleShowRespStatus PENDING_UPDATE PublicipSingleShowRespStatus DOWN PublicipSingleShowRespStatus ACTIVE PublicipSingleShowRespStatus ELB PublicipSingleShowRespStatus ERROR PublicipSingleShowRespStatus VPN PublicipSingleShowRespStatus }
func GetPublicipSingleShowRespStatusEnum ¶ added in v0.0.66
func GetPublicipSingleShowRespStatusEnum() PublicipSingleShowRespStatusEnum
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
func (PublicipSingleShowRespType) Value ¶ added in v0.0.90
func (c PublicipSingleShowRespType) Value() string
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 { 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"` }Id *
带宽支持类型对象
func (ShareBandwidthTypeShowResp) String ¶ added in v0.0.66
func (o ShareBandwidthTypeShowResp) String() string
type ShowPublicipPoolRequest ¶ added in v0.0.66
type ShowPublicipPoolRequest struct { // 公网IP池ID唯一标识 PublicipPoolId string `json:"publicip_pool_id"` // 显示,形式为\"fields=id&fields=name&...\" 支持字段:id/name/size/used/project_id/status/billing_info/created_at/updated_at/type/shared/is_common/description/tags/enterprise_project_id/allow_share_bandwidth_types/public_border_group 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 { // 弹性公网IP的ID PublicipId string `json:"publicip_id"` // 显示,形式为\"fields=id&fields=owner&...\" 支持字段:id/project_id/ip_version/type/public_ip_address/public_ipv6_address/network_type/status/description/created_at/updated_at/vnic/bandwidth/associate_instance_type/associate_instance_id/lock_status/billing_info/tags/enterprise_project_id/publicip_pool_name/allow_share_bandwidth_types/alias/publicip_pool_id/public_border_group 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值不能重复。 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_billing_info_dict.go
- model_common_pool_dict.go
- model_common_pools_with_border_group_dict.go
- model_disassociate_publicips_option.go
- model_disassociate_publicips_request.go
- model_disassociate_publicips_request_body.go
- model_disassociate_publicips_response.go
- model_list_common_pools_request.go
- model_list_common_pools_response.go
- model_list_public_border_groups_request.go
- model_list_public_border_groups_response.go
- model_list_publicip_pool_request.go
- model_list_publicip_pool_response.go
- model_list_publicips_request.go
- model_list_publicips_response.go
- model_list_share_bandwidth_types_request.go
- model_list_share_bandwidth_types_response.go
- model_page_info_option.go
- model_profile_info.go
- model_publicip_bandwidth_info.go
- model_publicip_instance_resp.go
- model_publicip_pool_show_resp.go
- model_publicip_single_show_resp.go
- model_share_bandwidth_type_show_resp.go
- model_show_publicip_pool_request.go
- model_show_publicip_pool_response.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.