Documentation ¶
Index ¶
- type AssociatePublicipsOption
- type AssociatePublicipsOptionAssociateInstanceType
- type AssociatePublicipsOptionAssociateInstanceTypeEnum
- type AssociatePublicipsRequest
- type AssociatePublicipsRequestBody
- type AssociatePublicipsResponse
- type AttachBatchPublicIpRequest
- type AttachBatchPublicIpResponse
- type AttachShareBandwidthRequest
- type AttachShareBandwidthResponse
- type AttachSharebwDict
- type AttachSharebwReq
- type BandWidthRules
- type BandwidthInfoResp
- type BandwidthInfoRespBandwidthType
- type BandwidthInfoRespBandwidthTypeEnum
- type BandwidthResp
- type BandwidthResponseBody
- type BandwidthResponseBodyType
- type BandwidthResponseBodyTypeEnum
- type BatchAttachSharebwDict
- type BatchAttachSharebwReq
- type BatchPublicipResp
- type BillingInfoDict
- type CommonPoolDict
- type CommonPoolsWithBorderGroupDict
- type CountEipAvailableResourcesRequest
- type CountEipAvailableResourcesResponse
- type DetachBatchPublicIpRequest
- type DetachBatchPublicIpResponse
- type DetachBatchSharedbwReq
- type DetachBatchSharedbwReqPublicips
- type DetachShareBandwidthRequest
- type DetachShareBandwidthResponse
- type DetachSharedbwDict
- type DetachSharedbwReq
- type DetachSharedbwReqPublicip
- type DisableNat64Request
- type DisableNat64Response
- type DisassociatePublicipsRequest
- type DisassociatePublicipsResponse
- type EipBandwidthResponseBody
- type EipBandwidthResponseBodyType
- type EipBandwidthResponseBodyTypeEnum
- type EipResourcesAvailableV3RequestBody
- type EnableNat64Request
- type EnableNat64Response
- type ExtLimitPojo
- type ListBandwidthRequest
- type ListBandwidthResponse
- type ListBandwidthsLimitRequest
- type ListBandwidthsLimitRequestFields
- type ListBandwidthsLimitRequestFieldsEnum
- type ListBandwidthsLimitResponse
- type ListCommonPoolsRequest
- type ListCommonPoolsResponse
- type ListEipBandwidthsRequest
- type ListEipBandwidthsResponse
- 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 PageInfoDict
- type PageInfoOption
- type ProfileInfo
- type ProfileInfoCreateSource
- type ProfileInfoCreateSourceEnum
- type ProfileInfoFreezedStatus
- type ProfileInfoFreezedStatusEnum
- type ProfileInfoNotifyStatus
- type ProfileInfoNotifyStatusEnum
- type PublicipBandwidthInfo
- type PublicipInfoResponseBody
- type PublicipInfoResponseBodyIpVersion
- type PublicipInfoResponseBodyIpVersionEnum
- 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 PublicipResp
- type PublicipRespAssociateInstanceType
- type PublicipRespAssociateInstanceTypeEnum
- type PublicipRespIpVersion
- type PublicipRespIpVersionEnum
- type PublicipRespStatus
- type PublicipRespStatusEnum
- type PublicipRespType
- type PublicipRespTypeEnum
- type PublicipSingleShowResp
- type PublicipSingleShowRespAssociateInstanceType
- type PublicipSingleShowRespAssociateInstanceTypeEnum
- type PublicipSingleShowRespIpVersion
- type PublicipSingleShowRespIpVersionEnum
- type PublicipSingleShowRespStatus
- type PublicipSingleShowRespStatusEnum
- type PublicipSingleShowRespType
- type PublicipSingleShowRespTypeEnum
- type PublicipUpdateResp
- type PublicipUpdateRespAssociateInstanceType
- type PublicipUpdateRespAssociateInstanceTypeEnum
- type PublicipUpdateRespIpVersion
- type PublicipUpdateRespIpVersionEnum
- type PublicipUpdateRespStatus
- type PublicipUpdateRespStatusEnum
- type PublicipUpdateRespType
- type PublicipUpdateRespTypeEnum
- type ShareBandwidthTypeShowResp
- type ShowPublicipPoolRequest
- type ShowPublicipPoolResponse
- type ShowPublicipRequest
- type ShowPublicipResponse
- type ShowTenantDict
- type ShowTenantDictChargeMode
- type ShowTenantDictChargeModeEnum
- type TagsInfo
- type UpdatePublicipOption
- type UpdatePublicipOptionAssociateInstanceType
- type UpdatePublicipOptionAssociateInstanceTypeEnum
- type UpdatePublicipRequest
- type UpdatePublicipResponse
- type UpdatePublicipsRequestBody
- type VnicInfo
- type VnicResp
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 约束:associate_instance_type和associate_instance_id都不为空时表示绑定实例 约束:associate_instance_type字段不允许为空 约束:双栈公网IP不允许修改绑定的实例 AssociateInstanceType AssociatePublicipsOptionAssociateInstanceType `json:"associate_instance_type"` // 功能说明:端口所属实例ID,例如RDS实例ID 约束:associate_instance_type和associate_instance_id都不为空时表示绑定实例; 约束:associate_instance_id不允许为空 约束:双栈公网IP不允许修改绑定的实例 AssociateInstanceId string `json:"associate_instance_id"` }
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 VPN AssociatePublicipsOptionAssociateInstanceType ELB AssociatePublicipsOptionAssociateInstanceType }
func GetAssociatePublicipsOptionAssociateInstanceTypeEnum ¶
func GetAssociatePublicipsOptionAssociateInstanceTypeEnum() AssociatePublicipsOptionAssociateInstanceTypeEnum
type AssociatePublicipsRequest ¶
type AssociatePublicipsRequest struct { // 弹性公网IP的ID PublicipId string `json:"publicip_id"` Body *AssociatePublicipsRequestBody `json:"body,omitempty"` }
AssociatePublicipsRequest Request Object
func (AssociatePublicipsRequest) String ¶
func (o AssociatePublicipsRequest) String() string
type AssociatePublicipsRequestBody ¶
type AssociatePublicipsRequestBody struct {
Publicip *AssociatePublicipsOption `json:"publicip"`
}
AssociatePublicipsRequestBody 绑定弹性公网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:"-"` }
AssociatePublicipsResponse Response Object
func (AssociatePublicipsResponse) String ¶
func (o AssociatePublicipsResponse) String() string
type AttachBatchPublicIpRequest ¶ added in v0.1.49
type AttachBatchPublicIpRequest struct {
Body *BatchAttachSharebwReq `json:"body,omitempty"`
}
AttachBatchPublicIpRequest Request Object
func (AttachBatchPublicIpRequest) String ¶ added in v0.1.49
func (o AttachBatchPublicIpRequest) String() string
type AttachBatchPublicIpResponse ¶ added in v0.1.49
type AttachBatchPublicIpResponse struct { // 弹性公网IP对象 Publicips *[]BatchPublicipResp `json:"publicips,omitempty"` // 本次请求编号 RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
AttachBatchPublicIpResponse Response Object
func (AttachBatchPublicIpResponse) String ¶ added in v0.1.49
func (o AttachBatchPublicIpResponse) String() string
type AttachShareBandwidthRequest ¶ added in v0.1.49
type AttachShareBandwidthRequest struct { string `json:"publicip_id"` }PublicipId
AttachShareBandwidthRequest Request Object
func (AttachShareBandwidthRequest) String ¶ added in v0.1.49
func (o AttachShareBandwidthRequest) String() string
type AttachShareBandwidthResponse ¶ added in v0.1.49
type AttachShareBandwidthResponse struct { // 本次请求编号 }
AttachShareBandwidthResponse Response Object
func (AttachShareBandwidthResponse) String ¶ added in v0.1.49
func (o AttachShareBandwidthResponse) String() string
type AttachSharebwDict ¶ added in v0.1.49
type AttachSharebwDict struct { string `json:"bandwidth_id,omitempty"` }BandwidthId *
AttachSharebwDict 共享带宽加入弹性公网IP参数
func (AttachSharebwDict) String ¶ added in v0.1.49
func (o AttachSharebwDict) String() string
type AttachSharebwReq ¶ added in v0.1.49
type AttachSharebwReq struct {
}AttachSharebwReq 共享带宽加入弹性公网IP请求参数
func (AttachSharebwReq) String ¶ added in v0.1.49
func (o AttachSharebwReq) String() string
type BandWidthRules ¶ added in v0.1.49
type BandWidthRules struct { // - 功能说明:带宽规则ID Id *string `json:"id,omitempty"` // - 功能说明:带宽规则名称 Name *string `json:"name,omitempty"` // - 功能说明:配置状态,为False时配置不生效。 AdminStateUp *bool `json:"admin_state_up,omitempty"` // - 功能说明:出网带宽最大值,单位Mbps - 取值范围[0,n],其中n为所属带宽的带宽大小(size字段)。0表示设置为最大带宽 EgressSize *int32 `json:"egress_size,omitempty"` // - 功能说明:出网保障带宽大小,单位Mbps - 取值范围[0,x],其中x为所属带宽剩余的保障额 EgressGuarentedSize *int32 `json:"egress_guarented_size,omitempty"` // - 功能说明:带宽对应的弹性公网IP信息 - 约束:WHOLE类型的带宽支持多个弹性公网IP,PER类型的带宽只能对应一个弹性公网IP PublicipInfo *[]PublicipInfoResponseBody `json:"publicip_info,omitempty"` }
BandWidthRules 带宽规则对象
func (BandWidthRules) String ¶ added in v0.1.49
func (o BandWidthRules) 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"` }
BandwidthInfoResp 弹性公网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 BandwidthResp ¶ added in v0.1.49
type BandwidthResp struct { // - 功能说明:带宽ID 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"` }
BandwidthResp 弹性公网IP中的bandwidth对象,存储公网IP绑定的带宽信息
func (BandwidthResp) String ¶ added in v0.1.49
func (o BandwidthResp) String() string
type BandwidthResponseBody ¶ added in v0.1.49
type BandwidthResponseBody struct { // - 功能说明:带宽状态 - 取值范围:normal,freezed AdminState *string `json:"admin_state,omitempty"` // - 功能说明:入网大小,单位Mbit/s IngressSize *int32 `json:"ingress_size,omitempty"` // - 功能说明:规则数值,最低阈值可调节 RuleQuota *int32 `json:"rule_quota,omitempty"` // - 功能说明:增强型95带宽保底率,最低保底率为20 Ratio95peakPlus *int32 `json:"ratio_95peak_plus,omitempty"` // - 功能说明:带宽分组使能,表明开启带宽分组限速功能。 EnableBandwidthRules *bool `json:"enable_bandwidth_rules,omitempty"` // - 功能说明:带宽规则对象(该字段仅在上海1局点返回) BandwidthRules *[]BandWidthRules `json:"bandwidth_rules,omitempty"` // - 功能说明:带宽AZ属性,表征中心和边缘。中心带宽默认为center PublicBorderGroup *string `json:"public_border_group,omitempty"` // - 功能说明:带宽类型,共享带宽默认为share。 - 取值范围:share,bgp,telcom,sbgp等。 share:共享带宽; bgp:动态bgp; telcom :联通; sbgp:静态bgp。 BandwidthType *string `json:"bandwidth_type,omitempty"` // - 功能说明:账单信息, Billinginfo *string `json:"billinginfo,omitempty"` // - 功能说明:带宽唯一标识 Id *string `json:"id,omitempty"` // - 功能说明:带宽名称 - 取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点) Name *string `json:"name,omitempty"` // - 功能说明:带宽对应的弹性公网IP信息 - 约束:WHOLE类型的带宽支持多个弹性公网IP,PER类型的带宽只能对应一个弹性公网IP PublicipInfo *[]PublicipInfoResponseBody `json:"publicip_info,omitempty"` // - 功能说明:带宽类型,标识是否是共享带宽 - 取值范围:WHOLE,PER。 WHOLE表示共享带宽;PER表示独享带宽 Type *BandwidthResponseBodyType `json:"type,omitempty"` // - 功能说明:带宽大小 - 取值范围:默认5Mbit/s~2000Mbit/s(具体范围以各区域配置为准,请参见控制台对应页面显示)。 Size *int32 `json:"size,omitempty"` // - 功能说明:用户所属项目ID ProjectId *string `json:"project_id,omitempty"` // - 功能说明:\"公网EIP标签\" Tags *[]string `json:"tags,omitempty"` // - 功能说明:资源创建时间,采用UTC时间,格式:YYYY-MM-DDTHH:MM:SS CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"` // - 功能说明:资源更新时间,采用UTC时间,格式:YYYY-MM-DDTHH:MM:SS UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"` }
BandwidthResponseBody 带宽对象
func (BandwidthResponseBody) String ¶ added in v0.1.49
func (o BandwidthResponseBody) String() string
type BandwidthResponseBodyType ¶ added in v0.1.49
type BandwidthResponseBodyType struct {
// contains filtered or unexported fields
}
func (BandwidthResponseBodyType) MarshalJSON ¶ added in v0.1.49
func (c BandwidthResponseBodyType) MarshalJSON() ([]byte, error)
func (*BandwidthResponseBodyType) UnmarshalJSON ¶ added in v0.1.49
func (c *BandwidthResponseBodyType) UnmarshalJSON(b []byte) error
func (BandwidthResponseBodyType) Value ¶ added in v0.1.49
func (c BandwidthResponseBodyType) Value() string
type BandwidthResponseBodyTypeEnum ¶ added in v0.1.49
type BandwidthResponseBodyTypeEnum struct { WHOLE BandwidthResponseBodyType PER BandwidthResponseBodyType }
func GetBandwidthResponseBodyTypeEnum ¶ added in v0.1.49
func GetBandwidthResponseBodyTypeEnum() BandwidthResponseBodyTypeEnum
type BatchAttachSharebwDict ¶ added in v0.1.49
type BatchAttachSharebwDict struct { string `json:"bandwidth_id,omitempty"` PublicipId *string `json:"publicip_id,omitempty"` }BandwidthId *
BatchAttachSharebwDict 共享带宽批量加入弹性公网IP参数
func (BatchAttachSharebwDict) String ¶ added in v0.1.49
func (o BatchAttachSharebwDict) String() string
type BatchAttachSharebwReq ¶ added in v0.1.49
type BatchAttachSharebwReq struct { BatchAttachSharebwDict `json:"publicips,omitempty"` }Publicips *[]
BatchAttachSharebwReq 共享带宽批量加入弹性公网IP请求参数
func (BatchAttachSharebwReq) String ¶ added in v0.1.49
func (o BatchAttachSharebwReq) String() string
type BatchPublicipResp ¶ added in v0.1.49
type BatchPublicipResp struct { // 响应码 StatusCode int32 `json:"statusCode"` Publicip *PublicipResp `json:"publicip"` }
func (BatchPublicipResp) String ¶ added in v0.1.49
func (o BatchPublicipResp) String() string
type BillingInfoDict ¶ added in v0.0.66
type BillingInfoDict struct { // 订单信息 OrderId *string `json:"order_id,omitempty"` // 产品id ProductId *string `json:"product_id,omitempty"` }
BillingInfoDict 订单信息, 有订单表示包周期
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"` }
CommonPoolDict 公共池详情
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"` }
CommonPoolsWithBorderGroupDict 分组详情
func (CommonPoolsWithBorderGroupDict) String ¶ added in v0.0.66
func (o CommonPoolsWithBorderGroupDict) String() string
type CountEipAvailableResourcesRequest ¶ added in v0.1.15
type CountEipAvailableResourcesRequest struct {
Body *EipResourcesAvailableV3RequestBody `json:"body,omitempty"`
}
CountEipAvailableResourcesRequest Request Object
func (CountEipAvailableResourcesRequest) String ¶ added in v0.1.15
func (o CountEipAvailableResourcesRequest) String() string
type CountEipAvailableResourcesResponse ¶ added in v0.1.15
type CountEipAvailableResourcesResponse struct { // - 功能说明:返回结果 Result *int32 `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
CountEipAvailableResourcesResponse Response Object
func (CountEipAvailableResourcesResponse) String ¶ added in v0.1.15
func (o CountEipAvailableResourcesResponse) String() string
type DetachBatchPublicIpRequest ¶ added in v0.1.49
type DetachBatchPublicIpRequest struct {
Body *DetachBatchSharedbwReq `json:"body,omitempty"`
}
DetachBatchPublicIpRequest Request Object
func (DetachBatchPublicIpRequest) String ¶ added in v0.1.49
func (o DetachBatchPublicIpRequest) String() string
type DetachBatchPublicIpResponse ¶ added in v0.1.49
type DetachBatchPublicIpResponse struct { // 弹性公网IP对象 Publicips *[]BatchPublicipResp `json:"publicips,omitempty"` // 本次请求编号 RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
DetachBatchPublicIpResponse Response Object
func (DetachBatchPublicIpResponse) String ¶ added in v0.1.49
func (o DetachBatchPublicIpResponse) String() string
type DetachBatchSharedbwReq ¶ added in v0.1.49
type DetachBatchSharedbwReq struct { DetachBatchSharedbwReqPublicips `json:"publicips,omitempty"` }Publicips *[]
DetachBatchSharedbwReq 共享带宽批量移出弹性公网IP请求参数
func (DetachBatchSharedbwReq) String ¶ added in v0.1.49
func (o DetachBatchSharedbwReq) String() string
type DetachBatchSharedbwReqPublicips ¶ added in v0.1.49
type DetachBatchSharedbwReqPublicips struct { string `json:"publicip_id"` }PublicipId
func (DetachBatchSharedbwReqPublicips) String ¶ added in v0.1.49
func (o DetachBatchSharedbwReqPublicips) String() string
type DetachShareBandwidthRequest ¶ added in v0.1.49
type DetachShareBandwidthRequest struct { string `json:"publicip_id"` }PublicipId
DetachShareBandwidthRequest Request Object
func (DetachShareBandwidthRequest) String ¶ added in v0.1.49
func (o DetachShareBandwidthRequest) String() string
type DetachShareBandwidthResponse ¶ added in v0.1.49
type DetachShareBandwidthResponse struct { // 本次请求编号 }
DetachShareBandwidthResponse Response Object
func (DetachShareBandwidthResponse) String ¶ added in v0.1.49
func (o DetachShareBandwidthResponse) String() string
type DetachSharedbwDict ¶ added in v0.1.49
type DetachSharedbwDict struct { string `json:"name,omitempty"` Size int32 `json:"size"` ChargeMode string `json:"charge_mode"` }Name *
DetachSharedbwDict 弹性公网IP移出共享带宽后带宽的参数
func (DetachSharedbwDict) String ¶ added in v0.1.49
func (o DetachSharedbwDict) String() string
type DetachSharedbwReq ¶ added in v0.1.49
type DetachSharedbwReq struct {
}DetachSharedbwReq 共享带宽移出弹性公网IP请求参数
func (DetachSharedbwReq) String ¶ added in v0.1.49
func (o DetachSharedbwReq) String() string
type DetachSharedbwReqPublicip ¶ added in v0.1.49
type DetachSharedbwReqPublicip struct {
}DetachSharedbwReqPublicip 共享带宽移出弹性公网IP请求对象
func (DetachSharedbwReqPublicip) String ¶ added in v0.1.49
func (o DetachSharedbwReqPublicip) String() string
type DisableNat64Request ¶ added in v0.1.49
type DisableNat64Request struct { // 弹性公网ID PublicipId string `json:"publicip_id"` }
DisableNat64Request Request Object
func (DisableNat64Request) String ¶ added in v0.1.49
func (o DisableNat64Request) String() string
type DisableNat64Response ¶ added in v0.1.49
type DisableNat64Response struct { Publicip *PublicipResp `json:"publicip,omitempty"` // 本次请求编号 RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
DisableNat64Response Response Object
func (DisableNat64Response) String ¶ added in v0.1.49
func (o DisableNat64Response) String() string
type DisassociatePublicipsRequest ¶
type DisassociatePublicipsRequest struct { // 弹性公网IP的ID PublicipId string `json:"publicip_id"` }
DisassociatePublicipsRequest Request Object
func (DisassociatePublicipsRequest) String ¶
func (o DisassociatePublicipsRequest) String() string
type DisassociatePublicipsResponse ¶
type DisassociatePublicipsResponse struct { // 本次请求的编号 RequestId *string `json:"request_id,omitempty"` Publicip *PublicipInstanceResp `json:"publicip,omitempty"` HttpStatusCode int `json:"-"` }
DisassociatePublicipsResponse Response Object
func (DisassociatePublicipsResponse) String ¶
func (o DisassociatePublicipsResponse) String() string
type EipBandwidthResponseBody ¶ added in v0.1.70
type EipBandwidthResponseBody struct { // - 功能说明:带宽状态 - 取值范围:normal,freezed AdminState *string `json:"admin_state,omitempty"` // - 功能说明:入网大小,单位Mbit/s IngressSize *int32 `json:"ingress_size,omitempty"` // - 功能说明:规则数值,最低阈值可调节 RuleQuota *int32 `json:"rule_quota,omitempty"` // - 功能说明:增强型95带宽保底率,最低保底率为20 Ratio95peakPlus *int32 `json:"ratio_95peak_plus,omitempty"` // - 功能说明:带宽分组使能,表明开启带宽分组限速功能。 EnableBandwidthRules *bool `json:"enable_bandwidth_rules,omitempty"` // - 功能说明:带宽规则对象(该字段仅在上海1局点返回) BandwidthRules *[]BandWidthRules `json:"bandwidth_rules,omitempty"` // - 功能说明:带宽AZ属性,表征中心和边缘。中心带宽默认为center PublicBorderGroup *string `json:"public_border_group,omitempty"` // - 功能说明:带宽类型,共享带宽默认为share。 - 取值范围:share,bgp,telcom,sbgp等。 share:共享带宽; bgp:动态bgp; telcom :联通; sbgp:静态bgp。 BandwidthType *string `json:"bandwidth_type,omitempty"` // - 功能说明:账单信息, Billinginfo *string `json:"billinginfo,omitempty"` // - 功能说明:带宽唯一标识 Id *string `json:"id,omitempty"` // - 功能说明:带宽名称 - 取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点) Name *string `json:"name,omitempty"` // - 功能说明:带宽对应的弹性公网IP信息 - 约束:WHOLE类型的带宽支持多个弹性公网IP,PER类型的带宽只能对应一个弹性公网IP PublicipInfo *[]PublicipInfoResponseBody `json:"publicip_info,omitempty"` // - 功能说明:带宽类型,标识是否是共享带宽 - 取值范围:WHOLE,PER。 WHOLE表示共享带宽;PER表示独享带宽 Type *EipBandwidthResponseBodyType `json:"type,omitempty"` // - 功能说明:带宽大小 - 取值范围:默认5Mbit/s~2000Mbit/s(具体范围以各区域配置为准,请参见控制台对应页面显示)。 Size *int32 `json:"size,omitempty"` // - 功能说明:用户所属项目ID TenantId *string `json:"tenant_id,omitempty"` // - 功能说明:\"公网EIP标签\" Tags *[]string `json:"tags,omitempty"` // - 功能说明:资源创建时间,采用UTC时间,格式:YYYY-MM-DDTHH:MM:SS CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"` // - 功能说明:资源更新时间,采用UTC时间,格式:YYYY-MM-DDTHH:MM:SS UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"` }
EipBandwidthResponseBody 带宽对象
func (EipBandwidthResponseBody) String ¶ added in v0.1.70
func (o EipBandwidthResponseBody) String() string
type EipBandwidthResponseBodyType ¶ added in v0.1.70
type EipBandwidthResponseBodyType struct {
// contains filtered or unexported fields
}
func (EipBandwidthResponseBodyType) MarshalJSON ¶ added in v0.1.70
func (c EipBandwidthResponseBodyType) MarshalJSON() ([]byte, error)
func (*EipBandwidthResponseBodyType) UnmarshalJSON ¶ added in v0.1.70
func (c *EipBandwidthResponseBodyType) UnmarshalJSON(b []byte) error
func (EipBandwidthResponseBodyType) Value ¶ added in v0.1.70
func (c EipBandwidthResponseBodyType) Value() string
type EipBandwidthResponseBodyTypeEnum ¶ added in v0.1.70
type EipBandwidthResponseBodyTypeEnum struct { WHOLE EipBandwidthResponseBodyType PER EipBandwidthResponseBodyType }
func GetEipBandwidthResponseBodyTypeEnum ¶ added in v0.1.70
func GetEipBandwidthResponseBodyTypeEnum() EipBandwidthResponseBodyTypeEnum
type EipResourcesAvailableV3RequestBody ¶ added in v0.1.15
type EipResourcesAvailableV3RequestBody struct { // 公共池类型 Type *string `json:"type,omitempty"` // 查询的公共池数量 Limit int32 `json:"limit"` }
EipResourcesAvailableV3RequestBody This is a auto create Body Object
func (EipResourcesAvailableV3RequestBody) String ¶ added in v0.1.15
func (o EipResourcesAvailableV3RequestBody) String() string
type EnableNat64Request ¶ added in v0.1.49
type EnableNat64Request struct { // 弹性公网ID PublicipId string `json:"publicip_id"` }
EnableNat64Request Request Object
func (EnableNat64Request) String ¶ added in v0.1.49
func (o EnableNat64Request) String() string
type EnableNat64Response ¶ added in v0.1.49
type EnableNat64Response struct { Publicip *PublicipResp `json:"publicip,omitempty"` // 本次请求编号 RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
EnableNat64Response Response Object
func (EnableNat64Response) String ¶ added in v0.1.49
func (o EnableNat64Response) String() string
type ExtLimitPojo ¶ added in v0.1.70
type ExtLimitPojo struct { // - 最小入云限速 MinIngressSize *int32 `json:"min_ingress_size,omitempty"` // - 最大入云限速 MaxIngressSize *int32 `json:"max_ingress_size,omitempty"` // 95计费保底率 Ratio95peak *int32 `json:"ratio_95peak,omitempty"` }
func (ExtLimitPojo) String ¶ added in v0.1.70
func (o ExtLimitPojo) String() string
type ListBandwidthRequest ¶ added in v0.1.49
type ListBandwidthRequest struct { // - 功能说明:每页返回的个数 - 取值范围:取值范围:1~[2000],其中2000为局点差异项,具体取值由局点决定 Limit *string `json:"limit,omitempty"` // - 功能说明:分页查询起始的资源ID,为空时为查询第一页 Marker *string `json:"marker,omitempty"` // - 功能说明:带宽唯一标识 Id *string `json:"id,omitempty"` // - 功能说明:带宽类型,共享带宽默认为share。 - 取值范围:share,bgp,telcom,sbgp等。 - share:共享带宽 - bgp:动态bgp - telcom :联通 - sbgp:静态bgp BandwidthType *string `json:"bandwidth_type,omitempty"` // - 功能说明:宽带名称,按照宽带名称过滤 Name *string `json:"name,omitempty"` // - 功能说明:根据宽带名称模糊查询过滤 NameLike *string `json:"name_like,omitempty"` // - 功能说明:根据入云大小过滤 IngressSize *string `json:"ingress_size,omitempty"` // - 功能说明:根据宽带状态过滤 AdminState *string `json:"admin_state,omitempty"` // - 功能说明:根据计费信息过滤 BillingInfo *string `json:"billing_info,omitempty"` // - 功能说明:根据标签过滤 Tags *string `json:"tags,omitempty"` // - 功能说明:根据是否带宽分组使能过滤 - 取值范围:true、false EnableBandwidthRules *string `json:"enable_bandwidth_rules,omitempty"` // - 功能说明:根据规则数值过滤 RuleQuota *int32 `json:"rule_quota,omitempty"` // - 功能说明:根据站点信息过滤 PublicBorderGroup *string `json:"public_border_group,omitempty"` // - 功能说明:按流量计费,按带宽计费还是按增强型95计费 - 取值范围:bandwidth(按带宽计费),traffic(按流量计费),95peak_plus(按增强型95计费),不返回或者为空时表示是bandwidth - 约束:只有共享带宽支持95peak_plus(按增强型95计费),按增强型95计费时需要指定保底百分比,默认是20% ChargeMode *string `json:"charge_mode,omitempty"` // - 功能说明:带宽大小。共享带宽的大小有最小值限制,默认为5M,可能因局点不同而不同。 - 取值范围:默认5Mbit/s~2000Mbit/s(具体范围以各区域配置为准,请参见控制台对应页面显示)。 调整带宽时的最小单位会根据带宽范围不同存在差异。 - 小于等于300Mbit/s:默认最小单位为1Mbit/s。 - 300Mbit/s~1000Mbit/s:默认最小单位为50Mbit/s。 - 大于1000Mbit/s:默认最小单位为500Mbit/s。 Size *string `json:"size,omitempty"` // - 功能说明:带宽类型,标识是否是共享带宽 - 取值范围:WHOLE,PER。 - WHOLE表示共享带宽 - PER表示独享带宽 Type *string `json:"type,omitempty"` }
ListBandwidthRequest Request Object
func (ListBandwidthRequest) String ¶ added in v0.1.49
func (o ListBandwidthRequest) String() string
type ListBandwidthResponse ¶ added in v0.1.49
type ListBandwidthResponse struct { // 带宽列表对象 EipBandwidths *[]BandwidthResponseBody `json:"eip_bandwidths,omitempty"` PageInfo *PageInfoOption `json:"page_info,omitempty"` // 本次请求的编号 RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
ListBandwidthResponse Response Object
func (ListBandwidthResponse) String ¶ added in v0.1.49
func (o ListBandwidthResponse) String() string
type ListBandwidthsLimitRequest ¶ added in v0.1.70
type ListBandwidthsLimitRequest struct { // 每页条数 Limit *int32 `json:"limit,omitempty"` // 分页起始点 Offset *int32 `json:"offset,omitempty"` // 分页起始点 Marker *string `json:"marker,omitempty"` // 翻页方向 PageReverse *bool `json:"page_reverse,omitempty"` // 只显示指定的字段。使用ext-fields时在默认显示的字段基础上追加字段 Fields *[]ListBandwidthsLimitRequestFields `json:"fields,omitempty"` // 根据charge_mode过滤 ChargeMode *string `json:"charge_mode,omitempty"` }
ListBandwidthsLimitRequest Request Object
func (ListBandwidthsLimitRequest) String ¶ added in v0.1.70
func (o ListBandwidthsLimitRequest) String() string
type ListBandwidthsLimitRequestFields ¶ added in v0.1.70
type ListBandwidthsLimitRequestFields struct {
// contains filtered or unexported fields
}
func (ListBandwidthsLimitRequestFields) MarshalJSON ¶ added in v0.1.70
func (c ListBandwidthsLimitRequestFields) MarshalJSON() ([]byte, error)
func (*ListBandwidthsLimitRequestFields) UnmarshalJSON ¶ added in v0.1.70
func (c *ListBandwidthsLimitRequestFields) UnmarshalJSON(b []byte) error
func (ListBandwidthsLimitRequestFields) Value ¶ added in v0.1.70
func (c ListBandwidthsLimitRequestFields) Value() string
type ListBandwidthsLimitRequestFieldsEnum ¶ added in v0.1.70
type ListBandwidthsLimitRequestFieldsEnum struct { ID ListBandwidthsLimitRequestFields CHARGE_MODE ListBandwidthsLimitRequestFields MIN_SIZE ListBandwidthsLimitRequestFields MAX_SIZE ListBandwidthsLimitRequestFields EXT_LIMIT ListBandwidthsLimitRequestFields }
func GetListBandwidthsLimitRequestFieldsEnum ¶ added in v0.1.70
func GetListBandwidthsLimitRequestFieldsEnum() ListBandwidthsLimitRequestFieldsEnum
type ListBandwidthsLimitResponse ¶ added in v0.1.70
type ListBandwidthsLimitResponse struct { // 带宽限制列表 EipBandwidthLimits *[]ShowTenantDict `json:"eip_bandwidth_limits,omitempty"` PageInfo *PageInfoDict `json:"page_info,omitempty"` // 本次请求编号 RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
ListBandwidthsLimitResponse Response Object
func (ListBandwidthsLimitResponse) String ¶ added in v0.1.70
func (o ListBandwidthsLimitResponse) 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"` // 每页返回的个数取值范围:0~[2000],其中2000为局点差异项,具体取值由局点决定 Limit *int32 `json:"limit,omitempty"` // 分页查询起始的资源序号 Offset *int32 `json:"offset,omitempty"` // 公共池名称 Name *string `json:"name,omitempty"` // 公共池位于中心还是边缘 PublicBorderGroup *string `json:"public_border_group,omitempty"` }
ListCommonPoolsRequest 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:"-"` }
ListCommonPoolsResponse Response Object
func (ListCommonPoolsResponse) String ¶ added in v0.0.66
func (o ListCommonPoolsResponse) String() string
type ListEipBandwidthsRequest ¶ added in v0.1.70
type ListEipBandwidthsRequest struct { // - 功能说明:每页返回的个数 - 取值范围:取值范围:1~[2000],其中2000为局点差异项,具体取值由局点决定 Limit *string `json:"limit,omitempty"` // - 功能说明:分页查询起始的资源ID,为空时为查询第一页 Marker *string `json:"marker,omitempty"` // - 功能说明:带宽唯一标识 Id *string `json:"id,omitempty"` // - 功能说明:带宽类型,共享带宽默认为share。 - 取值范围:share,bgp,telcom,sbgp等。 - share:共享带宽 - bgp:动态bgp - telcom :联通 - sbgp:静态bgp BandwidthType *string `json:"bandwidth_type,omitempty"` // - 功能说明:宽带名称,按照宽带名称过滤 Name *string `json:"name,omitempty"` // - 功能说明:根据宽带名称模糊查询过滤 NameLike *string `json:"name_like,omitempty"` // - 功能说明:根据tenant_id过滤 TenantId *string `json:"tenant_id,omitempty"` // - 功能说明:根据入云大小过滤 IngressSize *string `json:"ingress_size,omitempty"` // - 功能说明:根据宽带状态过滤 AdminState *string `json:"admin_state,omitempty"` // - 功能说明:根据计费信息过滤 BillingInfo *string `json:"billing_info,omitempty"` // - 功能说明:根据标签过滤 Tags *string `json:"tags,omitempty"` // - 功能说明:根据是否带宽分组使能过滤 - 取值范围:true、false EnableBandwidthRules *string `json:"enable_bandwidth_rules,omitempty"` // - 功能说明:根据规则数值过滤 RuleQuota *int32 `json:"rule_quota,omitempty"` // - 功能说明:根据站点信息过滤 PublicBorderGroup *string `json:"public_border_group,omitempty"` // - 功能说明:按流量计费,按带宽计费还是按增强型95计费 - 取值范围:bandwidth(按带宽计费),traffic(按流量计费),95peak_plus(按增强型95计费),不返回或者为空时表示是bandwidth - 约束:只有共享带宽支持95peak_plus(按增强型95计费),按增强型95计费时需要指定保底百分比,默认是20% ChargeMode *string `json:"charge_mode,omitempty"` // - 功能说明:带宽大小。共享带宽的大小有最小值限制,默认为5M,可能因局点不同而不同。 - 取值范围:默认5Mbit/s~2000Mbit/s(具体范围以各区域配置为准,请参见控制台对应页面显示)。 调整带宽时的最小单位会根据带宽范围不同存在差异。 - 小于等于300Mbit/s:默认最小单位为1Mbit/s。 - 300Mbit/s~1000Mbit/s:默认最小单位为50Mbit/s。 - 大于1000Mbit/s:默认最小单位为500Mbit/s。 Size *string `json:"size,omitempty"` // - 功能说明:带宽类型,标识是否是共享带宽 - 取值范围:WHOLE,PER。 - WHOLE表示共享带宽 - PER表示独享带宽 Type *string `json:"type,omitempty"` }
ListEipBandwidthsRequest Request Object
func (ListEipBandwidthsRequest) String ¶ added in v0.1.70
func (o ListEipBandwidthsRequest) String() string
type ListEipBandwidthsResponse ¶ added in v0.1.70
type ListEipBandwidthsResponse struct { // 带宽列表对象 EipBandwidths *[]EipBandwidthResponseBody `json:"eip_bandwidths,omitempty"` PageInfo *PageInfoDict `json:"page_info,omitempty"` // 本次请求的编号 RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
ListEipBandwidthsResponse Response Object
func (ListEipBandwidthsResponse) String ¶ added in v0.1.70
func (o ListEipBandwidthsResponse) 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"` }
ListPublicBorderGroupsRequest 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:"-"` }
ListPublicBorderGroupsResponse 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"` }
ListPublicipPoolRequest 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:"-"` }
ListPublicipPoolResponse 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"` }
ListPublicipsRequest 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:"-"` }
ListPublicipsResponse 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"` Marker *string `json:"marker,omitempty"` Offset *int32 `json:"offset,omitempty"` }Fields *
ListShareBandwidthTypesRequest 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 *[]
ListShareBandwidthTypesResponse Response Object
func (ListShareBandwidthTypesResponse) String ¶ added in v0.0.66
func (o ListShareBandwidthTypesResponse) String() string
type PageInfoDict ¶ added in v0.1.70
type PageInfoDict struct { // 翻页时,作为前一页的marker取值 PreviousMarker *string `json:"previous_marker,omitempty"` // 翻页时,作为后一页的marker取值 NextMarker *string `json:"next_marker,omitempty"` // 当前页的数据总数 CurrentCount *int32 `json:"current_count,omitempty"` }
PageInfoDict 分页页码信息
func (PageInfoDict) String ¶ added in v0.1.70
func (o PageInfoDict) 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"` }
PageInfoOption 分页页码信息
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"` }
ProfileInfo 公网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"` }
PublicipBandwidthInfo 公网IP绑定的带宽信息
func (PublicipBandwidthInfo) String ¶
func (o PublicipBandwidthInfo) String() string
type PublicipInfoResponseBody ¶ added in v0.1.49
type PublicipInfoResponseBody struct { // - 功能说明:弹性公网IPV4或IPv6的公网地址 PublicipAddress *string `json:"publicip_address,omitempty"` // - 功能说明:带宽对应的弹性公网IPV4或IPv6的唯一标识 PublicipId *string `json:"publicip_id,omitempty"` // - 功能说明:EIP的类型 - [取值范围:5_bgp](tag:hk_g42,g42,hk_sbc,sbc) - [取值范围:5_chinamobile](tag:cmcc) - [取值范围:5_bgp(Dynamic BGP)、5_mainbgp(Mail BGP)](tag:dt) - [取值范围: - eu-de: 5_bgp(Dynamic BGP)、5_mainbgp(Mail BGP)、5_gray(Dedicated Load Balancer) - eu-nl: 5_bgp(Dynamic BGP)、5_mainbgp(Mail BGP)](tag:dt_test) - [取值范围:5_bgp(全动态BGP),5_sbgp(静态BGP),5_youxuanbgp(优选BGP) - 华南-广州:5_bgp、5_sbgp - 华东-上海一:5_bgp、5_sbgp - 华东-上海二:5_bgp、5_sbgp - 华北-北京一:5_bgp、5_sbgp - 中国-香港:5_bgp、5_youxuanbgp - 亚太-曼谷:5_bgp - 亚太-新加坡:5_bgp - 非洲-约翰内斯堡:5_bgp - 西南-贵阳一:5_sbgp - 华北-北京四:5_bgp、5_sbgp - 拉美-圣地亚哥:5_bgp - 拉美-圣保罗一:5_bgp - 拉美-墨西哥城一:5_bgp - 拉美-布宜诺斯艾利一:5_bgp - 拉美-利马一:5_bgp - 拉美-圣地亚哥二: 5_bgp ](tag:hws,hws_hk) - 约束: - 必须是系统具体支持的类型。 - publicip_id为IPv4端口,所以[\"publicip_type\"](tag:cmcc,ctc,dt,dt_test,fcs,fcs_dt,fcs_vm,hws_hk,hws_ocb,ocb,tlf,tm,hk_g42,g42,hk_sbc,sbc)[\"type\"](tag:hws)字段未给定时,默认为[5_bgp](tag:ctc,dt,dt_test,fcs,fcs_dt,fcs_vm,g42,hk_g42,hk_sbc,hws,hws_hk,hws_ocb,mix,ocb,sbc,tlf,tm)[5_chinamobile](tag:cmcc)。 PublicipType *string `json:"publicip_type,omitempty"` // - 功能说明:IPv4时无此字段,IPv6时为申请到的弹性公网IP地址 Publicipv6Address *string `json:"publicipv6_address,omitempty"` // - 功能说明:IP版本信息 - 取值范围: 4:IPv4; 6:IPv6 IpVersion *PublicipInfoResponseBodyIpVersion `json:"ip_version,omitempty"` }
PublicipInfoResponseBody PublicipInfo对象
func (PublicipInfoResponseBody) String ¶ added in v0.1.49
func (o PublicipInfoResponseBody) String() string
type PublicipInfoResponseBodyIpVersion ¶ added in v0.1.49
type PublicipInfoResponseBodyIpVersion struct {
// contains filtered or unexported fields
}
func (PublicipInfoResponseBodyIpVersion) MarshalJSON ¶ added in v0.1.49
func (c PublicipInfoResponseBodyIpVersion) MarshalJSON() ([]byte, error)
func (*PublicipInfoResponseBodyIpVersion) UnmarshalJSON ¶ added in v0.1.49
func (c *PublicipInfoResponseBodyIpVersion) UnmarshalJSON(b []byte) error
func (PublicipInfoResponseBodyIpVersion) Value ¶ added in v0.1.49
func (c PublicipInfoResponseBodyIpVersion) Value() int32
type PublicipInfoResponseBodyIpVersionEnum ¶ added in v0.1.49
type PublicipInfoResponseBodyIpVersionEnum struct { E_4 PublicipInfoResponseBodyIpVersion E_6 PublicipInfoResponseBodyIpVersion }
func GetPublicipInfoResponseBodyIpVersionEnum ¶ added in v0.1.49
func GetPublicipInfoResponseBodyIpVersionEnum() PublicipInfoResponseBodyIpVersionEnum
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"` }
PublicipInstanceResp 公网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"` }
PublicipPoolShowResp 公网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 PublicipResp ¶ added in v0.1.49
type PublicipResp struct { // - 功能说明:弹性公网IP的唯一标识 Id *string `json:"id,omitempty"` // - 功能说明:项目ID ProjectId *string `json:"project_id,omitempty"` // - 功能说明: 弹性公网IP版本号 - 取值范围: 4、6 - 4表示公网IP地址为public_ip_address地址 - 6表示公网IP地址为public_ipv6_address地址 IpVersion *PublicipRespIpVersion `json:"ip_version,omitempty"` // - 功能说明: 弹性公网IPv4地址 PublicIpAddress *string `json:"public_ip_address,omitempty"` // - 功能说明: 弹性公网IPv6地址 PublicIpv6Address *string `json:"public_ipv6_address,omitempty"` // - 功能说明:弹性公网IP的状态 - 取值范围:FREEZED,DOWN,ACTIVE,ERROR。 - FREEZED表示弹性公网IP处于冻结状态 - DOWN表示弹性公网IP未绑定实例 - ACTIVE表示弹性公网IP绑定实例,正在使用中 - ERROR表示弹性公网IP状态异常 Status *PublicipRespStatus `json:"status,omitempty"` // - 功能说明:弹性公网IP的描述信息 - 约束:用户以自定义方式标识资源,系统不感知 Description *string `json:"description,omitempty"` // - 功能说明:弹性公网IP的创建时间 - 约束:UTC时间格式(2018-12-25T10:07:24Z) CreatedAt *string `json:"created_at,omitempty"` // - 功能说明:弹性公网IP最近的更新时间 - 约束:UTC时间格式(2018-12-25T10:09:20Z) UpdatedAt *string `json:"updated_at,omitempty"` // - 功能说明:弹性公网IP的类型 - 取值范围:EIP,DUALSTACK Type *PublicipRespType `json:"type,omitempty"` Vnic *VnicResp `json:"vnic,omitempty"` Bandwidth *BandwidthResp `json:"bandwidth,omitempty"` // - 功能说明:弹性公网IP的企业项目ID EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // - 功能说明:弹性公网IP的订单信息 - 约束:包周期才会有订单信息,按需资源此字段为空 BillingInfo *string `json:"billing_info,omitempty"` // - 功能说明:记录弹性公网IP当前的冻结状态 - 约束:metadata类型,标识欠费冻结、公安冻结 LockStatus *string `json:"lock_status,omitempty"` // - 功能说明:弹性公网IP绑定的实例类型 - 取值范围:PORT、NATGW、ELB、ELBV1、VPN AssociateInstanceType *PublicipRespAssociateInstanceType `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"` // - 功能说明:中心还是边缘。中心CENTER,边缘为各边缘az名称 PublicBorderGroup *string `json:"public_border_group,omitempty"` }
PublicipResp 弹性公网IP对象返回模板
func (PublicipResp) String ¶ added in v0.1.49
func (o PublicipResp) String() string
type PublicipRespAssociateInstanceType ¶ added in v0.1.49
type PublicipRespAssociateInstanceType struct {
// contains filtered or unexported fields
}
func (PublicipRespAssociateInstanceType) MarshalJSON ¶ added in v0.1.49
func (c PublicipRespAssociateInstanceType) MarshalJSON() ([]byte, error)
func (*PublicipRespAssociateInstanceType) UnmarshalJSON ¶ added in v0.1.49
func (c *PublicipRespAssociateInstanceType) UnmarshalJSON(b []byte) error
func (PublicipRespAssociateInstanceType) Value ¶ added in v0.1.49
func (c PublicipRespAssociateInstanceType) Value() string
type PublicipRespAssociateInstanceTypeEnum ¶ added in v0.1.49
type PublicipRespAssociateInstanceTypeEnum struct { PORT PublicipRespAssociateInstanceType NATGW PublicipRespAssociateInstanceType ELB PublicipRespAssociateInstanceType ELBV1 PublicipRespAssociateInstanceType VPN PublicipRespAssociateInstanceType }
func GetPublicipRespAssociateInstanceTypeEnum ¶ added in v0.1.49
func GetPublicipRespAssociateInstanceTypeEnum() PublicipRespAssociateInstanceTypeEnum
type PublicipRespIpVersion ¶ added in v0.1.49
type PublicipRespIpVersion struct {
// contains filtered or unexported fields
}
func (PublicipRespIpVersion) MarshalJSON ¶ added in v0.1.49
func (c PublicipRespIpVersion) MarshalJSON() ([]byte, error)
func (*PublicipRespIpVersion) UnmarshalJSON ¶ added in v0.1.49
func (c *PublicipRespIpVersion) UnmarshalJSON(b []byte) error
func (PublicipRespIpVersion) Value ¶ added in v0.1.49
func (c PublicipRespIpVersion) Value() int32
type PublicipRespIpVersionEnum ¶ added in v0.1.49
type PublicipRespIpVersionEnum struct { E_4 PublicipRespIpVersion E_6 PublicipRespIpVersion }
func GetPublicipRespIpVersionEnum ¶ added in v0.1.49
func GetPublicipRespIpVersionEnum() PublicipRespIpVersionEnum
type PublicipRespStatus ¶ added in v0.1.49
type PublicipRespStatus struct {
// contains filtered or unexported fields
}
func (PublicipRespStatus) MarshalJSON ¶ added in v0.1.49
func (c PublicipRespStatus) MarshalJSON() ([]byte, error)
func (*PublicipRespStatus) UnmarshalJSON ¶ added in v0.1.49
func (c *PublicipRespStatus) UnmarshalJSON(b []byte) error
func (PublicipRespStatus) Value ¶ added in v0.1.49
func (c PublicipRespStatus) Value() string
type PublicipRespStatusEnum ¶ added in v0.1.49
type PublicipRespStatusEnum struct { FREEZED PublicipRespStatus DOWN PublicipRespStatus ACTIVE PublicipRespStatus ERROR PublicipRespStatus }
func GetPublicipRespStatusEnum ¶ added in v0.1.49
func GetPublicipRespStatusEnum() PublicipRespStatusEnum
type PublicipRespType ¶ added in v0.1.49
type PublicipRespType struct {
// contains filtered or unexported fields
}
func (PublicipRespType) MarshalJSON ¶ added in v0.1.49
func (c PublicipRespType) MarshalJSON() ([]byte, error)
func (*PublicipRespType) UnmarshalJSON ¶ added in v0.1.49
func (c *PublicipRespType) UnmarshalJSON(b []byte) error
func (PublicipRespType) Value ¶ added in v0.1.49
func (c PublicipRespType) Value() string
type PublicipRespTypeEnum ¶ added in v0.1.49
type PublicipRespTypeEnum struct { EIP PublicipRespType DUALSTACK PublicipRespType }
func GetPublicipRespTypeEnum ¶ added in v0.1.49
func GetPublicipRespTypeEnum() PublicipRespTypeEnum
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 *[]string `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"` }
PublicipSingleShowResp 公网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 PublicipUpdateResp ¶ added in v0.1.70
type PublicipUpdateResp 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 *PublicipUpdateRespIpVersion `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 *PublicipUpdateRespStatus `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 *PublicipUpdateRespType `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 *PublicipUpdateRespAssociateInstanceType `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"` // 默认不显示。开启支持直通模式后展示,表示直通模式的标识。 AssociateMode *string `json:"associate_mode,omitempty"` }
PublicipUpdateResp 公网IP字段信息
func (PublicipUpdateResp) String ¶ added in v0.1.70
func (o PublicipUpdateResp) String() string
type PublicipUpdateRespAssociateInstanceType ¶ added in v0.1.70
type PublicipUpdateRespAssociateInstanceType struct {
// contains filtered or unexported fields
}
func (PublicipUpdateRespAssociateInstanceType) MarshalJSON ¶ added in v0.1.70
func (c PublicipUpdateRespAssociateInstanceType) MarshalJSON() ([]byte, error)
func (*PublicipUpdateRespAssociateInstanceType) UnmarshalJSON ¶ added in v0.1.70
func (c *PublicipUpdateRespAssociateInstanceType) UnmarshalJSON(b []byte) error
func (PublicipUpdateRespAssociateInstanceType) Value ¶ added in v0.1.70
func (c PublicipUpdateRespAssociateInstanceType) Value() string
type PublicipUpdateRespAssociateInstanceTypeEnum ¶ added in v0.1.70
type PublicipUpdateRespAssociateInstanceTypeEnum struct { PORT PublicipUpdateRespAssociateInstanceType NATGW PublicipUpdateRespAssociateInstanceType ELB PublicipUpdateRespAssociateInstanceType ELBV1 PublicipUpdateRespAssociateInstanceType VPN PublicipUpdateRespAssociateInstanceType NULL PublicipUpdateRespAssociateInstanceType }
func GetPublicipUpdateRespAssociateInstanceTypeEnum ¶ added in v0.1.70
func GetPublicipUpdateRespAssociateInstanceTypeEnum() PublicipUpdateRespAssociateInstanceTypeEnum
type PublicipUpdateRespIpVersion ¶ added in v0.1.70
type PublicipUpdateRespIpVersion struct {
// contains filtered or unexported fields
}
func (PublicipUpdateRespIpVersion) MarshalJSON ¶ added in v0.1.70
func (c PublicipUpdateRespIpVersion) MarshalJSON() ([]byte, error)
func (*PublicipUpdateRespIpVersion) UnmarshalJSON ¶ added in v0.1.70
func (c *PublicipUpdateRespIpVersion) UnmarshalJSON(b []byte) error
func (PublicipUpdateRespIpVersion) Value ¶ added in v0.1.70
func (c PublicipUpdateRespIpVersion) Value() int32
type PublicipUpdateRespIpVersionEnum ¶ added in v0.1.70
type PublicipUpdateRespIpVersionEnum struct { E_4 PublicipUpdateRespIpVersion E_6 PublicipUpdateRespIpVersion }
func GetPublicipUpdateRespIpVersionEnum ¶ added in v0.1.70
func GetPublicipUpdateRespIpVersionEnum() PublicipUpdateRespIpVersionEnum
type PublicipUpdateRespStatus ¶ added in v0.1.70
type PublicipUpdateRespStatus struct {
// contains filtered or unexported fields
}
func (PublicipUpdateRespStatus) MarshalJSON ¶ added in v0.1.70
func (c PublicipUpdateRespStatus) MarshalJSON() ([]byte, error)
func (*PublicipUpdateRespStatus) UnmarshalJSON ¶ added in v0.1.70
func (c *PublicipUpdateRespStatus) UnmarshalJSON(b []byte) error
func (PublicipUpdateRespStatus) Value ¶ added in v0.1.70
func (c PublicipUpdateRespStatus) Value() string
type PublicipUpdateRespStatusEnum ¶ added in v0.1.70
type PublicipUpdateRespStatusEnum struct { FREEZED PublicipUpdateRespStatus BIND_ERROR PublicipUpdateRespStatus BINDING PublicipUpdateRespStatus PENDING_DELETE PublicipUpdateRespStatus PENDING_CREATE PublicipUpdateRespStatus NOTIFYING PublicipUpdateRespStatus NOTIFY_DELETE PublicipUpdateRespStatus PENDING_UPDATE PublicipUpdateRespStatus DOWN PublicipUpdateRespStatus ACTIVE PublicipUpdateRespStatus ELB PublicipUpdateRespStatus ERROR PublicipUpdateRespStatus VPN PublicipUpdateRespStatus }
func GetPublicipUpdateRespStatusEnum ¶ added in v0.1.70
func GetPublicipUpdateRespStatusEnum() PublicipUpdateRespStatusEnum
type PublicipUpdateRespType ¶ added in v0.1.70
type PublicipUpdateRespType struct {
// contains filtered or unexported fields
}
func (PublicipUpdateRespType) MarshalJSON ¶ added in v0.1.70
func (c PublicipUpdateRespType) MarshalJSON() ([]byte, error)
func (*PublicipUpdateRespType) UnmarshalJSON ¶ added in v0.1.70
func (c *PublicipUpdateRespType) UnmarshalJSON(b []byte) error
func (PublicipUpdateRespType) Value ¶ added in v0.1.70
func (c PublicipUpdateRespType) Value() string
type PublicipUpdateRespTypeEnum ¶ added in v0.1.70
type PublicipUpdateRespTypeEnum struct { EIP PublicipUpdateRespType DUALSTACK PublicipUpdateRespType DUALSTACK_SUBNET PublicipUpdateRespType }
func GetPublicipUpdateRespTypeEnum ¶ added in v0.1.70
func GetPublicipUpdateRespTypeEnum() PublicipUpdateRespTypeEnum
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 *
ShareBandwidthTypeShowResp 带宽支持类型对象
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"` }
ShowPublicipPoolRequest 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:"-"` }
ShowPublicipPoolResponse 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"` }
ShowPublicipRequest 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:"-"` }
ShowPublicipResponse Response Object
func (ShowPublicipResponse) String ¶
func (o ShowPublicipResponse) String() string
type ShowTenantDict ¶ added in v0.1.70
type ShowTenantDict struct { // - 功能说明:弹性公网IP的唯一标识 Id *string `json:"id,omitempty"` // 带宽的计费模式 ChargeMode *ShowTenantDictChargeMode `json:"charge_mode,omitempty"` // 该类型带宽可购买的最小size MinSize *int32 `json:"min_size,omitempty"` // 该类型带宽可购买的最大size MaxSize *int32 `json:"max_size,omitempty"` ExtLimit *ExtLimitPojo `json:"ext_limit,omitempty"` }
func (ShowTenantDict) String ¶ added in v0.1.70
func (o ShowTenantDict) String() string
type ShowTenantDictChargeMode ¶ added in v0.1.70
type ShowTenantDictChargeMode struct {
// contains filtered or unexported fields
}
func (ShowTenantDictChargeMode) MarshalJSON ¶ added in v0.1.70
func (c ShowTenantDictChargeMode) MarshalJSON() ([]byte, error)
func (*ShowTenantDictChargeMode) UnmarshalJSON ¶ added in v0.1.70
func (c *ShowTenantDictChargeMode) UnmarshalJSON(b []byte) error
func (ShowTenantDictChargeMode) Value ¶ added in v0.1.70
func (c ShowTenantDictChargeMode) Value() string
type ShowTenantDictChargeModeEnum ¶ added in v0.1.70
type ShowTenantDictChargeModeEnum struct { BANDWIDTH ShowTenantDictChargeMode TRAFFIC ShowTenantDictChargeMode }
func GetShowTenantDictChargeModeEnum ¶ added in v0.1.70
func GetShowTenantDictChargeModeEnum() ShowTenantDictChargeModeEnum
type TagsInfo ¶
type TagsInfo struct { // 功能说明:键。同一资源的key值不能重复。 Key *string `json:"key,omitempty"` // 功能说明:值列表。 Value *string `json:"value,omitempty"` }
TagsInfo 标签信息
type UpdatePublicipOption ¶ added in v0.1.70
type UpdatePublicipOption struct { // 功能说明:公网IP的名称。 Alias *string `json:"alias,omitempty"` // 功能说明:公网IP的描述信息 取值范围:0-256长度的字符串,不支持特殊字符<> Description *string `json:"description,omitempty"` // 功能说明:端口所属实例类型 取值范围:PORT、NATGW、VPN、ELB、null 约束:associate_instance_type和associate_instance_id都不为空时表示绑定实例; associate_instance_type和associate_instance_id都为null时解绑实例 约束:双栈公网IP不允许修改绑定的实例 AssociateInstanceType *UpdatePublicipOptionAssociateInstanceType `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 (UpdatePublicipOption) String ¶ added in v0.1.70
func (o UpdatePublicipOption) String() string
type UpdatePublicipOptionAssociateInstanceType ¶ added in v0.1.70
type UpdatePublicipOptionAssociateInstanceType struct {
// contains filtered or unexported fields
}
func (UpdatePublicipOptionAssociateInstanceType) MarshalJSON ¶ added in v0.1.70
func (c UpdatePublicipOptionAssociateInstanceType) MarshalJSON() ([]byte, error)
func (*UpdatePublicipOptionAssociateInstanceType) UnmarshalJSON ¶ added in v0.1.70
func (c *UpdatePublicipOptionAssociateInstanceType) UnmarshalJSON(b []byte) error
func (UpdatePublicipOptionAssociateInstanceType) Value ¶ added in v0.1.70
func (c UpdatePublicipOptionAssociateInstanceType) Value() string
type UpdatePublicipOptionAssociateInstanceTypeEnum ¶ added in v0.1.70
type UpdatePublicipOptionAssociateInstanceTypeEnum struct { PORT UpdatePublicipOptionAssociateInstanceType NATGW UpdatePublicipOptionAssociateInstanceType ELB UpdatePublicipOptionAssociateInstanceType EMPTY UpdatePublicipOptionAssociateInstanceType }
func GetUpdatePublicipOptionAssociateInstanceTypeEnum ¶ added in v0.1.70
func GetUpdatePublicipOptionAssociateInstanceTypeEnum() UpdatePublicipOptionAssociateInstanceTypeEnum
type UpdatePublicipRequest ¶ added in v0.1.70
type UpdatePublicipRequest struct { // 弹性公网IP的ID PublicipId string `json:"publicip_id"` Body *UpdatePublicipsRequestBody `json:"body,omitempty"` }
UpdatePublicipRequest Request Object
func (UpdatePublicipRequest) String ¶ added in v0.1.70
func (o UpdatePublicipRequest) String() string
type UpdatePublicipResponse ¶ added in v0.1.70
type UpdatePublicipResponse struct { // 本次请求的编号 RequestId *string `json:"request_id,omitempty"` Publicip *PublicipUpdateResp `json:"publicip,omitempty"` HttpStatusCode int `json:"-"` }
UpdatePublicipResponse Response Object
func (UpdatePublicipResponse) String ¶ added in v0.1.70
func (o UpdatePublicipResponse) String() string
type UpdatePublicipsRequestBody ¶ added in v0.1.70
type UpdatePublicipsRequestBody struct {
Publicip *UpdatePublicipOption `json:"publicip"`
}
UpdatePublicipsRequestBody 更新弹性公网IP的请求体
func (UpdatePublicipsRequestBody) String ¶ added in v0.1.70
func (o UpdatePublicipsRequestBody) String() string
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"` }
VnicInfo 公网IP中的vnic对象,存储绑定PORT的相关信息
type VnicResp ¶ added in v0.1.49
type VnicResp struct { // - 功能说明:PORT的内网地址 PrivateIpAddress *string `json:"private_ip_address,omitempty"` // - 功能说明:PORT的device_id - 约束:存在PORT时,此字段associate_instance_id相同,都为实例ID DeviceId *string `json:"device_id,omitempty"` // - 功能说明:PORT的device_owner - 约束:存在PORT时,此字段和associate_instance_type都可区分实例类型 DeviceOwner *string `json:"device_owner,omitempty"` // - 功能说明:VTEP IP Vtep *string `json:"vtep,omitempty"` // - 功能说明:VXLAN ID Vni *string `json:"vni,omitempty"` // - 功能说明:PORT所在VPC的ID VpcId *string `json:"vpc_id,omitempty"` // - 功能说明:PORT的唯一标识 PortId *string `json:"port_id,omitempty"` // - 功能说明:端口profile信息 PortProfile *string `json:"port_profile,omitempty"` // - 功能说明:PORT的MAC信息 Mac *string `json:"mac,omitempty"` // - 功能说明:PORT的使用者,不同于device_id的归属者。举例:vip port的device_owner为vip,但是这个port实际使用者可能是虚机或其他 InstanceId *string `json:"instance_id,omitempty"` // - 功能说明:标记PORT使用者,与instance_id组合使用 InstanceType *string `json:"instance_type,omitempty"` }
VnicResp 弹性公网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_attach_batch_public_ip_request.go
- model_attach_batch_public_ip_response.go
- model_attach_share_bandwidth_request.go
- model_attach_share_bandwidth_response.go
- model_attach_sharebw_dict.go
- model_attach_sharebw_req.go
- model_band_width_rules.go
- model_bandwidth_info_resp.go
- model_bandwidth_resp.go
- model_bandwidth_response_body.go
- model_batch_attach_sharebw_dict.go
- model_batch_attach_sharebw_req.go
- model_batch_publicip_resp.go
- model_billing_info_dict.go
- model_common_pool_dict.go
- model_common_pools_with_border_group_dict.go
- model_count_eip_available_resources_request.go
- model_count_eip_available_resources_response.go
- model_detach_batch_public_ip_request.go
- model_detach_batch_public_ip_response.go
- model_detach_batch_sharedbw_req.go
- model_detach_batch_sharedbw_req_publicips.go
- model_detach_share_bandwidth_request.go
- model_detach_share_bandwidth_response.go
- model_detach_sharedbw_dict.go
- model_detach_sharedbw_req.go
- model_detach_sharedbw_req_publicip.go
- model_disable_nat64_request.go
- model_disable_nat64_response.go
- model_disassociate_publicips_request.go
- model_disassociate_publicips_response.go
- model_eip_bandwidth_response_body.go
- model_eip_resources_available_v3_request_body.go
- model_enable_nat64_request.go
- model_enable_nat64_response.go
- model_ext_limit_pojo.go
- model_list_bandwidth_request.go
- model_list_bandwidth_response.go
- model_list_bandwidths_limit_request.go
- model_list_bandwidths_limit_response.go
- model_list_common_pools_request.go
- model_list_common_pools_response.go
- model_list_eip_bandwidths_request.go
- model_list_eip_bandwidths_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_dict.go
- model_page_info_option.go
- model_profile_info.go
- model_publicip_bandwidth_info.go
- model_publicip_info_response_body.go
- model_publicip_instance_resp.go
- model_publicip_pool_show_resp.go
- model_publicip_resp.go
- model_publicip_single_show_resp.go
- model_publicip_update_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_show_tenant_dict.go
- model_tags_info.go
- model_update_publicip_option.go
- model_update_publicip_request.go
- model_update_publicip_response.go
- model_update_publicips_request_body.go
- model_vnic_info.go
- model_vnic_resp.go