model

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddPublicipsIntoSharedBandwidthOption

type AddPublicipsIntoSharedBandwidthOption struct {

	// 功能说明:要插入共享带宽的弹性公网IP或者IPv6端口信息  约束:WHOLE类型的带宽支持多个弹性公网IP或者IPv6端口,跟租户的配额相关,默认一个共享带宽的配额为20
	PublicipInfo []InsertPublicipInfo `json:"publicip_info"`
}

AddPublicipsIntoSharedBandwidthOption 带宽对象

func (AddPublicipsIntoSharedBandwidthOption) String

type AddPublicipsIntoSharedBandwidthRequest

type AddPublicipsIntoSharedBandwidthRequest struct {

	// 带宽唯一标识
	BandwidthId string `json:"bandwidth_id"`

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

AddPublicipsIntoSharedBandwidthRequest Request Object

func (AddPublicipsIntoSharedBandwidthRequest) String

type AddPublicipsIntoSharedBandwidthRequestBody

type AddPublicipsIntoSharedBandwidthRequestBody struct {
	Bandwidth *AddPublicipsIntoSharedBandwidthOption `json:"bandwidth"`
}

AddPublicipsIntoSharedBandwidthRequestBody 将弹性公网IP插入共享带宽的请求体

func (AddPublicipsIntoSharedBandwidthRequestBody) String

type AddPublicipsIntoSharedBandwidthResponse

type AddPublicipsIntoSharedBandwidthResponse struct {
	Bandwidth      *BandwidthRespInsert `json:"bandwidth,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

AddPublicipsIntoSharedBandwidthResponse Response Object

func (AddPublicipsIntoSharedBandwidthResponse) String

type BandWidthRules

type BandWidthRules struct {

	// 带宽规则ID
	Id *string `json:"id,omitempty"`

	// 带宽规则名称
	Name *string `json:"name,omitempty"`

	// 配置状态,为False时配置不生效。
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	// 出网带宽最大值,单位M bps。取值范围[0,n],其中n为所属带宽的带宽大小(size字段)。0表示设置为最大带宽。
	EgressSize *int32 `json:"egress_size,omitempty"`

	// 出网保障带宽大小,单位M bps。取值范围[0,x],其中x为所属带宽剩余的保障额。
	EgressGuarentedSize *int32 `json:"egress_guarented_size,omitempty"`

	// 功能说明:带宽对应的弹性公网IP信息  约束:WHOLE类型的带宽支持多个弹性公网IP,PER类型的带宽只能对应一个弹性公网IP
	PublicipInfo *[]PublicipInfoResp `json:"publicip_info,omitempty"`
}

BandWidthRules 带宽规则对象

func (BandWidthRules) String

func (o BandWidthRules) String() string

type BandwidthPkgPage

type BandwidthPkgPage struct {

	// - 链接
	Href string `json:"href"`

	// - 翻页标志
	Rel string `json:"rel"`
}

func (BandwidthPkgPage) String

func (o BandwidthPkgPage) String() string

type BandwidthPkgResp

type BandwidthPkgResp struct {

	// - 功能说明:加油包ID - 取值范围:1-64,支持数字、字母、中文、_(下划线)、-(中划线)
	ResourceId string `json:"resourceId"`

	// - 功能说明:加油包名称
	ResourceName string `json:"resourceName"`

	// - 功能说明:资源创建时间,UTC时间格式:2016-03-28T00:00:00Z
	ProcessedTime string `json:"processedTime"`

	// - 功能说明:加油包绑定的原带宽ID
	BandwidthId string `json:"bandwidthId"`

	// - 功能说明:加油包的大小,即在原始带宽之上提升的带宽大小 - 取值范围:>1M,pkgSize+原始带宽大小 < 云服务带宽接口限制的带宽上限
	PkgSize int32 `json:"pkgSize"`

	// - 功能说明:租户id
	TenantId string `json:"tenantId"`

	// - 功能说明:加油包订单相关信息格式:非空时值为”orderId:productId”
	BillingInfo string `json:"billingInfo"`

	// - 功能说明:加油包起始生效时间,UTC时间格式:2016-03-28T00:00:00Z - 取值范围:startTime >= 服务处理请求的时间
	StartTime string `json:"startTime"`

	// - 功能说明:加油包结束时间UTC时间格式:2016-03-28T00:00:00Z - 取值范围:startTime < endTime
	EndTime string `json:"endTime"`

	// - 功能说明:加油包资源状态,仅管理员权限可以变更状态 - 取值范围:”pending”, ”active”, ”completed”, ”error”
	Status string `json:"status"`
}

BandwidthPkgResp This is a auto create Response Object

func (BandwidthPkgResp) String

func (o BandwidthPkgResp) String() string

type BandwidthResp

type BandwidthResp struct {

	// 功能说明:带宽类型,共享带宽默认为share。  取值范围:share,bgp,telcom,sbgp等。  share:共享带宽  bgp:动态bgp  telcom :联通  sbgp:静态bgp
	BandwidthType *string `json:"bandwidth_type,omitempty"`

	// 功能说明:账单信息  如果billinginfo不为空,说明是包周期的带宽
	BillingInfo *string `json:"billing_info,omitempty"`

	// 功能说明:按流量计费,按带宽计费还是按增强型95计费。  取值范围:bandwidth,traffic,95peak_plus(按增强型95计费)不返回或者为空时表示是bandwidth。  约束:只有共享带宽支持95peak_plus(按增强型95计费),按增强型95计费时需要指定保底百分比,默认是20%。
	ChargeMode *BandwidthRespChargeMode `json:"charge_mode,omitempty"`

	// 功能说明:带宽唯一标识
	Id *string `json:"id,omitempty"`

	// 功能说明:带宽名称  取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
	Name *string `json:"name,omitempty"`

	// 功能说明:带宽对应的弹性公网IP信息  约束:WHOLE类型的带宽支持多个弹性公网IP,PER类型的带宽只能对应一个弹性公网IP
	PublicipInfo *[]PublicipInfoResp `json:"publicip_info,omitempty"`

	// 功能说明:带宽类型,标识是否是共享带宽  取值范围:WHOLE,PER  WHOLE表示共享带宽;PER,表示独享带宽
	ShareType *BandwidthRespShareType `json:"share_type,omitempty"`

	// 功能说明:带宽大小  取值范围:默认5Mbit/s~2000Mbit/s(具体范围以各区域配置为准,请参见控制台对应页面显示)。
	Size *int32 `json:"size,omitempty"`

	// 功能说明:用户所属租户ID
	TenantId *string `json:"tenant_id,omitempty"`

	// 企业项目ID。最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。  创建带宽时,给带宽绑定企业项目ID。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 功能说明:带宽的状态  取值范围:  FREEZED:冻结  NORMAL:正常
	Status *BandwidthRespStatus `json:"status,omitempty"`

	// 功能说明:是否开启企业级qos,仅共享带宽支持开启。(该字段仅在上海1局点返回)
	EnableBandwidthRules *bool `json:"enable_bandwidth_rules,omitempty"`

	// 功能说明:带宽支持的最大分组规则数。(该字段仅在上海1局点返回)
	RuleQuota *int32 `json:"rule_quota,omitempty"`

	// 功能说明:带宽规则对象(该字段仅在上海1局点返回)
	BandwidthRules *[]BandWidthRules `json:"bandwidth_rules,omitempty"`

	// 功能说明:资源创建时间,UTC时间  格式: yyyy-MM-ddTHH:mm:ss
	CreatedAt *string `json:"created_at,omitempty"`

	// 功能说明:资源更新时间,UTC时间  格式: yyyy-MM-ddTHH:mm:ss
	UpdatedAt *string `json:"updated_at,omitempty"`

	// 功能说明:表示中心站点资源或者边缘站点资源 取值范围: center、边缘站点名称 约束:共享带宽只能绑定与该字段相同的publicip
	PublicBorderGroup *string `json:"public_border_group,omitempty"`
}

BandwidthResp 带宽对象

func (BandwidthResp) String

func (o BandwidthResp) String() string

type BandwidthRespChargeMode

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

func (BandwidthRespChargeMode) MarshalJSON

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

func (*BandwidthRespChargeMode) UnmarshalJSON

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

func (BandwidthRespChargeMode) Value

func (c BandwidthRespChargeMode) Value() string

type BandwidthRespChargeModeEnum

type BandwidthRespChargeModeEnum struct {
	BANDWIDTH     BandwidthRespChargeMode
	TRAFFIC       BandwidthRespChargeMode
	E_95PEAK_PLUS BandwidthRespChargeMode
}

func GetBandwidthRespChargeModeEnum

func GetBandwidthRespChargeModeEnum() BandwidthRespChargeModeEnum

type BandwidthRespInsert

type BandwidthRespInsert struct {

	// 功能说明:带宽类型,共享带宽默认为share。  取值范围:share,bgp,telcom,sbgp等。  share:共享带宽  bgp:动态bgp  telcom :联通  sbgp:静态bgp
	BandwidthType *string `json:"bandwidth_type,omitempty"`

	// 功能说明:按流量计费,按带宽计费还是按增强型95计费。  取值范围:bandwidth,traffic,95peak_plus(按增强型95计费)不返回或者为空时表示是bandwidth。  约束:只有共享带宽支持95peak_plus(按增强型95计费),按增强型95计费时需要指定保底百分比,默认是20%。
	ChargeMode *BandwidthRespInsertChargeMode `json:"charge_mode,omitempty"`

	// 功能说明:带宽唯一标识
	Id *string `json:"id,omitempty"`

	// 功能说明:带宽名称  取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
	Name *string `json:"name,omitempty"`

	// 功能说明:带宽对应的弹性公网IP信息  约束:WHOLE类型的带宽支持多个弹性公网IP,PER类型的带宽只能对应一个弹性公网IP
	PublicipInfo *[]PublicipInfoResp `json:"publicip_info,omitempty"`

	// 功能说明:账单信息  如果billinginfo不为空,说明是包周期的带宽
	BillingInfo *string `json:"billing_info,omitempty"`

	// 功能说明:带宽类型,标识是否是共享带宽  取值范围:WHOLE,PER  WHOLE表示共享带宽;PER,表示独享带宽
	ShareType *BandwidthRespInsertShareType `json:"share_type,omitempty"`

	// 功能说明:带宽大小  取值范围:默认5Mbit/s~2000Mbit/s(具体范围以各区域配置为准,请参见控制台对应页面显示)。
	Size *int32 `json:"size,omitempty"`

	// 功能说明:用户所属租户ID
	TenantId *string `json:"tenant_id,omitempty"`

	// 企业项目ID。最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。  创建带宽时,给带宽绑定企业项目ID。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 功能说明:带宽的状态  取值范围:  FREEZED:冻结  NORMAL:正常
	Status *BandwidthRespInsertStatus `json:"status,omitempty"`

	// 功能说明:是否开启企业级qos 取值范围:true/false
	EnableBandwidthRules *bool `json:"enable_bandwidth_rules,omitempty"`

	// 功能说明:带宽支持的最大分组规则数。
	RuleQuota *int32 `json:"rule_quota,omitempty"`

	// 功能说明:带宽规则对象
	BandwidthRules *[]BandWidthRules `json:"bandwidth_rules,omitempty"`
}

BandwidthRespInsert 带宽对象

func (BandwidthRespInsert) String

func (o BandwidthRespInsert) String() string

type BandwidthRespInsertChargeMode

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

func (BandwidthRespInsertChargeMode) MarshalJSON

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

func (*BandwidthRespInsertChargeMode) UnmarshalJSON

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

func (BandwidthRespInsertChargeMode) Value

type BandwidthRespInsertChargeModeEnum

type BandwidthRespInsertChargeModeEnum struct {
	BANDWIDTH     BandwidthRespInsertChargeMode
	TRAFFIC       BandwidthRespInsertChargeMode
	E_95PEAK_PLUS BandwidthRespInsertChargeMode
}

func GetBandwidthRespInsertChargeModeEnum

func GetBandwidthRespInsertChargeModeEnum() BandwidthRespInsertChargeModeEnum

type BandwidthRespInsertShareType

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

func (BandwidthRespInsertShareType) MarshalJSON

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

func (*BandwidthRespInsertShareType) UnmarshalJSON

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

func (BandwidthRespInsertShareType) Value

type BandwidthRespInsertShareTypeEnum

type BandwidthRespInsertShareTypeEnum struct {
	WHOLE BandwidthRespInsertShareType
	PER   BandwidthRespInsertShareType
}

func GetBandwidthRespInsertShareTypeEnum

func GetBandwidthRespInsertShareTypeEnum() BandwidthRespInsertShareTypeEnum

type BandwidthRespInsertStatus

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

func (BandwidthRespInsertStatus) MarshalJSON

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

func (*BandwidthRespInsertStatus) UnmarshalJSON

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

func (BandwidthRespInsertStatus) Value

type BandwidthRespInsertStatusEnum

type BandwidthRespInsertStatusEnum struct {
	FREEZED BandwidthRespInsertStatus
	NORMAL  BandwidthRespInsertStatus
}

func GetBandwidthRespInsertStatusEnum

func GetBandwidthRespInsertStatusEnum() BandwidthRespInsertStatusEnum

type BandwidthRespShareType

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

func (BandwidthRespShareType) MarshalJSON

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

func (*BandwidthRespShareType) UnmarshalJSON

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

func (BandwidthRespShareType) Value

func (c BandwidthRespShareType) Value() string

type BandwidthRespShareTypeEnum

type BandwidthRespShareTypeEnum struct {
	WHOLE BandwidthRespShareType
	PER   BandwidthRespShareType
}

func GetBandwidthRespShareTypeEnum

func GetBandwidthRespShareTypeEnum() BandwidthRespShareTypeEnum

type BandwidthRespStatus

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

func (BandwidthRespStatus) MarshalJSON

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

func (*BandwidthRespStatus) UnmarshalJSON

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

func (BandwidthRespStatus) Value

func (c BandwidthRespStatus) Value() string

type BandwidthRespStatusEnum

type BandwidthRespStatusEnum struct {
	FREEZED BandwidthRespStatus
	NORMAL  BandwidthRespStatus
}

func GetBandwidthRespStatusEnum

func GetBandwidthRespStatusEnum() BandwidthRespStatusEnum

type BatchBandwidth

type BatchBandwidth struct {

	// - 功能说明:按流量计费还是按带宽计费。其中IPv6国外默认是bandwidth,国内默认是traffic。取值为traffic,表示流量计费。
	ChargeMode *BatchBandwidthChargeMode `json:"charge_mode,omitempty"`

	// - 功能说明:带宽名称 - 取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点) - 约束:如果share_type是PER,该参数必须带,如果share_type是WHOLE并且id有值,该参数会忽略。
	Name *string `json:"name,omitempty"`

	// - 功能说明:带宽类型 - 取值范围:PER,WHOLE。其中IPv6暂不支持WHOLE类型带宽。
	ShareType *BatchBandwidthShareType `json:"share_type,omitempty"`

	// - 功能说明:带宽大小 - 取值范围:默认1Mbit/s~2000Mbit/s(具体范围以各区域配置为准,请参见控制台对应页面显示)。 - 约束:share_type是PER,该参数必须带,如果share_type是WHOLE并且id有值,该参数会忽略。 - 注意:调整带宽时的最小单位会根据带宽范围不同存在差异。   - 小于等于300Mbit/s:默认最小单位为1Mbit/s。   - 300Mbit/s~1000Mbit/s:默认最小单位为50Mbit/s。   - 大于1000Mbit/s:默认最小单位为500Mbit/s。
	Size int32 `json:"size"`

	// - 功能说明:带宽ID,创建WHOLE类型带宽的弹性公网IP时可以指定之前的共享带宽创建 - 取值范围:WHOLE类型的带宽ID
	Id *string `json:"id,omitempty"`
}

BatchBandwidth 带宽信息

func (BatchBandwidth) String

func (o BatchBandwidth) String() string

type BatchBandwidthChargeMode

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

func (BatchBandwidthChargeMode) MarshalJSON

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

func (*BatchBandwidthChargeMode) UnmarshalJSON

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

func (BatchBandwidthChargeMode) Value

func (c BatchBandwidthChargeMode) Value() string

type BatchBandwidthChargeModeEnum

type BatchBandwidthChargeModeEnum struct {
	BANDWIDTH BatchBandwidthChargeMode
	TRAFFIC   BatchBandwidthChargeMode
}

func GetBatchBandwidthChargeModeEnum

func GetBatchBandwidthChargeModeEnum() BatchBandwidthChargeModeEnum

type BatchBandwidthResp

type BatchBandwidthResp struct {

	// 功能说明:带宽类型,共享带宽默认为share。  取值范围:share,bgp,telcom,sbgp等。  share:共享带宽  bgp:动态bgp  telcom :联通  sbgp:静态bgp
	BandwidthType *string `json:"bandwidth_type,omitempty"`

	// 功能说明:账单信息  如果billing_info不为空,说明是包周期的带宽
	BillingInfo *string `json:"billing_info,omitempty"`

	// 功能说明:按流量计费,按带宽计费还是按增强型95计费。  取值范围:bandwidth,traffic,95peak_plus(按增强型95计费)不返回或者为空时表示是bandwidth。  约束:只有共享带宽支持95peak_plus(按增强型95计费),按增强型95计费时需要指定保底百分比,默认是20%。
	ChargeMode *BatchBandwidthRespChargeMode `json:"charge_mode,omitempty"`

	// 功能说明:带宽唯一标识
	Id *string `json:"id,omitempty"`

	// 功能说明:带宽名称  取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
	Name *string `json:"name,omitempty"`

	// 功能说明:带宽对应的弹性公网IP信息  约束:WHOLE类型的带宽支持多个弹性公网IP,PER类型的带宽只能对应一个弹性公网IP
	PublicipInfo *[]PublicipInfoResp `json:"publicip_info,omitempty"`

	// 功能说明:带宽类型,标识是否是共享带宽  取值范围:WHOLE,PER  WHOLE表示共享带宽;PER,表示独享带宽
	ShareType *BatchBandwidthRespShareType `json:"share_type,omitempty"`

	// 功能说明:带宽大小  取值范围:默认5Mbit/s~2000Mbit/s(具体范围以各区域配置为准,请参见控制台对应页面显示)。
	Size *int32 `json:"size,omitempty"`

	// 功能说明:用户所属租户ID
	TenantId *string `json:"tenant_id,omitempty"`

	// 功能说明:带宽的状态  取值范围:  FREEZED:冻结  NORMAL:正常
	Status *BatchBandwidthRespStatus `json:"status,omitempty"`

	// 功能说明:表示中心站点资源或者边缘站点资源 取值范围: center、边缘站点名称 约束:共享带宽只能插入与该字段相同的publicip
	PublicBorderGroup *string `json:"public_border_group,omitempty"`
}

BatchBandwidthResp 带宽对象

func (BatchBandwidthResp) String

func (o BatchBandwidthResp) String() string

type BatchBandwidthRespChargeMode

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

func (BatchBandwidthRespChargeMode) MarshalJSON

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

func (*BatchBandwidthRespChargeMode) UnmarshalJSON

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

func (BatchBandwidthRespChargeMode) Value

type BatchBandwidthRespChargeModeEnum

type BatchBandwidthRespChargeModeEnum struct {
	BANDWIDTH     BatchBandwidthRespChargeMode
	TRAFFIC       BatchBandwidthRespChargeMode
	E_95PEAK_PLUS BatchBandwidthRespChargeMode
}

func GetBatchBandwidthRespChargeModeEnum

func GetBatchBandwidthRespChargeModeEnum() BatchBandwidthRespChargeModeEnum

type BatchBandwidthRespShareType

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

func (BatchBandwidthRespShareType) MarshalJSON

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

func (*BatchBandwidthRespShareType) UnmarshalJSON

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

func (BatchBandwidthRespShareType) Value

type BatchBandwidthRespShareTypeEnum

type BatchBandwidthRespShareTypeEnum struct {
	WHOLE BatchBandwidthRespShareType
	PER   BatchBandwidthRespShareType
}

func GetBatchBandwidthRespShareTypeEnum

func GetBatchBandwidthRespShareTypeEnum() BatchBandwidthRespShareTypeEnum

type BatchBandwidthRespStatus

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

func (BatchBandwidthRespStatus) MarshalJSON

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

func (*BatchBandwidthRespStatus) UnmarshalJSON

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

func (BatchBandwidthRespStatus) Value

func (c BatchBandwidthRespStatus) Value() string

type BatchBandwidthRespStatusEnum

type BatchBandwidthRespStatusEnum struct {
	FREEZED BatchBandwidthRespStatus
	NORMAL  BatchBandwidthRespStatus
}

func GetBatchBandwidthRespStatusEnum

func GetBatchBandwidthRespStatusEnum() BatchBandwidthRespStatusEnum

type BatchBandwidthShareType

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

func (BatchBandwidthShareType) MarshalJSON

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

func (*BatchBandwidthShareType) UnmarshalJSON

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

func (BatchBandwidthShareType) Value

func (c BatchBandwidthShareType) Value() string

type BatchBandwidthShareTypeEnum

type BatchBandwidthShareTypeEnum struct {
	PER   BatchBandwidthShareType
	WHOLE BatchBandwidthShareType
}

func GetBatchBandwidthShareTypeEnum

func GetBatchBandwidthShareTypeEnum() BatchBandwidthShareTypeEnum

type BatchCreateBandwidthOption

type BatchCreateBandwidthOption struct {

	// 取值范围:正整数  功能说明:批创的共享带宽的个数  说明: 如果传入的参数为小数(如 2.2)或者字符类型(如“2”),会自动强制转换为整数。
	Count int32 `json:"count"`

	// 取值范围:1-64,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)  功能说明:带宽名称
	Name string `json:"name"`

	// 功能说明:带宽大小。共享带宽的大小有最小值限制,默认为2M,可能因局点不同而不同。  取值范围:默认5Mbit/s~2000Mbit/s(具体范围以各区域配置为准,请参见控制台对应页面显示)。  注意:调整带宽时的最小单位会根据带宽范围不同存在差异。  小于等于300Mbit/s:默认最小单位为1Mbit/s。  300Mbit/s~1000Mbit/s:默认最小单位为50Mbit/s。  大于1000Mbit/s:默认最小单位为500Mbit/s。
	Size int32 `json:"size"`

	// 功能说明:表示中心站点资源或者边缘站点资源 取值范围: center、边缘站点名称 约束:共享带宽只能插入与该字段相同的publicip
	PublicBorderGroup *string `json:"public_border_group,omitempty"`
}

BatchCreateBandwidthOption 带宽对象

func (BatchCreateBandwidthOption) String

type BatchCreateBandwidthRequestBody

type BatchCreateBandwidthRequestBody struct {
	Bandwidth *BatchCreateBandwidthOption `json:"bandwidth"`
}

BatchCreateBandwidthRequestBody 批量创建带宽的请求体

func (BatchCreateBandwidthRequestBody) String

type BatchCreatePublicipTagsRequest

type BatchCreatePublicipTagsRequest struct {

	// 资源ID
	PublicipId string `json:"publicip_id"`

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

BatchCreatePublicipTagsRequest Request Object

func (BatchCreatePublicipTagsRequest) String

type BatchCreatePublicipTagsRequestBody

type BatchCreatePublicipTagsRequestBody struct {

	// 标签列表
	Tags []ResourceTagOption `json:"tags"`

	// 操作标识  create:创建  action为create时,tag的value必选
	Action BatchCreatePublicipTagsRequestBodyAction `json:"action"`
}

BatchCreatePublicipTagsRequestBody 批量操作资源标签的请求体

func (BatchCreatePublicipTagsRequestBody) String

type BatchCreatePublicipTagsRequestBodyAction

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

func (BatchCreatePublicipTagsRequestBodyAction) MarshalJSON

func (*BatchCreatePublicipTagsRequestBodyAction) UnmarshalJSON

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

func (BatchCreatePublicipTagsRequestBodyAction) Value

type BatchCreatePublicipTagsRequestBodyActionEnum

type BatchCreatePublicipTagsRequestBodyActionEnum struct {
	CREATE BatchCreatePublicipTagsRequestBodyAction
}

func GetBatchCreatePublicipTagsRequestBodyActionEnum

func GetBatchCreatePublicipTagsRequestBodyActionEnum() BatchCreatePublicipTagsRequestBodyActionEnum

type BatchCreatePublicipTagsResponse

type BatchCreatePublicipTagsResponse struct {
	HttpStatusCode int `json:"-"`
}

BatchCreatePublicipTagsResponse Response Object

func (BatchCreatePublicipTagsResponse) String

type BatchCreatePublicipsRequest

type BatchCreatePublicipsRequest struct {
	Body *BatchCreatePublicipsV2RequestBody `json:"body,omitempty"`
}

BatchCreatePublicipsRequest Request Object

func (BatchCreatePublicipsRequest) String

type BatchCreatePublicipsResponse

type BatchCreatePublicipsResponse struct {

	// job_id,需要访问调用netAPI组件访问job执行情况。netAPI:/v1/{tenant_id}/jobs/{job_id}
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

BatchCreatePublicipsResponse Response Object

func (BatchCreatePublicipsResponse) String

type BatchCreatePublicipsV2RequestBody

type BatchCreatePublicipsV2RequestBody struct {
	Bandwidth *BatchBandwidth `json:"bandwidth"`

	Publicip *BatchPublicIp `json:"publicip"`

	// 批量创建EIP的个数
	PublicipNumber int32 `json:"publicip_number"`

	// 企业项目id
	EnterpriseProjectId string `json:"enterprise_project_id"`
}

BatchCreatePublicipsV2RequestBody This is a auto create Body Object

func (BatchCreatePublicipsV2RequestBody) String

type BatchCreateSharedBandwidthsRequest

type BatchCreateSharedBandwidthsRequest struct {
	Body *BatchCreateBandwidthRequestBody `json:"body,omitempty"`
}

BatchCreateSharedBandwidthsRequest Request Object

func (BatchCreateSharedBandwidthsRequest) String

type BatchCreateSharedBandwidthsResponse

type BatchCreateSharedBandwidthsResponse struct {

	// 批创的带宽对象的列表
	Bandwidths     *[]BatchBandwidthResp `json:"bandwidths,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

BatchCreateSharedBandwidthsResponse Response Object

func (BatchCreateSharedBandwidthsResponse) String

type BatchDeletePublicIpRequest

type BatchDeletePublicIpRequest struct {
	Body *BatchDeletePublicIpRequestBody `json:"body,omitempty"`
}

BatchDeletePublicIpRequest Request Object

func (BatchDeletePublicIpRequest) String

type BatchDeletePublicIpRequestBody

type BatchDeletePublicIpRequestBody struct {

	// 弹性公网ip的id列表。
	PublicipIds []string `json:"publicip_ids"`
}

BatchDeletePublicIpRequestBody 请求参数

func (BatchDeletePublicIpRequestBody) String

type BatchDeletePublicIpResponse

type BatchDeletePublicIpResponse struct {

	// job_id列表,此job信息不保存在数据库中,不能同过组件查询到。
	JobIds         *[]string `json:"job_ids,omitempty"`
	HttpStatusCode int       `json:"-"`
}

BatchDeletePublicIpResponse Response Object

func (BatchDeletePublicIpResponse) String

type BatchDeletePublicipTagsRequest

type BatchDeletePublicipTagsRequest struct {

	// 资源ID
	PublicipId string `json:"publicip_id"`

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

BatchDeletePublicipTagsRequest Request Object

func (BatchDeletePublicipTagsRequest) String

type BatchDeletePublicipTagsRequestBody

type BatchDeletePublicipTagsRequestBody struct {

	// 标签列表
	Tags []ResourceTagOption `json:"tags"`

	// 操作标识  delete:删除  action为delete时,value可选
	Action BatchDeletePublicipTagsRequestBodyAction `json:"action"`
}

BatchDeletePublicipTagsRequestBody 批量操作资源标签的请求体

func (BatchDeletePublicipTagsRequestBody) String

type BatchDeletePublicipTagsRequestBodyAction

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

func (BatchDeletePublicipTagsRequestBodyAction) MarshalJSON

func (*BatchDeletePublicipTagsRequestBodyAction) UnmarshalJSON

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

func (BatchDeletePublicipTagsRequestBodyAction) Value

type BatchDeletePublicipTagsRequestBodyActionEnum

type BatchDeletePublicipTagsRequestBodyActionEnum struct {
	DELETE BatchDeletePublicipTagsRequestBodyAction
}

func GetBatchDeletePublicipTagsRequestBodyActionEnum

func GetBatchDeletePublicipTagsRequestBodyActionEnum() BatchDeletePublicipTagsRequestBodyActionEnum

type BatchDeletePublicipTagsResponse

type BatchDeletePublicipTagsResponse struct {
	HttpStatusCode int `json:"-"`
}

BatchDeletePublicipTagsResponse Response Object

func (BatchDeletePublicipTagsResponse) String

type BatchDisassociatePublicipsRequest

type BatchDisassociatePublicipsRequest struct {
	Body *BatchDeletePublicIpRequestBody `json:"body,omitempty"`
}

BatchDisassociatePublicipsRequest Request Object

func (BatchDisassociatePublicipsRequest) String

type BatchDisassociatePublicipsResponse

type BatchDisassociatePublicipsResponse struct {

	// job_id列表,此job信息不保存在数据库中,不能同过组件查询到。
	JobIds         *[]string `json:"job_ids,omitempty"`
	HttpStatusCode int       `json:"-"`
}

BatchDisassociatePublicipsResponse Response Object

func (BatchDisassociatePublicipsResponse) String

type BatchProfile

type BatchProfile struct {

	// 租户id
	UserId *string `json:"user_id,omitempty"`

	// 产品id
	ProductId *string `json:"product_id,omitempty"`

	// 局点id
	RegionId *string `json:"region_id,omitempty"`

	// 订单id
	OrderId *string `json:"order_id,omitempty"`
}

BatchProfile 订单和产品信息

func (BatchProfile) String

func (o BatchProfile) String() string

type BatchPublicIp

type BatchPublicIp struct {

	// 指定id创建EIP
	Id *string `json:"id,omitempty"`

	// 公网ip类型
	Type BatchPublicIpType `json:"type"`

	// 公网EIP的版本,例如ipv4,ipv6,默认为ipv4
	IpVersion *string `json:"ip_version,omitempty"`

	// 企业项目id
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 公网EIP标签
	Tags *[]string `json:"tags,omitempty"`

	Profile *BatchProfile `json:"profile,omitempty"`
}

BatchPublicIp publicip信息

func (BatchPublicIp) String

func (o BatchPublicIp) String() string

type BatchPublicIpType

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

func (BatchPublicIpType) MarshalJSON

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

func (*BatchPublicIpType) UnmarshalJSON

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

func (BatchPublicIpType) Value

func (c BatchPublicIpType) Value() string

type BatchPublicIpTypeEnum

type BatchPublicIpTypeEnum struct {
	E_5_BGP   BatchPublicIpType
	E_5_UNION BatchPublicIpType
	E_5_SBGP  BatchPublicIpType
}

func GetBatchPublicIpTypeEnum

func GetBatchPublicIpTypeEnum() BatchPublicIpTypeEnum

type BwChangeToPeriodReq

type BwChangeToPeriodReq struct {

	// 待按需转包带宽列表
	BandwidthIds []string `json:"bandwidth_ids"`

	ExtendParam *CreatePrePaidPublicipExtendParamOption `json:"extendParam"`
}

BwChangeToPeriodReq 云服务按需转包请求体

func (BwChangeToPeriodReq) String

func (o BwChangeToPeriodReq) String() string

type ChangeBandwidthToPeriodRequest

type ChangeBandwidthToPeriodRequest struct {
	Body *BwChangeToPeriodReq `json:"body,omitempty"`
}

ChangeBandwidthToPeriodRequest Request Object

func (ChangeBandwidthToPeriodRequest) String

type ChangeBandwidthToPeriodResponse

type ChangeBandwidthToPeriodResponse struct {

	// 转包带宽列表
	BandwidthIds *[]string `json:"bandwidth_ids,omitempty"`

	// 订单ID
	OrderId *string `json:"order_id,omitempty"`

	// 请求ID
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ChangeBandwidthToPeriodResponse Response Object

func (ChangeBandwidthToPeriodResponse) String

type ChangePublicipToPeriodRequest

type ChangePublicipToPeriodRequest struct {
	Body *ChangeToPeriodReq `json:"body,omitempty"`
}

ChangePublicipToPeriodRequest Request Object

func (ChangePublicipToPeriodRequest) String

type ChangePublicipToPeriodResponse

type ChangePublicipToPeriodResponse struct {

	// 转包IP列表
	PublicipIds *[]string `json:"publicip_ids,omitempty"`

	// 订单ID
	OrderId *string `json:"order_id,omitempty"`

	// 请求ID
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ChangePublicipToPeriodResponse Response Object

func (ChangePublicipToPeriodResponse) String

type ChangeToPeriodReq

type ChangeToPeriodReq struct {

	// 待按需转包IP列表
	PublicipIds []string `json:"publicip_ids"`

	ExtendParam *CreatePrePaidPublicipExtendParamOption `json:"extendParam"`
}

ChangeToPeriodReq 云服务按需转包请求体

func (ChangeToPeriodReq) String

func (o ChangeToPeriodReq) String() string

type CountPublicIpInstanceRequest

type CountPublicIpInstanceRequest struct {
}

CountPublicIpInstanceRequest Request Object

func (CountPublicIpInstanceRequest) String

type CountPublicIpInstanceResponse

type CountPublicIpInstanceResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CountPublicIpInstanceResponse Response Object

func (CountPublicIpInstanceResponse) String

type CountPublicIpRequest

type CountPublicIpRequest struct {
}

CountPublicIpRequest Request Object

func (CountPublicIpRequest) String

func (o CountPublicIpRequest) String() string

type CountPublicIpResponse

type CountPublicIpResponse struct {

	// 弹性公网数量
	ElasticipSize  *int32 `json:"elasticip_size,omitempty"`
	HttpStatusCode int    `json:"-"`
}

CountPublicIpResponse Response Object

func (CountPublicIpResponse) String

func (o CountPublicIpResponse) String() string

type CreateFloatingIpOption

type CreateFloatingIpOption struct {

	// 浮动IP地址。
	FloatingIpAddress *string `json:"floating_ip_address,omitempty"`

	// 外部网络的id。只能使用固定的外网,外部网络的信息请通过GET /v2.0/networks?router:external=True或GET /v2.0/networks?name={floating_network}或neutron net-external-list方式查询。
	FloatingNetworkId string `json:"floating_network_id"`

	// 端口id
	PortId *string `json:"port_id,omitempty"`

	// 关联端口的私有IP地址。
	FixedIpAddress *string `json:"fixed_ip_address,omitempty"`
}

CreateFloatingIpOption 创建floatingip对象

func (CreateFloatingIpOption) String

func (o CreateFloatingIpOption) String() string

type CreatePrePaidPublicipExtendParamOption

type CreatePrePaidPublicipExtendParamOption struct {

	// 功能说明:付费方式(预付费、按需付费;预付费,即包周期付费)  取值范围:  prePaid -预付费,即包年包月;  postPaid-后付费,即按需付费;  后付费的场景下,extendParam的其他字段都会被忽略。
	ChargeMode *CreatePrePaidPublicipExtendParamOptionChargeMode `json:"charge_mode,omitempty"`

	// 功能说明:订购资源的周期类型(包年、包月等)  取值范围:  month-月  year-年  约束:如果用包周期共享带宽创建时(即携带共享带宽id创建弹性公网IP)此字段可不填。付费方式是预付费且不是使用共享带宽创建IP时,该字段必选;  使用共享带宽创建IP时,带宽资源到期时间与IP的到期时间相同。
	PeriodType *CreatePrePaidPublicipExtendParamOptionPeriodType `json:"period_type,omitempty"`

	// 功能说明:订购周期数  取值范围:(后续会随运营策略变化)  period_type为month时,为[1,9]  period_type为year时,为[1,3]  约束:同period_type约束。
	PeriodNum *int32 `json:"period_num,omitempty"`

	// 功能说明:是否自动续订  取值范围:  false:不自动续订  true:自动续订  约束:到期后,默认自动续订1个月(自动续订时间后续可能会变化),详情可联系客服咨询。
	IsAutoRenew *bool `json:"is_auto_renew,omitempty"`

	// 功能说明:下单订购后,是否自动从客户的账户中支付  取值范围:  true:自动支付,从账户余额自动扣费  false:只提交订单不支付,需要客户手动去支付  约束:自动支付时,只能使用账户的现金支付;如果要使用代金券,请选择不自动支付,然后在用户费用中心,选择代金券支付。
	IsAutoPay *bool `json:"is_auto_pay,omitempty"`
}

CreatePrePaidPublicipExtendParamOption 创建包周期弹性公网IP的订单信息

func (CreatePrePaidPublicipExtendParamOption) String

type CreatePrePaidPublicipExtendParamOptionChargeMode

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

func (CreatePrePaidPublicipExtendParamOptionChargeMode) MarshalJSON

func (*CreatePrePaidPublicipExtendParamOptionChargeMode) UnmarshalJSON

func (CreatePrePaidPublicipExtendParamOptionChargeMode) Value

type CreatePrePaidPublicipExtendParamOptionPeriodType

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

func (CreatePrePaidPublicipExtendParamOptionPeriodType) MarshalJSON

func (*CreatePrePaidPublicipExtendParamOptionPeriodType) UnmarshalJSON

func (CreatePrePaidPublicipExtendParamOptionPeriodType) Value

type CreatePrePaidPublicipOption

type CreatePrePaidPublicipOption struct {

	// 功能说明:弹性公网IP的类型  取值范围:5_telcom(电信),5_union(联通),5_bgp(全动态BGP),5_sbgp(静态BGP),5_ipv6  东北-大连:5_telcom、5_union  华南-广州:5_bgp、5_sbgp  华东-上海二:5_bgp、5_sbgp  华北-北京一:5_bgp、5_sbgp、5_ipv6  亚太-香港:5_bgp  亚太-曼谷:5_bgp  亚太-新加坡:5_bgp  非洲-约翰内斯堡:5_bgp  西南-贵阳一:5_bgp、5_sbgp  华北-北京四:5_bgp、5_sbgp  约束:必须是系统具体支持的类型publicip_id为IPv4端口,所以\"publicip_type\"字段未给定时,默认为5_bgp。
	Type string `json:"type"`

	// 功能说明:弹性公网IP的版本  取值范围:4、6,分别表示创建ipv4和ipv6  约束:必须是系统具体支持的类型  不填或空字符串时,默认创建ipv4
	IpVersion *CreatePrePaidPublicipOptionIpVersion `json:"ip_version,omitempty"`

	// 功能说明:弹性公网IP名称 取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
	Alias *string `json:"alias,omitempty"`

	// 功能说明:端口id  约束:必须是存在的端口id,如果该端口不存在或端口已绑定EIP则会提示出错。
	PortId *string `json:"port_id,omitempty"`
}

CreatePrePaidPublicipOption 申请包周期弹性公网IP的publicip对象

func (CreatePrePaidPublicipOption) String

type CreatePrePaidPublicipOptionIpVersion

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

func (CreatePrePaidPublicipOptionIpVersion) MarshalJSON

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

func (*CreatePrePaidPublicipOptionIpVersion) UnmarshalJSON

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

func (CreatePrePaidPublicipOptionIpVersion) Value

type CreatePrePaidPublicipOptionIpVersionEnum

type CreatePrePaidPublicipOptionIpVersionEnum struct {
	E_4 CreatePrePaidPublicipOptionIpVersion
	E_6 CreatePrePaidPublicipOptionIpVersion
}

func GetCreatePrePaidPublicipOptionIpVersionEnum

func GetCreatePrePaidPublicipOptionIpVersionEnum() CreatePrePaidPublicipOptionIpVersionEnum

type CreatePrePaidPublicipRequest

type CreatePrePaidPublicipRequest struct {
	Body *CreatePrePaidPublicipRequestBody `json:"body,omitempty"`
}

CreatePrePaidPublicipRequest Request Object

func (CreatePrePaidPublicipRequest) String

type CreatePrePaidPublicipRequestBody

type CreatePrePaidPublicipRequestBody struct {
	Publicip *CreatePrePaidPublicipOption `json:"publicip"`

	Bandwidth *CreatePublicipBandwidthOption `json:"bandwidth"`

	ExtendParam *CreatePrePaidPublicipExtendParamOption `json:"extendParam,omitempty"`

	// 企业项目ID。最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。  创建弹性公网IP时,给弹性公网IP绑定企业项目ID。  不指定该参数时,默认值是 0
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
}

CreatePrePaidPublicipRequestBody 创建包周期的弹性公网IP

func (CreatePrePaidPublicipRequestBody) String

type CreatePrePaidPublicipResponse

type CreatePrePaidPublicipResponse struct {
	Publicip *PublicipCreateResp `json:"publicip,omitempty"`

	// 订单号(预付费场景返回该字段)
	OrderId *string `json:"order_id,omitempty"`

	// 弹性公网IP的ID(预付费场景返回该字段)
	PublicipId     *string `json:"publicip_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreatePrePaidPublicipResponse Response Object

func (CreatePrePaidPublicipResponse) String

type CreatePublicipBandwidthOption

type CreatePublicipBandwidthOption struct {

	// 功能说明:按流量计费还是按带宽计费。 取值范围:bandwidth,traffic。  不填或为空时默认是bandwidth。  其中IPv6国外默认是bandwidth,国内默认是traffic。取值为traffic,表示流量计费。
	ChargeMode *CreatePublicipBandwidthOptionChargeMode `json:"charge_mode,omitempty"`

	// 功能说明:带宽ID  创建WHOLE类型带宽的弹性公网IP时可以指定之前的共享带宽创建  取值范围:WHOLE类型的带宽ID
	Id *string `json:"id,omitempty"`

	// 功能说明:带宽名称  取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)  如果share_type是PER,该参数必须带,如果share_type是WHOLE并且id有值,该参数会忽略。
	Name *string `json:"name,omitempty"`

	// 功能说明:带宽类型 取值范围:PER,WHOLE(PER为独占带宽,WHOLE是共享带宽)。 约束:该字段为WHOLE时,必须指定带宽ID。
	ShareType CreatePublicipBandwidthOptionShareType `json:"share_type"`

	// 功能说明:带宽大小  取值范围:默认1Mbit/s~2000Mbit/s(具体范围以各区域配置为准,请参见控制台对应页面显示)。  约束:share_type是PER,该参数必须带,如果share_type是WHOLE并且id有值,该参数会忽略。  注意:调整带宽时的最小单位会根据带宽范围不同存在差异。  小于等于300Mbit/s:默认最小单位为1Mbit/s。  300Mbit/s~1000Mbit/s:默认最小单位为50Mbit/s。  大于1000Mbit/s:默认最小单位为500Mbit/s。
	Size *int32 `json:"size,omitempty"`
}

CreatePublicipBandwidthOption 创建弹性公网IP时,携带的待绑定带宽信息

func (CreatePublicipBandwidthOption) String

type CreatePublicipBandwidthOptionChargeMode

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

func (CreatePublicipBandwidthOptionChargeMode) MarshalJSON

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

func (*CreatePublicipBandwidthOptionChargeMode) UnmarshalJSON

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

func (CreatePublicipBandwidthOptionChargeMode) Value

type CreatePublicipBandwidthOptionChargeModeEnum

type CreatePublicipBandwidthOptionChargeModeEnum struct {
	BANDWIDTH CreatePublicipBandwidthOptionChargeMode
	TRAFFIC   CreatePublicipBandwidthOptionChargeMode
}

func GetCreatePublicipBandwidthOptionChargeModeEnum

func GetCreatePublicipBandwidthOptionChargeModeEnum() CreatePublicipBandwidthOptionChargeModeEnum

type CreatePublicipBandwidthOptionShareType

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

func (CreatePublicipBandwidthOptionShareType) MarshalJSON

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

func (*CreatePublicipBandwidthOptionShareType) UnmarshalJSON

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

func (CreatePublicipBandwidthOptionShareType) Value

type CreatePublicipBandwidthOptionShareTypeEnum

type CreatePublicipBandwidthOptionShareTypeEnum struct {
	WHOLE CreatePublicipBandwidthOptionShareType
	PER   CreatePublicipBandwidthOptionShareType
}

func GetCreatePublicipBandwidthOptionShareTypeEnum

func GetCreatePublicipBandwidthOptionShareTypeEnum() CreatePublicipBandwidthOptionShareTypeEnum

type CreatePublicipOption

type CreatePublicipOption struct {

	// 功能说明:希望申请到的弹性公网IP的地址,不指定时由系统自动分配  约束:必须为IP地址格式,且必须在可用地址池范围内
	IpAddress *string `json:"ip_address,omitempty"`

	// 功能说明:弹性公网IP的类型  取值范围:5_telcom(电信),5_union(联通),5_bgp(全动态BGP),5_sbgp(静态BGP),5_ipv6  东北-大连:5_telcom、5_union  华南-广州:5_bgp、5_sbgp  华东-上海二:5_bgp、5_sbgp  华北-北京一:5_bgp、5_sbgp、5_ipv6  亚太-香港:5_bgp  亚太-曼谷:5_bgp  亚太-新加坡:5_bgp  非洲-约翰内斯堡:5_bgp  西南-贵阳一:5_bgp、5_sbgp  华北-北京四:5_bgp、5_sbgp  约束:必须是系统具体支持的类型。  publicip_id为IPv4端口,所以\"publicip_type\"字段未给定时,默认为5_bgp。
	Type string `json:"type"`

	// 功能说明:弹性IP弹性公网IP的版本  取值范围:4、6,分别表示创建ipv4和ipv6  约束:必须是系统具体支持的类型  不填或空字符串时,默认创建ipv4
	IpVersion *CreatePublicipOptionIpVersion `json:"ip_version,omitempty"`

	// 功能说明:弹性公网IP名称 取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
	Alias *string `json:"alias,omitempty"`

	// 功能说明:端口id  约束:必须是存在的端口id,如果该端口不存在或端口已绑定EIP则会提示出错。
	PortId *string `json:"port_id,omitempty"`
}

CreatePublicipOption 创建弹性公网IP的IP对象

func (CreatePublicipOption) String

func (o CreatePublicipOption) String() string

type CreatePublicipOptionIpVersion

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

func (CreatePublicipOptionIpVersion) MarshalJSON

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

func (*CreatePublicipOptionIpVersion) UnmarshalJSON

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

func (CreatePublicipOptionIpVersion) Value

type CreatePublicipOptionIpVersionEnum

type CreatePublicipOptionIpVersionEnum struct {
	E_4 CreatePublicipOptionIpVersion
	E_6 CreatePublicipOptionIpVersion
}

func GetCreatePublicipOptionIpVersionEnum

func GetCreatePublicipOptionIpVersionEnum() CreatePublicipOptionIpVersionEnum

type CreatePublicipRequest

type CreatePublicipRequest struct {
	Body *CreatePublicipRequestBody `json:"body,omitempty"`
}

CreatePublicipRequest Request Object

func (CreatePublicipRequest) String

func (o CreatePublicipRequest) String() string

type CreatePublicipRequestBody

type CreatePublicipRequestBody struct {
	Bandwidth *CreatePublicipBandwidthOption `json:"bandwidth"`

	// 企业项目ID。最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。  创建弹性公网IP时,给弹性公网IP绑定企业项目ID。  不指定该参数时,默认值是 0
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	Publicip *CreatePublicipOption `json:"publicip"`
}

CreatePublicipRequestBody 创建弹性公网IP并绑定带宽的请求参数

func (CreatePublicipRequestBody) String

func (o CreatePublicipRequestBody) String() string

type CreatePublicipResponse

type CreatePublicipResponse struct {
	Publicip       *PublicipCreateResp `json:"publicip,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

CreatePublicipResponse Response Object

func (CreatePublicipResponse) String

func (o CreatePublicipResponse) String() string

type CreatePublicipTagRequest

type CreatePublicipTagRequest struct {

	// 资源ID
	PublicipId string `json:"publicip_id"`

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

CreatePublicipTagRequest Request Object

func (CreatePublicipTagRequest) String

func (o CreatePublicipTagRequest) String() string

type CreatePublicipTagRequestBody

type CreatePublicipTagRequestBody struct {
	Tag *ResourceTagOption `json:"tag"`
}

CreatePublicipTagRequestBody 创建tag对象的请求体

func (CreatePublicipTagRequestBody) String

type CreatePublicipTagResponse

type CreatePublicipTagResponse struct {
	HttpStatusCode int `json:"-"`
}

CreatePublicipTagResponse Response Object

func (CreatePublicipTagResponse) String

func (o CreatePublicipTagResponse) String() string

type CreateSharedBandwidhRequestBody

type CreateSharedBandwidhRequestBody struct {
	Bandwidth *CreateSharedBandwidthOption `json:"bandwidth"`
}

CreateSharedBandwidhRequestBody 创建共享带宽请求体

func (CreateSharedBandwidhRequestBody) String

type CreateSharedBandwidthOption

type CreateSharedBandwidthOption struct {

	// 企业项目ID。最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。  创建共享带宽时,给共享带宽绑定企业项目ID。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 取值范围:1-64,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)  功能说明:带宽名称
	Name string `json:"name"`

	// 功能说明:带宽大小。共享带宽的大小有最小值限制,默认为5M,可能因局点不同而不同。  取值范围:默认5Mbit/s~2000Mbit/s(具体范围以各区域配置为准,请参见控制台对应页面显示)。  如果传入的参数为小数(如 10.2)或者字符类型(如“10”),会自动强制转换为整数。  调整带宽时的最小单位会根据带宽范围不同存在差异。  小于等于300Mbit/s:默认最小单位为1Mbit/s。  300Mbit/s~1000Mbit/s:默认最小单位为50Mbit/s。  大于1000Mbit/s:默认最小单位为500Mbit/s。
	Size int32 `json:"size"`

	// 功能说明:按带宽计费还是按增强型95计费。  取值范围:bandwidth,95peak_plus(按增强型95计费)不返回或者为空时表示是bandwidth。  约束:只有共享带宽支持95peak_plus(按增强型95计费),按增强型95计费时需要指定保底百分比,默认是20%。
	ChargeMode *CreateSharedBandwidthOptionChargeMode `json:"charge_mode,omitempty"`

	// 功能说明:表示中心站点资源或者边缘站点资源 取值范围: center、边缘站点名称 约束:共享带宽只能插入与该字段相同的publicip
	PublicBorderGroup *string `json:"public_border_group,omitempty"`

	// 功能说明:指定带宽类型创建,默认中心站点为share,边缘站点为edgeshare 取值范围: 查询当前租户可见的带宽类型列表获取
	BandwidthType *string `json:"bandwidth_type,omitempty"`
}

CreateSharedBandwidthOption 创建带宽的请求体

func (CreateSharedBandwidthOption) String

type CreateSharedBandwidthOptionChargeMode

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

func (CreateSharedBandwidthOptionChargeMode) MarshalJSON

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

func (*CreateSharedBandwidthOptionChargeMode) UnmarshalJSON

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

func (CreateSharedBandwidthOptionChargeMode) Value

type CreateSharedBandwidthOptionChargeModeEnum

type CreateSharedBandwidthOptionChargeModeEnum struct {
	BANDWIDTH     CreateSharedBandwidthOptionChargeMode
	E_95PEAK_PLUS CreateSharedBandwidthOptionChargeMode
}

func GetCreateSharedBandwidthOptionChargeModeEnum

func GetCreateSharedBandwidthOptionChargeModeEnum() CreateSharedBandwidthOptionChargeModeEnum

type CreateSharedBandwidthRequest

type CreateSharedBandwidthRequest struct {
	Body *CreateSharedBandwidhRequestBody `json:"body,omitempty"`
}

CreateSharedBandwidthRequest Request Object

func (CreateSharedBandwidthRequest) String

type CreateSharedBandwidthResponse

type CreateSharedBandwidthResponse struct {
	Bandwidth      *BandwidthResp `json:"bandwidth,omitempty"`
	HttpStatusCode int            `json:"-"`
}

CreateSharedBandwidthResponse Response Object

func (CreateSharedBandwidthResponse) String

type DeletePublicipRequest

type DeletePublicipRequest struct {

	// 弹性公网IP唯一标识
	PublicipId string `json:"publicip_id"`
}

DeletePublicipRequest Request Object

func (DeletePublicipRequest) String

func (o DeletePublicipRequest) String() string

type DeletePublicipResponse

type DeletePublicipResponse struct {
	HttpStatusCode int `json:"-"`
}

DeletePublicipResponse Response Object

func (DeletePublicipResponse) String

func (o DeletePublicipResponse) String() string

type DeletePublicipTagRequest

type DeletePublicipTagRequest struct {

	// 弹性公网IP的id
	PublicipId string `json:"publicip_id"`

	// 标签的键
	Key string `json:"key"`
}

DeletePublicipTagRequest Request Object

func (DeletePublicipTagRequest) String

func (o DeletePublicipTagRequest) String() string

type DeletePublicipTagResponse

type DeletePublicipTagResponse struct {
	HttpStatusCode int `json:"-"`
}

DeletePublicipTagResponse Response Object

func (DeletePublicipTagResponse) String

func (o DeletePublicipTagResponse) String() string

type DeleteSharedBandwidthRequest

type DeleteSharedBandwidthRequest struct {

	// 带宽唯一标识  约束: 当前仅支持删除共享带宽
	BandwidthId string `json:"bandwidth_id"`
}

DeleteSharedBandwidthRequest Request Object

func (DeleteSharedBandwidthRequest) String

type DeleteSharedBandwidthResponse

type DeleteSharedBandwidthResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteSharedBandwidthResponse Response Object

func (DeleteSharedBandwidthResponse) String

type FloatingIpResp

type FloatingIpResp struct {

	// 关联端口的私有IP地址。
	FixedIpAddress *string `json:"fixed_ip_address,omitempty"`

	// 浮动IP地址。
	FloatingIpAddress *string `json:"floating_ip_address,omitempty"`

	// 外部网络的id。只能使用固定的外网,外部网络的信息请通过GET /v2.0/networks?router:external=True或GET /v2.0/networks?name={floating_network}或neutron net-external-list方式查询。
	FloatingNetworkId *string `json:"floating_network_id,omitempty"`

	// 浮动IP地址的id。
	Id *string `json:"id,omitempty"`

	// 端口id。
	PortId *string `json:"port_id,omitempty"`

	// 所属路由器id。
	RouterId *string `json:"router_id,omitempty"`

	// 网络状态,可以为ACTIVE, DOWN或ERROR。  DOWN:未绑定  ACTIVE:绑定  ERROR:异常
	Status *FloatingIpRespStatus `json:"status,omitempty"`

	// 项目id。
	TenantId *string `json:"tenant_id,omitempty"`

	// 项目id。
	ProjectId *string `json:"project_id,omitempty"`

	// DNS名称(目前仅广州局点支持)
	DnsName *string `json:"dns_name,omitempty"`

	// DNS域地址(目前仅广州局点支持)
	DnsDomain *string `json:"dns_domain,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"`
}

FloatingIpResp floatingip对象

func (FloatingIpResp) String

func (o FloatingIpResp) String() string

type FloatingIpRespStatus

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

func (FloatingIpRespStatus) MarshalJSON

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

func (*FloatingIpRespStatus) UnmarshalJSON

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

func (FloatingIpRespStatus) Value

func (c FloatingIpRespStatus) Value() string

type FloatingIpRespStatusEnum

type FloatingIpRespStatusEnum struct {
	ACTIVE FloatingIpRespStatus
	DOWN   FloatingIpRespStatus
	ERROR  FloatingIpRespStatus
}

func GetFloatingIpRespStatusEnum

func GetFloatingIpRespStatusEnum() FloatingIpRespStatusEnum

type InsertPublicipInfo

type InsertPublicipInfo struct {

	// 功能说明:若publicip_id为弹性公网IP的id,则该字段可自动忽略。若publicip_id为IPv6端口PORT的id,则该字段必填:5_dualStack(目前仅北京4局点支持)
	PublicipType *string `json:"publicip_type,omitempty"`

	// 功能说明:带宽对应的弹性公网IP或IPv6端口PORT的唯一标识
	PublicipId string `json:"publicip_id"`
}

InsertPublicipInfo 共享带宽插入/移除弹性公网IP的publicip_info字段

func (InsertPublicipInfo) String

func (o InsertPublicipInfo) String() string

type ListBandwidthPkgRequest

type ListBandwidthPkgRequest struct {

	// 每页返回的个数取值范围:0~[2000],其中2000为局点差异项,具体取值由局点决定
	Limit *int32 `json:"limit,omitempty"`

	// 分页查询起始的资源ID,为空时为查询第一页
	Marker *string `json:"marker,omitempty"`

	// 分页查询起始的资源序号
	Offset *int32 `json:"offset,omitempty"`
}

ListBandwidthPkgRequest Request Object

func (ListBandwidthPkgRequest) String

func (o ListBandwidthPkgRequest) String() string

type ListBandwidthPkgResponse

type ListBandwidthPkgResponse struct {

	// bandwidthpkg对象列表
	Bandwidthpkgs *[]BandwidthPkgResp `json:"bandwidthpkgs,omitempty"`

	// 翻页展示
	BandwidthpkgsLinks *[]BandwidthPkgPage `json:"bandwidthpkgs_links,omitempty"`
	HttpStatusCode     int                 `json:"-"`
}

ListBandwidthPkgResponse Response Object

func (ListBandwidthPkgResponse) String

func (o ListBandwidthPkgResponse) String() string

type ListBandwidthsRequest

type ListBandwidthsRequest struct {

	// 取值为上一页数据的最后一条记录的id,为空时为查询第一页
	Marker *string `json:"marker,omitempty"`

	// 功能说明:每页返回的个数  取值范围:0~intmax
	Limit *int32 `json:"limit,omitempty"`

	// 功能说明:企业项目ID。可以使用该字段过滤某个企业项目下的虚拟私有云。  取值范围:最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。“0”表示默认企业项目。若需要查询当前用户所有企业项目绑定的虚拟私有云,请传参all_granted_eps。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 功能说明:带宽类型,标识是否是共享带宽 取值范围:WHOLE,PER WHOLE表示共享带宽;PER,表示独享带宽
	ShareType *ListBandwidthsRequestShareType `json:"share_type,omitempty"`
}

ListBandwidthsRequest Request Object

func (ListBandwidthsRequest) String

func (o ListBandwidthsRequest) String() string

type ListBandwidthsRequestShareType

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

func (ListBandwidthsRequestShareType) MarshalJSON

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

func (*ListBandwidthsRequestShareType) UnmarshalJSON

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

func (ListBandwidthsRequestShareType) Value

type ListBandwidthsRequestShareTypeEnum

type ListBandwidthsRequestShareTypeEnum struct {
	WHOLE ListBandwidthsRequestShareType
	PER   ListBandwidthsRequestShareType
}

func GetListBandwidthsRequestShareTypeEnum

func GetListBandwidthsRequestShareTypeEnum() ListBandwidthsRequestShareTypeEnum

type ListBandwidthsResponse

type ListBandwidthsResponse struct {

	// 带宽列表对象
	Bandwidths     *[]BandwidthResp `json:"bandwidths,omitempty"`
	HttpStatusCode int              `json:"-"`
}

ListBandwidthsResponse Response Object

func (ListBandwidthsResponse) String

func (o ListBandwidthsResponse) String() string

type ListPublicipTagsRequest

type ListPublicipTagsRequest struct {
}

ListPublicipTagsRequest Request Object

func (ListPublicipTagsRequest) String

func (o ListPublicipTagsRequest) String() string

type ListPublicipTagsResponse

type ListPublicipTagsResponse struct {

	// 标签列表
	Tags           *[]TagResp `json:"tags,omitempty"`
	HttpStatusCode int        `json:"-"`
}

ListPublicipTagsResponse Response Object

func (ListPublicipTagsResponse) String

func (o ListPublicipTagsResponse) String() string

type ListPublicipsByTagsRequest

type ListPublicipsByTagsRequest struct {
	Body *ListPublicipsByTagsRequestBody `json:"body,omitempty"`
}

ListPublicipsByTagsRequest Request Object

func (ListPublicipsByTagsRequest) String

type ListPublicipsByTagsRequestBody

type ListPublicipsByTagsRequestBody struct {

	// 包含标签,最多包含10个key。  每个key下面的value最多10个,结构体不能缺失,key不能为空或者空字符串。  Key不能重复,同一个key中values不能重复。
	Tags *[]TagReq `json:"tags,omitempty"`

	// 查询记录数(action为count时无此参数)
	Limit *int32 `json:"limit,omitempty"`

	// 索引位置, 从offset指定的下一条数据开始查询。 查询第一页数据时,不需要传入此参数,查询后续页码数据时,将查询前一页数据时响应体中的值带入此参数(action为count时无此参数)
	Offset *int32 `json:"offset,omitempty"`

	// 操作标识:  filter分页查询  count查询总数
	Action ListPublicipsByTagsRequestBodyAction `json:"action"`

	// 搜索字段,key为要匹配的字段,当前仅支持resource_name。value为匹配的值。此字段为固定字典值。
	Matches *[]MatchReq `json:"matches,omitempty"`
}

ListPublicipsByTagsRequestBody 通过标签过滤弹性公网IP的请求体

func (ListPublicipsByTagsRequestBody) String

type ListPublicipsByTagsRequestBodyAction

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

func (ListPublicipsByTagsRequestBodyAction) MarshalJSON

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

func (*ListPublicipsByTagsRequestBodyAction) UnmarshalJSON

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

func (ListPublicipsByTagsRequestBodyAction) Value

type ListPublicipsByTagsRequestBodyActionEnum

type ListPublicipsByTagsRequestBodyActionEnum struct {
	FILTER ListPublicipsByTagsRequestBodyAction
	COUNT  ListPublicipsByTagsRequestBodyAction
}

func GetListPublicipsByTagsRequestBodyActionEnum

func GetListPublicipsByTagsRequestBodyActionEnum() ListPublicipsByTagsRequestBodyActionEnum

type ListPublicipsByTagsResponse

type ListPublicipsByTagsResponse struct {

	// resource对象列表
	Resources *[]ListResourceResp `json:"resources,omitempty"`

	// 总记录数
	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListPublicipsByTagsResponse Response Object

func (ListPublicipsByTagsResponse) String

type ListPublicipsRequest

type ListPublicipsRequest struct {

	// 取值为上一页数据的最后一条记录的id,为空时为查询第一页
	Marker *string `json:"marker,omitempty"`

	// 功能说明:每页返回的个数  取值范围:0~intmax
	Limit *int32 `json:"limit,omitempty"`

	// IP地址版本信息  4:IPv4  6:IPv6
	IpVersion *ListPublicipsRequestIpVersion `json:"ip_version,omitempty"`

	// 功能说明:企业项目ID。可以使用该字段过滤某个企业项目下的弹性IP弹性公网IP。  取值范围:最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。“0”表示默认企业项目。若需要查询当前用户所有企业项目绑定的弹性公网IP,请传参all_granted_eps。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 绑定弹性公网IP的端口id
	PortId *[]string `json:"port_id,omitempty"`

	// IPv4时是申请到的弹性公网IP地址,IPv6时是IPv6地址对应的IPv4地址
	PublicIpAddress *[]string `json:"public_ip_address,omitempty"`

	// 关联端口的私有IP地址
	PrivateIpAddress *[]string `json:"private_ip_address,omitempty"`

	// 弹性公网IP唯一标识
	Id *[]string `json:"id,omitempty"`

	// 共享带宽类型,根据任一共享带宽类型过滤EIP列表。 可以指定多个带宽类型,不同的带宽类型间用逗号分隔。
	AllowShareBandwidthTypeAny *[]string `json:"allow_share_bandwidth_type_any,omitempty"`
}

ListPublicipsRequest Request Object

func (ListPublicipsRequest) String

func (o ListPublicipsRequest) String() string

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

type ListPublicipsRequestIpVersionEnum

type ListPublicipsRequestIpVersionEnum struct {
	E_4 ListPublicipsRequestIpVersion
	E_6 ListPublicipsRequestIpVersion
}

func GetListPublicipsRequestIpVersionEnum

func GetListPublicipsRequestIpVersionEnum() ListPublicipsRequestIpVersionEnum

type ListPublicipsResponse

type ListPublicipsResponse struct {

	// 弹性公网IP对象
	Publicips      *[]PublicipShowResp `json:"publicips,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

ListPublicipsResponse Response Object

func (ListPublicipsResponse) String

func (o ListPublicipsResponse) String() string

type ListQuotasRequest

type ListQuotasRequest struct {

	// 功能说明:根据type过滤查询指定类型的配额 取值范围:vpc,subnet,securityGroup,securityGroupRule,publicIp,vpn,vpngw,vpcPeer,firewall,shareBandwidth,shareBandwidthIP,loadbalancer,listener
	Type *string `json:"type,omitempty"`
}

ListQuotasRequest Request Object

func (ListQuotasRequest) String

func (o ListQuotasRequest) String() string

type ListQuotasResponse

type ListQuotasResponse struct {
	Quotas         *ResourceResp `json:"quotas,omitempty"`
	HttpStatusCode int           `json:"-"`
}

ListQuotasResponse Response Object

func (ListQuotasResponse) String

func (o ListQuotasResponse) String() string

type ListResourceResp

type ListResourceResp struct {

	// 资源详情。 资源对象,用于扩展。默认为空
	ResourceDetail *interface{} `json:"resource_detail,omitempty"`

	// 资源ID
	ResourceId *string `json:"resource_id,omitempty"`

	// 资源名称,没有默认为空字符串
	ResourceName *string `json:"resource_name,omitempty"`

	// 标签列表,没有标签默认为空数组
	Tags *[]ResourceTagResp `json:"tags,omitempty"`
}

ListResourceResp 资源实例详情

func (ListResourceResp) String

func (o ListResourceResp) String() string

type MatchReq

type MatchReq struct {

	// 键。当前仅限定为resource_name
	Key MatchReqKey `json:"key"`

	// 值。每个值最大长度255个unicode字符。
	Value string `json:"value"`
}

MatchReq 搜索字段

func (MatchReq) String

func (o MatchReq) String() string

type MatchReqKey

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

func (MatchReqKey) MarshalJSON

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

func (*MatchReqKey) UnmarshalJSON

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

func (MatchReqKey) Value

func (c MatchReqKey) Value() string

type MatchReqKeyEnum

type MatchReqKeyEnum struct {
	RESOURCE_NAME MatchReqKey
}

func GetMatchReqKeyEnum

func GetMatchReqKeyEnum() MatchReqKeyEnum

type NeutronCreateFloatingIpRequest

type NeutronCreateFloatingIpRequest struct {
	Body *NeutronCreateFloatingIpRequestBody `json:"body,omitempty"`
}

NeutronCreateFloatingIpRequest Request Object

func (NeutronCreateFloatingIpRequest) String

type NeutronCreateFloatingIpRequestBody

type NeutronCreateFloatingIpRequestBody struct {
	Floatingip *CreateFloatingIpOption `json:"floatingip"`
}

NeutronCreateFloatingIpRequestBody 创建floatingip对象

func (NeutronCreateFloatingIpRequestBody) String

type NeutronCreateFloatingIpResponse

type NeutronCreateFloatingIpResponse struct {
	Floatingip     *PostAndPutFloatingIpResp `json:"floatingip,omitempty"`
	HttpStatusCode int                       `json:"-"`
}

NeutronCreateFloatingIpResponse Response Object

func (NeutronCreateFloatingIpResponse) String

type NeutronDeleteFloatingIpRequest

type NeutronDeleteFloatingIpRequest struct {

	// floatingip的ID
	FloatingipId string `json:"floatingip_id"`
}

NeutronDeleteFloatingIpRequest Request Object

func (NeutronDeleteFloatingIpRequest) String

type NeutronDeleteFloatingIpResponse

type NeutronDeleteFloatingIpResponse struct {
	HttpStatusCode int `json:"-"`
}

NeutronDeleteFloatingIpResponse Response Object

func (NeutronDeleteFloatingIpResponse) String

type NeutronListFloatingIpsRequest

type NeutronListFloatingIpsRequest struct {

	// 每页显示的条目数量。
	Limit *int32 `json:"limit,omitempty"`

	// 取值为上一页数据的最后一条记录的id,当marker参数为无效id时,response将响应错误码400
	Marker *string `json:"marker,omitempty"`

	// False/True,是否设置分页的顺序。
	PageReverse *bool `json:"page_reverse,omitempty"`

	// 浮动IP的id。
	Id *string `json:"id,omitempty"`

	// 浮动IP地址。
	FloatingIpAddress *string `json:"floating_ip_address,omitempty"`

	// 所属路由器id。
	RouterId *string `json:"router_id,omitempty"`

	// 端口id。
	PortId *string `json:"port_id,omitempty"`

	// 关联端口的私有IP地址。
	FixedIpAddress *string `json:"fixed_ip_address,omitempty"`

	// 项目ID。
	TenantId *string `json:"tenant_id,omitempty"`

	// 外部网络的id。只能使用固定的外网,外部网络的信息请通过GET /v2.0/networks?router:external=True或GET /v2.0/networks?name={floating_network}或neutron net-external-list方式查询
	FloatingNetworkId *string `json:"floating_network_id,omitempty"`
}

NeutronListFloatingIpsRequest Request Object

func (NeutronListFloatingIpsRequest) String

type NeutronListFloatingIpsResponse

type NeutronListFloatingIpsResponse struct {

	// floatingip对象列表
	Floatingips *[]FloatingIpResp `json:"floatingips,omitempty"`

	// marker分页结构
	FloatingipsLinks *[]Pager `json:"floatingips_links,omitempty"`
	HttpStatusCode   int      `json:"-"`
}

NeutronListFloatingIpsResponse Response Object

func (NeutronListFloatingIpsResponse) String

type NeutronShowFloatingIpRequest

type NeutronShowFloatingIpRequest struct {

	// floatingip的ID
	FloatingipId string `json:"floatingip_id"`
}

NeutronShowFloatingIpRequest Request Object

func (NeutronShowFloatingIpRequest) String

type NeutronShowFloatingIpResponse

type NeutronShowFloatingIpResponse struct {
	Floatingip     *FloatingIpResp `json:"floatingip,omitempty"`
	HttpStatusCode int             `json:"-"`
}

NeutronShowFloatingIpResponse Response Object

func (NeutronShowFloatingIpResponse) String

type NeutronUpdateFloatingIpRequest

type NeutronUpdateFloatingIpRequest struct {

	// floatingip的ID
	FloatingipId string `json:"floatingip_id"`

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

NeutronUpdateFloatingIpRequest Request Object

func (NeutronUpdateFloatingIpRequest) String

type NeutronUpdateFloatingIpRequestBody

type NeutronUpdateFloatingIpRequestBody struct {
	Floatingip *UpdateFloatingIpOption `json:"floatingip"`
}

NeutronUpdateFloatingIpRequestBody 更新floatingip的请求体

func (NeutronUpdateFloatingIpRequestBody) String

type NeutronUpdateFloatingIpResponse

type NeutronUpdateFloatingIpResponse struct {
	Floatingip     *PostAndPutFloatingIpResp `json:"floatingip,omitempty"`
	HttpStatusCode int                       `json:"-"`
}

NeutronUpdateFloatingIpResponse Response Object

func (NeutronUpdateFloatingIpResponse) String

type Pager

type Pager struct {

	// 页码url
	Href *string `json:"href,omitempty"`

	// next:下一页  previous:前一页
	Rel *PagerRel `json:"rel,omitempty"`
}

Pager marker分页结构

func (Pager) String

func (o Pager) String() string

type PagerRel

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

func (PagerRel) MarshalJSON

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

func (*PagerRel) UnmarshalJSON

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

func (PagerRel) Value

func (c PagerRel) Value() string

type PagerRelEnum

type PagerRelEnum struct {
	NEXT     PagerRel
	PREVIOUS PagerRel
}

func GetPagerRelEnum

func GetPagerRelEnum() PagerRelEnum

type PostAndPutFloatingIpResp

type PostAndPutFloatingIpResp struct {

	// 关联端口的私有IP地址。
	FixedIpAddress *string `json:"fixed_ip_address,omitempty"`

	// 浮动IP地址。
	FloatingIpAddress *string `json:"floating_ip_address,omitempty"`

	// 外部网络的id。只能使用固定的外网,外部网络的信息请通过GET /v2.0/networks?router:external=True或GET /v2.0/networks?name={floating_network}或neutron net-external-list方式查询。
	FloatingNetworkId *string `json:"floating_network_id,omitempty"`

	// 浮动IP地址的id。
	Id *string `json:"id,omitempty"`

	// 端口id。
	PortId *string `json:"port_id,omitempty"`

	// 所属路由器id。
	RouterId *string `json:"router_id,omitempty"`

	// 网络状态,可以为ACTIVE, DOWN或ERROR。  DOWN:未绑定  ACTIVE:绑定  ERROR:异常
	Status *PostAndPutFloatingIpRespStatus `json:"status,omitempty"`

	// 项目id。
	TenantId *string `json:"tenant_id,omitempty"`

	// DNS名称(目前仅广州局点支持)
	DnsName *string `json:"dns_name,omitempty"`

	// DNS域地址(目前仅广州局点支持)
	DnsDomain *string `json:"dns_domain,omitempty"`
}

PostAndPutFloatingIpResp floatingip对象

func (PostAndPutFloatingIpResp) String

func (o PostAndPutFloatingIpResp) String() string

type PostAndPutFloatingIpRespStatus

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

func (PostAndPutFloatingIpRespStatus) MarshalJSON

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

func (*PostAndPutFloatingIpRespStatus) UnmarshalJSON

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

func (PostAndPutFloatingIpRespStatus) Value

type PostAndPutFloatingIpRespStatusEnum

type PostAndPutFloatingIpRespStatusEnum struct {
	ACTIVE PostAndPutFloatingIpRespStatus
	DOWN   PostAndPutFloatingIpRespStatus
	ERROR  PostAndPutFloatingIpRespStatus
}

func GetPostAndPutFloatingIpRespStatusEnum

func GetPostAndPutFloatingIpRespStatusEnum() PostAndPutFloatingIpRespStatusEnum

type ProfileResp

type ProfileResp struct {

	// 订单的id
	OrderId *string `json:"order_id,omitempty"`

	// 产品的id
	ProductId *string `json:"product_id,omitempty"`

	// region的id
	RegionId *string `json:"region_id,omitempty"`

	// 用户的id
	UserId *string `json:"user_id,omitempty"`
}

ProfileResp Profile对象

func (ProfileResp) String

func (o ProfileResp) String() string

type PublicipCreateResp

type PublicipCreateResp struct {

	// 带宽大小,单位为Mbit/s。
	BandwidthSize *int32 `json:"bandwidth_size,omitempty"`

	// 弹性公网IP申请时间(UTC时间)
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 弹性公网IP唯一标识
	Id *string `json:"id,omitempty"`

	// IPv4时是申请到的弹性公网IP地址,IPv6时是IPv6地址对应的IPv4地址
	PublicIpAddress *string `json:"public_ip_address,omitempty"`

	// 功能说明:弹性公网IP的状态  取值范围:冻结FREEZED,绑定失败BIND_ERROR,绑定中BINDING,释放中PENDING_DELETE, 创建中PENDING_CREATE,创建中NOTIFYING,释放中NOTIFY_DELETE,更新中PENDING_UPDATE, 未绑定DOWN ,绑定ACTIVE,绑定ELB,绑定VPN,失败ERROR。
	Status *PublicipCreateRespStatus `json:"status,omitempty"`

	// 项目ID
	TenantId *string `json:"tenant_id,omitempty"`

	// 功能说明:弹性IP弹性公网IP的类型  取值范围:5_telcom(电信),5_union(联通),5_bgp(全动态BGP),5_sbgp(静态BGP),5_ipv6  东北-大连:5_telcom、5_union  华南-广州:5_bgp、5_sbgp  华东-上海二:5_bgp、5_sbgp  华北-北京一:5_bgp、5_sbgp、5_ipv6  亚太-香港:5_bgp  亚太-曼谷:5_bgp  亚太-新加坡:5_bgp  非洲-约翰内斯堡:5_bgp  西南-贵阳一:5_bgp、5_sbgp  华北-北京四:5_bgp、5_sbgp  约束:必须是系统具体支持的类型publicip_id为IPv4端口,所以\"publicip_type\"字段未给定时,默认为5_bgp。
	Type *string `json:"type,omitempty"`

	// IPv4时无此字段,IPv6时为申请到的弹性公网IP地址
	PublicIpv6Address *string `json:"public_ipv6_address,omitempty"`

	// IP版本信息,取值范围是4和6
	IpVersion *PublicipCreateRespIpVersion `json:"ip_version,omitempty"`

	// 企业项目ID。最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。  创建弹性公网IP时,给弹性公网IP绑定企业项目ID。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 功能说明:弹性公网IP名称 取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
	Alias *string `json:"alias,omitempty"`
}

PublicipCreateResp 弹性公网IP对象

func (PublicipCreateResp) String

func (o PublicipCreateResp) String() string

type PublicipCreateRespIpVersion

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

func (PublicipCreateRespIpVersion) MarshalJSON

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

func (*PublicipCreateRespIpVersion) UnmarshalJSON

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

func (PublicipCreateRespIpVersion) Value

type PublicipCreateRespIpVersionEnum

type PublicipCreateRespIpVersionEnum struct {
	E_4 PublicipCreateRespIpVersion
	E_6 PublicipCreateRespIpVersion
}

func GetPublicipCreateRespIpVersionEnum

func GetPublicipCreateRespIpVersionEnum() PublicipCreateRespIpVersionEnum

type PublicipCreateRespStatus

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

func (PublicipCreateRespStatus) MarshalJSON

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

func (*PublicipCreateRespStatus) UnmarshalJSON

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

func (PublicipCreateRespStatus) Value

func (c PublicipCreateRespStatus) Value() string

type PublicipInfoResp

type PublicipInfoResp struct {

	// 功能说明:弹性公网IP或者IPv6端口的地址
	PublicipAddress *string `json:"publicip_address,omitempty"`

	// 功能说明:带宽对应的弹性公网IP或者IPv6端口的唯一标识
	PublicipId *string `json:"publicip_id,omitempty"`

	// 功能说明:弹性公网IP或者IPv6端口的类型  取值范围:5_telcom(电信),5_union(联通),5_bgp(全动态BGP),5_sbgp(静态BGP),5_ipv6  东北-大连:5_telcom、5_union  华南-广州:5_bgp、5_sbgp  华东-上海二:5_bgp、5_sbgp  华北-北京一:5_bgp、5_sbgp、5_ipv6  亚太-香港:5_bgp  亚太-曼谷:5_bgp  亚太-新加坡:5_bgp  非洲-约翰内斯堡:5_bgp  西南-贵阳一:5_bgp、5_sbgp  华北-北京四:5_bgp、5_sbgp  约束:必须是系统具体支持的类型
	PublicipType *string `json:"publicip_type,omitempty"`

	// 功能说明:IPv4时无此字段,IPv6时为申请到的弹性公网IP地址
	Publicipv6Address *string `json:"publicipv6_address,omitempty"`

	// IP版本信息  取值范围:  4:IPv4  6:IPv6
	IpVersion *PublicipInfoRespIpVersion `json:"ip_version,omitempty"`
}

PublicipInfoResp PublicipInfo对象

func (PublicipInfoResp) String

func (o PublicipInfoResp) String() string

type PublicipInfoRespIpVersion

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

func (PublicipInfoRespIpVersion) MarshalJSON

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

func (*PublicipInfoRespIpVersion) UnmarshalJSON

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

func (PublicipInfoRespIpVersion) Value

func (c PublicipInfoRespIpVersion) Value() int32

type PublicipInfoRespIpVersionEnum

type PublicipInfoRespIpVersionEnum struct {
	E_4 PublicipInfoRespIpVersion
	E_6 PublicipInfoRespIpVersion
}

func GetPublicipInfoRespIpVersionEnum

func GetPublicipInfoRespIpVersionEnum() PublicipInfoRespIpVersionEnum

type PublicipShowResp

type PublicipShowResp struct {

	// 弹性公网IP对应带宽ID
	BandwidthId *string `json:"bandwidth_id,omitempty"`

	// 带宽名称
	BandwidthName *string `json:"bandwidth_name,omitempty"`

	// 表示共享带宽或者独享带宽  取值范围:PER,WHOLE。  WHOLE表示共享带宽  PER表示独享带宽  约束:其中IPv6暂不支持WHOLE类型带宽。
	BandwidthShareType *PublicipShowRespBandwidthShareType `json:"bandwidth_share_type,omitempty"`

	// 带宽大小,单位为Mbit/s。
	BandwidthSize *int32 `json:"bandwidth_size,omitempty"`

	// 弹性公网IP申请时间(UTC)
	CreateTime *string `json:"create_time,omitempty"`

	// 企业项目ID。最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。  创建弹性公网IP时,给弹性公网IP绑定企业项目ID。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 弹性公网IP唯一标识
	Id *string `json:"id,omitempty"`

	// 功能说明:端口id。  约束:只有绑定了的弹性公网IP查询才会返回该参数
	PortId *string `json:"port_id,omitempty"`

	// 功能说明:绑定弹性公网IP的私有IP地址  约束:只有绑定了的弹性公网IP查询才会返回该参数
	PrivateIpAddress *string `json:"private_ip_address,omitempty"`

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

	// IPv4时是申请到的弹性公网IP地址,IPv6时是IPv6地址对应的IPv4地址
	PublicIpAddress *string `json:"public_ip_address,omitempty"`

	// 功能说明:弹性公网IP的状态  取值范围:冻结FREEZED,绑定失败BIND_ERROR,绑定中BINDING,释放中PENDING_DELETE, 创建中PENDING_CREATE,创建中NOTIFYING,释放中NOTIFY_DELETE,更新中PENDING_UPDATE, 未绑定DOWN ,绑定ACTIVE,绑定ELB,绑定VPN,失败ERROR。
	Status *PublicipShowRespStatus `json:"status,omitempty"`

	// 项目ID
	TenantId *string `json:"tenant_id,omitempty"`

	// 弹性公网IP的类型
	Type *string `json:"type,omitempty"`

	// IPv4时无此字段,IPv6时为申请到的弹性公网IP地址
	PublicIpv6Address *string `json:"public_ipv6_address,omitempty"`

	// IP版本信息,取值范围是4和6  4:表示IPv4  6:表示IPv6
	IpVersion *PublicipShowRespIpVersion `json:"ip_version,omitempty"`

	// 功能说明:表示中心站点资源或者边缘站点资源 取值范围: center、边缘站点名称 约束:publicip只能绑定该字段相同的资源
	PublicBorderGroup *string `json:"public_border_group,omitempty"`

	// 功能说明:表示此publicip可以加入的共享带宽类型列表,如果为空列表,则表示该           publicip不能加入任何共享带宽 约束:publicip只能加入到有该带宽类型的共享带宽中
	AllowShareBandwidthTypes *[]string `json:"allow_share_bandwidth_types,omitempty"`

	// 功能说明:弹性公网IP名称 取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
	Alias *string `json:"alias,omitempty"`
}

PublicipShowResp 弹性公网IP列表返回体

func (PublicipShowResp) String

func (o PublicipShowResp) String() string

type PublicipShowRespBandwidthShareType

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

func (PublicipShowRespBandwidthShareType) MarshalJSON

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

func (*PublicipShowRespBandwidthShareType) UnmarshalJSON

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

func (PublicipShowRespBandwidthShareType) Value

type PublicipShowRespBandwidthShareTypeEnum

type PublicipShowRespBandwidthShareTypeEnum struct {
	WHOLE PublicipShowRespBandwidthShareType
	PER   PublicipShowRespBandwidthShareType
}

func GetPublicipShowRespBandwidthShareTypeEnum

func GetPublicipShowRespBandwidthShareTypeEnum() PublicipShowRespBandwidthShareTypeEnum

type PublicipShowRespIpVersion

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

func (PublicipShowRespIpVersion) MarshalJSON

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

func (*PublicipShowRespIpVersion) UnmarshalJSON

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

func (PublicipShowRespIpVersion) Value

func (c PublicipShowRespIpVersion) Value() int32

type PublicipShowRespIpVersionEnum

type PublicipShowRespIpVersionEnum struct {
	E_4 PublicipShowRespIpVersion
	E_6 PublicipShowRespIpVersion
}

func GetPublicipShowRespIpVersionEnum

func GetPublicipShowRespIpVersionEnum() PublicipShowRespIpVersionEnum

type PublicipShowRespStatus

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

func (PublicipShowRespStatus) MarshalJSON

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

func (*PublicipShowRespStatus) UnmarshalJSON

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

func (PublicipShowRespStatus) Value

func (c PublicipShowRespStatus) Value() string

type PublicipUpdateResp

type PublicipUpdateResp struct {

	// 弹性公网IP对应带宽ID
	BandwidthId *string `json:"bandwidth_id,omitempty"`

	// 带宽名称
	BandwidthName *string `json:"bandwidth_name,omitempty"`

	// 表示共享带宽或者独享带宽  取值范围:PER,WHOLE。  WHOLE表示共享带宽  PER表示独享带宽  约束:其中IPv6暂不支持WHOLE类型带宽。
	BandwidthShareType *PublicipUpdateRespBandwidthShareType `json:"bandwidth_share_type,omitempty"`

	// 带宽大小,单位为Mbit/s。
	BandwidthSize *int32 `json:"bandwidth_size,omitempty"`

	// 弹性公网IP申请时间(UTC)
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 企业项目ID。最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。  创建弹性公网IP时,给弹性公网IP绑定企业项目ID。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 弹性公网IP唯一标识
	Id *string `json:"id,omitempty"`

	// 功能说明:端口id。  约束:只有绑定了的弹性公网IP查询才会返回该参数
	PortId *string `json:"port_id,omitempty"`

	// 功能说明:绑定弹性公网IP的私有IP地址  约束:只有绑定了的弹性公网IP查询才会返回该参数
	PrivateIpAddress *string `json:"private_ip_address,omitempty"`

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

	// IPv4时是申请到的弹性公网IP地址,IPv6时是IPv6地址对应的IPv4地址
	PublicIpAddress *string `json:"public_ip_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"`

	// 项目ID
	TenantId *string `json:"tenant_id,omitempty"`

	// 弹性公网IP的类型
	Type *string `json:"type,omitempty"`

	// IPv4时无此字段,IPv6时为申请到的弹性公网IP地址
	PublicIpv6Address *string `json:"public_ipv6_address,omitempty"`

	// IP版本信息,取值范围是4和6  4:表示IPv4  6:表示IPv6
	IpVersion *PublicipUpdateRespIpVersion `json:"ip_version,omitempty"`

	// 功能说明:弹性公网IP名称 取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
	Alias *string `json:"alias,omitempty"`
}

PublicipUpdateResp 弹性公网IP列表返回体

func (PublicipUpdateResp) String

func (o PublicipUpdateResp) String() string

type PublicipUpdateRespBandwidthShareType

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

func (PublicipUpdateRespBandwidthShareType) MarshalJSON

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

func (*PublicipUpdateRespBandwidthShareType) UnmarshalJSON

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

func (PublicipUpdateRespBandwidthShareType) Value

type PublicipUpdateRespBandwidthShareTypeEnum

type PublicipUpdateRespBandwidthShareTypeEnum struct {
	WHOLE PublicipUpdateRespBandwidthShareType
	PER   PublicipUpdateRespBandwidthShareType
}

func GetPublicipUpdateRespBandwidthShareTypeEnum

func GetPublicipUpdateRespBandwidthShareTypeEnum() PublicipUpdateRespBandwidthShareTypeEnum

type PublicipUpdateRespIpVersion

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

func (PublicipUpdateRespIpVersion) MarshalJSON

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

func (*PublicipUpdateRespIpVersion) UnmarshalJSON

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

func (PublicipUpdateRespIpVersion) Value

type PublicipUpdateRespIpVersionEnum

type PublicipUpdateRespIpVersionEnum struct {
	E_4 PublicipUpdateRespIpVersion
	E_6 PublicipUpdateRespIpVersion
}

func GetPublicipUpdateRespIpVersionEnum

func GetPublicipUpdateRespIpVersionEnum() PublicipUpdateRespIpVersionEnum

type PublicipUpdateRespStatus

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

func (PublicipUpdateRespStatus) MarshalJSON

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

func (*PublicipUpdateRespStatus) UnmarshalJSON

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

func (PublicipUpdateRespStatus) Value

func (c PublicipUpdateRespStatus) Value() string

type QuotaShowResp

type QuotaShowResp struct {

	// 功能说明:根据type过滤查询指定类型的配额 取值范围:vpc,subnet,securityGroup,securityGroupRule,publicIp,vpn,vpngw,vpcPeer,firewall,shareBandwidth,shareBandwidthIP
	Type *string `json:"type,omitempty"`

	// 功能说明:已创建的资源个数 取值范围:0~quota数
	Used *int32 `json:"used,omitempty"`

	// 功能说明:资源的最大配额数 取值范围:各类型资源默认配额数~Integer最大值 约束:资源的默认配额数可以修改,而且配额需要提前在底层配置,参考默认配置为:vpc默认5,子网默认100,安全组默认100,安全组规则默认5000,弹性公网IP默认10,vpn默认5,vpngw默认2,vpcPeer默认50,firewall默认200,shareBandwidth默认5,shareBandwidthIP默认20
	Quota *int32 `json:"quota,omitempty"`

	// 允许修改的配额最小值
	Min *int32 `json:"min,omitempty"`
}

QuotaShowResp 资源配额实例详情

func (QuotaShowResp) String

func (o QuotaShowResp) String() string

type RemoveFromSharedBandwidthOption

type RemoveFromSharedBandwidthOption struct {

	// 弹性公网IP从共享带宽移除后,会为此弹性公网IP创建独占带宽进行计费。  此参数表示弹性公网IP从共享带宽移除后,使用的独占带宽的计费类型。(bandwidth/traffic)
	ChargeMode RemoveFromSharedBandwidthOptionChargeMode `json:"charge_mode"`

	// 功能说明:要从共享带宽中移除的弹性公网IP或者IPv6端口信息  约束:WHOLE类型的带宽支持多个弹性公网IP或者IPv6端口,跟租户的配额相关,默认一个共享带宽的配额为20
	PublicipInfo []RemovePublicipInfo `json:"publicip_info"`

	// 弹性公网IP从共享带宽移除后,会为此弹性公网IP创建独占带宽进行计费。  此参数表示弹性公网IP从共享带宽移除后,使用的独占带宽的带宽大小。(M)取值范围:默认为1~2000Mbit/s. 可能因为局点配置不同而不同。也跟带宽的计费模式(bandwidth/traffic)相关。
	Size int32 `json:"size"`
}

RemoveFromSharedBandwidthOption 带宽对象

func (RemoveFromSharedBandwidthOption) String

type RemoveFromSharedBandwidthOptionChargeMode

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

func (RemoveFromSharedBandwidthOptionChargeMode) MarshalJSON

func (*RemoveFromSharedBandwidthOptionChargeMode) UnmarshalJSON

func (RemoveFromSharedBandwidthOptionChargeMode) Value

type RemoveFromSharedBandwidthOptionChargeModeEnum

type RemoveFromSharedBandwidthOptionChargeModeEnum struct {
	BANDWIDTH RemoveFromSharedBandwidthOptionChargeMode
	TRAFFIC   RemoveFromSharedBandwidthOptionChargeMode
}

func GetRemoveFromSharedBandwidthOptionChargeModeEnum

func GetRemoveFromSharedBandwidthOptionChargeModeEnum() RemoveFromSharedBandwidthOptionChargeModeEnum

type RemovePublicipInfo

type RemovePublicipInfo struct {

	// 功能说明:若publicip_id为弹性公网IP的id,则该字段可自动忽略。若publicip_id为IPv6端口PORT的id,则该字段必填:5_dualStack(目前仅北京4局点支持)
	PublicipType *string `json:"publicip_type,omitempty"`

	// 功能说明:带宽对应的弹性公网IP或IPv6端口PORT的唯一标识
	PublicipId string `json:"publicip_id"`
}

RemovePublicipInfo 共享带宽插入/移除弹性公网IP的publicip_info字段

func (RemovePublicipInfo) String

func (o RemovePublicipInfo) String() string

type RemovePublicipsFromSharedBandwidthRequest

type RemovePublicipsFromSharedBandwidthRequest struct {

	// 带宽唯一标识
	BandwidthId string `json:"bandwidth_id"`

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

RemovePublicipsFromSharedBandwidthRequest Request Object

func (RemovePublicipsFromSharedBandwidthRequest) String

type RemovePublicipsFromSharedBandwidthRequestBody

type RemovePublicipsFromSharedBandwidthRequestBody struct {
	Bandwidth *RemoveFromSharedBandwidthOption `json:"bandwidth"`
}

RemovePublicipsFromSharedBandwidthRequestBody 共享带宽移除弹性公网IP的请求体

func (RemovePublicipsFromSharedBandwidthRequestBody) String

type RemovePublicipsFromSharedBandwidthResponse

type RemovePublicipsFromSharedBandwidthResponse struct {
	HttpStatusCode int `json:"-"`
}

RemovePublicipsFromSharedBandwidthResponse Response Object

func (RemovePublicipsFromSharedBandwidthResponse) String

type ResourceResp

type ResourceResp struct {

	// 资源配额对象
	Resources []QuotaShowResp `json:"resources"`
}

func (ResourceResp) String

func (o ResourceResp) String() string

type ResourceTagOption

type ResourceTagOption struct {

	// 标签名称。不能为空。长度不超过36个字符。由英文字母、数字、下划线、中划线、中文字符组成。同一资源的key值不能重复。
	Key string `json:"key"`

	// 值列表。长度不超过43个字符。由英文字母、数字、下划线、点、中划线、中文字符组成。
	Value string `json:"value"`
}

ResourceTagOption 标签

func (ResourceTagOption) String

func (o ResourceTagOption) String() string

type ResourceTagResp

type ResourceTagResp struct {

	// 键。同一资源的key值不能重复。
	Key *string `json:"key,omitempty"`

	// 值列表。
	Value *string `json:"value,omitempty"`
}

ResourceTagResp 标签

func (ResourceTagResp) String

func (o ResourceTagResp) String() string

type ShowBandwidthRequest

type ShowBandwidthRequest struct {

	// 带宽唯一标识
	BandwidthId string `json:"bandwidth_id"`
}

ShowBandwidthRequest Request Object

func (ShowBandwidthRequest) String

func (o ShowBandwidthRequest) String() string

type ShowBandwidthResponse

type ShowBandwidthResponse struct {
	Bandwidth      *BandwidthResp `json:"bandwidth,omitempty"`
	HttpStatusCode int            `json:"-"`
}

ShowBandwidthResponse Response Object

func (ShowBandwidthResponse) String

func (o ShowBandwidthResponse) String() string

type ShowPublicIpTypeRequest

type ShowPublicIpTypeRequest struct {
}

ShowPublicIpTypeRequest Request Object

func (ShowPublicIpTypeRequest) String

func (o ShowPublicIpTypeRequest) String() string

type ShowPublicIpTypeResponse

type ShowPublicIpTypeResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowPublicIpTypeResponse Response Object

func (ShowPublicIpTypeResponse) String

func (o ShowPublicIpTypeResponse) String() string

type ShowPublicipRequest

type ShowPublicipRequest struct {

	// 弹性公网IP唯一标识
	PublicipId string `json:"publicip_id"`
}

ShowPublicipRequest Request Object

func (ShowPublicipRequest) String

func (o ShowPublicipRequest) String() string

type ShowPublicipResponse

type ShowPublicipResponse struct {
	Publicip       *PublicipShowResp `json:"publicip,omitempty"`
	HttpStatusCode int               `json:"-"`
}

ShowPublicipResponse Response Object

func (ShowPublicipResponse) String

func (o ShowPublicipResponse) String() string

type ShowPublicipTagsRequest

type ShowPublicipTagsRequest struct {

	// 资源ID
	PublicipId string `json:"publicip_id"`
}

ShowPublicipTagsRequest Request Object

func (ShowPublicipTagsRequest) String

func (o ShowPublicipTagsRequest) String() string

type ShowPublicipTagsResponse

type ShowPublicipTagsResponse struct {

	// 标签列表
	Tags           *[]ResourceTagResp `json:"tags,omitempty"`
	HttpStatusCode int                `json:"-"`
}

ShowPublicipTagsResponse Response Object

func (ShowPublicipTagsResponse) String

func (o ShowPublicipTagsResponse) String() string

type ShowResourcesJobDetailRequest

type ShowResourcesJobDetailRequest struct {

	// 批量操作返回的JOB ID
	JobId string `json:"job_id"`
}

ShowResourcesJobDetailRequest Request Object

func (ShowResourcesJobDetailRequest) String

type ShowResourcesJobDetailResponse

type ShowResourcesJobDetailResponse struct {

	// job id
	JobId *string `json:"job_id,omitempty"`

	// job类型
	JobType *string `json:"job_type,omitempty"`

	// 创建时间
	BeginTime *string `json:"begin_time,omitempty"`

	// 创建完成时间
	EndTime *string `json:"end_time,omitempty"`

	// job状态
	Status *string `json:"status,omitempty"`

	// 错误码
	ErrorCode *string `json:"error_code,omitempty"`

	// 错误信息
	FailReason *string `json:"fail_reason,omitempty"`

	Entities       *SubJobsInfo `json:"entities,omitempty"`
	HttpStatusCode int          `json:"-"`
}

ShowResourcesJobDetailResponse Response Object

func (ShowResourcesJobDetailResponse) String

type SubJobsInfo

type SubJobsInfo struct {

	// 子job信息,类型与主job一致
	SubJobs *[]interface{} `json:"sub_jobs,omitempty"`
}

func (SubJobsInfo) String

func (o SubJobsInfo) String() string

type TagReq

type TagReq struct {

	// 键。最大长度127个unicode字符。 key不能为空。(搜索时不对此参数做校验)
	Key string `json:"key"`

	// 值列表。每个值最大长度255个unicode字符,如果values为空列表,则表示any_value。value之间为或的关系。
	Values []string `json:"values"`
}

TagReq 标签

func (TagReq) String

func (o TagReq) String() string

type TagResp

type TagResp struct {

	// 键,key不能为空。长度不超过36个字符。由英文字母、数字、下划线、中划线、中文字符组成。
	Key *string `json:"key,omitempty"`

	// 值列表。
	Values *[]string `json:"values,omitempty"`
}

TagResp 标签

func (TagResp) String

func (o TagResp) String() string

type UpdateBandwidthOption

type UpdateBandwidthOption struct {

	// 取值范围:1-64,支持数字、字母、中文、_(下划线)、-(中划线),为空表示不修改名称  功能说明:带宽名称  约束:name、size必须有一个参数有值
	Name *string `json:"name,omitempty"`

	// 取值范围:默认1Mbit/s~2000Mbit/s(具体范围以各区域配置为准,请参见控制台对应页面显示),不带此参数时表示不修改大小  功能说明:带宽大小,单位Mbit/s。  约束:name、size必须有一个参数有值  如果传入的参数为小数(如 10.2)或者字符类型(如“10”),会自动强制转换为整数。  约束:name、size必须要有一个参数有值。  调整带宽时的最小单位会根据带宽范围不同存在差异:  小于等于300Mbit/s:默认最小单位为1Mbit/s。  300Mbit/s~1000Mbit/s:默认最小单位为50Mbit/s。  大于1000Mbit/s:默认最小单位为500Mbit/s。
	Size *int32 `json:"size,omitempty"`

	// 功能说明:按流量计费,按带宽计费还是按增强型95计费。  取值范围:bandwidth,traffic,95peak_plus(按增强型95计费)不返回或者为空时表示是bandwidth。  约束:只有共享带宽支持95peak_plus(按增强型95计费),按增强型95计费时需要指定保底百分比,默认是20%。
	ChargeMode *UpdateBandwidthOptionChargeMode `json:"charge_mode,omitempty"`
}

UpdateBandwidthOption 更新带宽对象(三个参数不能全为空)

func (UpdateBandwidthOption) String

func (o UpdateBandwidthOption) String() string

type UpdateBandwidthOptionChargeMode

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

func (UpdateBandwidthOptionChargeMode) MarshalJSON

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

func (*UpdateBandwidthOptionChargeMode) UnmarshalJSON

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

func (UpdateBandwidthOptionChargeMode) Value

type UpdateBandwidthOptionChargeModeEnum

type UpdateBandwidthOptionChargeModeEnum struct {
	BANDWIDTH     UpdateBandwidthOptionChargeMode
	TRAFFIC       UpdateBandwidthOptionChargeMode
	E_95PEAK_PLUS UpdateBandwidthOptionChargeMode
}

func GetUpdateBandwidthOptionChargeModeEnum

func GetUpdateBandwidthOptionChargeModeEnum() UpdateBandwidthOptionChargeModeEnum

type UpdateBandwidthRequest

type UpdateBandwidthRequest struct {

	// 带宽唯一标识
	BandwidthId string `json:"bandwidth_id"`

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

UpdateBandwidthRequest Request Object

func (UpdateBandwidthRequest) String

func (o UpdateBandwidthRequest) String() string

type UpdateBandwidthRequestBody

type UpdateBandwidthRequestBody struct {
	Bandwidth *UpdateBandwidthOption `json:"bandwidth"`
}

UpdateBandwidthRequestBody 更新带宽对象的请求体(name,size必须有一个参数)

func (UpdateBandwidthRequestBody) String

type UpdateBandwidthResponse

type UpdateBandwidthResponse struct {
	Bandwidth      *BandwidthResp `json:"bandwidth,omitempty"`
	HttpStatusCode int            `json:"-"`
}

UpdateBandwidthResponse Response Object

func (UpdateBandwidthResponse) String

func (o UpdateBandwidthResponse) String() string

type UpdateFloatingIpOption

type UpdateFloatingIpOption struct {

	// 端口id。
	PortId *string `json:"port_id,omitempty"`
}

UpdateFloatingIpOption 更新floatingip对象

func (UpdateFloatingIpOption) String

func (o UpdateFloatingIpOption) String() string

type UpdatePrePaidBandwidthExtendParamOption

type UpdatePrePaidBandwidthExtendParamOption struct {

	// 功能说明:下单订购后,是否自动从客户的账户中支付,而不需要客户手动去进行支付;系统默认是“非自动支付”。  取值范围:  true:是(自动支付)  false:否(默认值,需要客户手动去支付)  约束:自动支付时,只能使用账户的现金支付;如果要使用代金券,请选择不自动支付,然后在用户费用中心,选择代金券支付。
	IsAutoPay *bool `json:"is_auto_pay,omitempty"`
}

UpdatePrePaidBandwidthExtendParamOption 扩展参数,用于包周期资源申请

func (UpdatePrePaidBandwidthExtendParamOption) String

type UpdatePrePaidBandwidthOption

type UpdatePrePaidBandwidthOption struct {

	// 功能说明:带宽名称  取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点),为空表示不修改名称  约束:和参数size必须有一个参数有值
	Name *string `json:"name,omitempty"`

	// 功能说明:带宽大小,包周期的带宽只能改大  取值范围:默认1Mbit/s~2000Mbit/s(具体范围以各区域配置为准,请参见控制台对应页面显示),不带此参数时表示不修改大小。  约束:和参数name必须有一个参数有值。  注意:调整带宽时的最小单位会根据带宽范围不同存在差异。  小于等于300Mbit/s:默认最小单位为1Mbit/s。  300Mbit/s~1000Mbit/s:默认最小单位为50Mbit/s。  大于1000Mbit/s:默认最小单位为500Mbit/s。
	Size *int32 `json:"size,omitempty"`
}

UpdatePrePaidBandwidthOption 更新带宽请求中的带宽信息

func (UpdatePrePaidBandwidthOption) String

type UpdatePrePaidBandwidthRequest

type UpdatePrePaidBandwidthRequest struct {

	// 带宽唯一标识。通过弹性公网IP详情获取,且此弹性公网IP是包周期的。
	BandwidthId string `json:"bandwidth_id"`

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

UpdatePrePaidBandwidthRequest Request Object

func (UpdatePrePaidBandwidthRequest) String

type UpdatePrePaidBandwidthRequestBody

type UpdatePrePaidBandwidthRequestBody struct {
	Bandwidth *UpdatePrePaidBandwidthOption `json:"bandwidth"`

	ExtendParam *UpdatePrePaidBandwidthExtendParamOption `json:"extendParam,omitempty"`
}

UpdatePrePaidBandwidthRequestBody 更新带宽的请求体

func (UpdatePrePaidBandwidthRequestBody) String

type UpdatePrePaidBandwidthResponse

type UpdatePrePaidBandwidthResponse struct {
	Bandwidth *BandwidthResp `json:"bandwidth,omitempty"`

	// 订单号(包周期场景返回该字段)
	OrderId        *string `json:"order_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdatePrePaidBandwidthResponse Response Object

func (UpdatePrePaidBandwidthResponse) String

type UpdatePublicipOption

type UpdatePublicipOption struct {

	// 功能说明:端口id  约束:必须是存在的端口id,如果不带该参数或者值为空时为解除绑定弹性公网IP,如果该端口不存在或端口已绑定弹性公网IP则会提示出错。  和ip_version字段互斥,不能同时更新。如果alias和port_id都携带,只有alias生效。
	PortId *string `json:"port_id,omitempty"`

	// 功能说明:IP版本信息  取值范围:4和6  4:IPv4  6:IPv6  约束:必须是系统支持的IP版本类型,和port_id互斥,不能同时更新。
	IpVersion *UpdatePublicipOptionIpVersion `json:"ip_version,omitempty"`

	// 功能说明:弹性公网IP名称 取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点) 约束:如果alias和port_id都携带,只有alias生效。
	Alias *string `json:"alias,omitempty"`
}

UpdatePublicipOption 弹性公网IP对象

func (UpdatePublicipOption) String

func (o UpdatePublicipOption) String() string

type UpdatePublicipOptionIpVersion

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

func (UpdatePublicipOptionIpVersion) MarshalJSON

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

func (*UpdatePublicipOptionIpVersion) UnmarshalJSON

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

func (UpdatePublicipOptionIpVersion) Value

type UpdatePublicipOptionIpVersionEnum

type UpdatePublicipOptionIpVersionEnum struct {
	E_4 UpdatePublicipOptionIpVersion
	E_6 UpdatePublicipOptionIpVersion
}

func GetUpdatePublicipOptionIpVersionEnum

func GetUpdatePublicipOptionIpVersionEnum() UpdatePublicipOptionIpVersionEnum

type UpdatePublicipRequest

type UpdatePublicipRequest struct {

	// 弹性公网IP唯一标识
	PublicipId string `json:"publicip_id"`

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

UpdatePublicipRequest Request Object

func (UpdatePublicipRequest) String

func (o UpdatePublicipRequest) String() string

type UpdatePublicipResponse

type UpdatePublicipResponse struct {
	Publicip       *PublicipUpdateResp `json:"publicip,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

UpdatePublicipResponse Response Object

func (UpdatePublicipResponse) String

func (o UpdatePublicipResponse) String() string

type UpdatePublicipsRequestBody

type UpdatePublicipsRequestBody struct {
	Publicip *UpdatePublicipOption `json:"publicip"`
}

UpdatePublicipsRequestBody 更新弹性公网IP的请求体

func (UpdatePublicipsRequestBody) String

Source Files

Jump to

Keyboard shortcuts

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