model

package
v0.0.52 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddPublicipsIntoSharedBandwidthOption

type AddPublicipsIntoSharedBandwidthOption struct {
	PublicipInfo []InsertPublicipInfo `json:"publicip_info"`
}

带宽对象

func (AddPublicipsIntoSharedBandwidthOption) String

type AddPublicipsIntoSharedBandwidthRequest

type AddPublicipsIntoSharedBandwidthRequest struct {
	BandwidthId string `json:"bandwidth_id"`

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

Request Object

func (AddPublicipsIntoSharedBandwidthRequest) String

type AddPublicipsIntoSharedBandwidthRequestBody

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

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

func (AddPublicipsIntoSharedBandwidthRequestBody) String

type AddPublicipsIntoSharedBandwidthResponse

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

Response Object

func (AddPublicipsIntoSharedBandwidthResponse) String

type BandWidthRules

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

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

	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	EgressSize *int32 `json:"egress_size,omitempty"`

	EgressGuarentedSize *int32 `json:"egress_guarented_size,omitempty"`

	PublicipInfo *[]PublicipInfoResp `json:"publicip_info,omitempty"`
}

带宽规则对象

func (BandWidthRules) String

func (o BandWidthRules) String() string

type BandwidthResp

type BandwidthResp struct {
	BandwidthType *string `json:"bandwidth_type,omitempty"`

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

	ChargeMode *BandwidthRespChargeMode `json:"charge_mode,omitempty"`

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

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

	PublicipInfo *[]PublicipInfoResp `json:"publicip_info,omitempty"`

	ShareType *BandwidthRespShareType `json:"share_type,omitempty"`

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

	TenantId *string `json:"tenant_id,omitempty"`

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

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

	EnableBandwidthRules *bool `json:"enable_bandwidth_rules,omitempty"`

	RuleQuota *int32 `json:"rule_quota,omitempty"`

	BandwidthRules *[]BandWidthRules `json:"bandwidth_rules,omitempty"`

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

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

	PublicipBorderGroup *string `json:"publicip_border_group,omitempty"`
}

带宽对象

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

type BandwidthRespChargeModeEnum

type BandwidthRespChargeModeEnum struct {
	BANDWIDTH     BandwidthRespChargeMode
	TRAFFIC       BandwidthRespChargeMode
	E_95PEAK_PLUS BandwidthRespChargeMode
}

func GetBandwidthRespChargeModeEnum

func GetBandwidthRespChargeModeEnum() BandwidthRespChargeModeEnum

type BandwidthRespInsert

type BandwidthRespInsert struct {
	BandwidthType *string `json:"bandwidth_type,omitempty"`

	ChargeMode *BandwidthRespInsertChargeMode `json:"charge_mode,omitempty"`

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

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

	PublicipInfo *[]PublicipInfoResp `json:"publicip_info,omitempty"`

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

	ShareType *BandwidthRespInsertShareType `json:"share_type,omitempty"`

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

	TenantId *string `json:"tenant_id,omitempty"`

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

	Status *BandwidthRespInsertStatus `json:"status,omitempty"`
}

带宽对象

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

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

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

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

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

type BandwidthRespStatusEnum

type BandwidthRespStatusEnum struct {
	FREEZED BandwidthRespStatus
	NORMAL  BandwidthRespStatus
}

func GetBandwidthRespStatusEnum

func GetBandwidthRespStatusEnum() BandwidthRespStatusEnum

type BatchBandwidthResp

type BatchBandwidthResp struct {
	BandwidthType *string `json:"bandwidth_type,omitempty"`

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

	ChargeMode *BatchBandwidthRespChargeMode `json:"charge_mode,omitempty"`

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

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

	PublicipInfo *[]PublicipInfoResp `json:"publicip_info,omitempty"`

	ShareType *BatchBandwidthRespShareType `json:"share_type,omitempty"`

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

	TenantId *string `json:"tenant_id,omitempty"`

	Status *BatchBandwidthRespStatus `json:"status,omitempty"`
}

带宽对象

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

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

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

type BatchBandwidthRespStatusEnum

type BatchBandwidthRespStatusEnum struct {
	FREEZED BatchBandwidthRespStatus
	NORMAL  BatchBandwidthRespStatus
}

func GetBatchBandwidthRespStatusEnum

func GetBatchBandwidthRespStatusEnum() BatchBandwidthRespStatusEnum

type BatchCreateBandwidthOption

type BatchCreateBandwidthOption struct {
	Count int32 `json:"count"`

	Name string `json:"name"`

	Size int32 `json:"size"`
}

带宽对象

func (BatchCreateBandwidthOption) String

type BatchCreateBandwidthRequestBody

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

批量创建带宽的请求体

func (BatchCreateBandwidthRequestBody) String

type BatchCreatePublicipTagsRequest

type BatchCreatePublicipTagsRequest struct {
	PublicipId string `json:"publicip_id"`

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

Request Object

func (BatchCreatePublicipTagsRequest) String

type BatchCreatePublicipTagsRequestBody

type BatchCreatePublicipTagsRequestBody struct {
	Tags []ResourceTagOption `json:"tags"`

	Action BatchCreatePublicipTagsRequestBodyAction `json:"action"`
}

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

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

type BatchCreatePublicipTagsRequestBodyActionEnum

type BatchCreatePublicipTagsRequestBodyActionEnum struct {
	CREATE BatchCreatePublicipTagsRequestBodyAction
}

func GetBatchCreatePublicipTagsRequestBodyActionEnum

func GetBatchCreatePublicipTagsRequestBodyActionEnum() BatchCreatePublicipTagsRequestBodyActionEnum

type BatchCreatePublicipTagsResponse

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

Response Object

func (BatchCreatePublicipTagsResponse) String

type BatchCreateSharedBandwidthsRequest

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

Request Object

func (BatchCreateSharedBandwidthsRequest) String

type BatchCreateSharedBandwidthsResponse

type BatchCreateSharedBandwidthsResponse struct {
	Bandwidths     *[]BatchBandwidthResp `json:"bandwidths,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

Response Object

func (BatchCreateSharedBandwidthsResponse) String

type BatchDeletePublicipTagsRequest

type BatchDeletePublicipTagsRequest struct {
	PublicipId string `json:"publicip_id"`

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

Request Object

func (BatchDeletePublicipTagsRequest) String

type BatchDeletePublicipTagsRequestBody

type BatchDeletePublicipTagsRequestBody struct {
	Tags []ResourceTagOption `json:"tags"`

	Action BatchDeletePublicipTagsRequestBodyAction `json:"action"`
}

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

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

type BatchDeletePublicipTagsRequestBodyActionEnum

type BatchDeletePublicipTagsRequestBodyActionEnum struct {
	DELETE BatchDeletePublicipTagsRequestBodyAction
}

func GetBatchDeletePublicipTagsRequestBodyActionEnum

func GetBatchDeletePublicipTagsRequestBodyActionEnum() BatchDeletePublicipTagsRequestBodyActionEnum

type BatchDeletePublicipTagsResponse

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

Response Object

func (BatchDeletePublicipTagsResponse) String

type CreateFloatingIpOption

type CreateFloatingIpOption struct {
	FloatingIpAddress *string `json:"floating_ip_address,omitempty"`

	FloatingNetworkId string `json:"floating_network_id"`

	PortId *string `json:"port_id,omitempty"`

	FixedIpAddress *string `json:"fixed_ip_address,omitempty"`
}

创建floatingip对象

func (CreateFloatingIpOption) String

func (o CreateFloatingIpOption) String() string

type CreatePrePaidPublicipExtendParamOption

type CreatePrePaidPublicipExtendParamOption struct {
	ChargeMode *CreatePrePaidPublicipExtendParamOptionChargeMode `json:"charge_mode,omitempty"`

	PeriodType *CreatePrePaidPublicipExtendParamOptionPeriodType `json:"period_type,omitempty"`

	PeriodNum *int32 `json:"period_num,omitempty"`

	IsAutoRenew *bool `json:"is_auto_renew,omitempty"`

	IsAutoPay *bool `json:"is_auto_pay,omitempty"`
}

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

func (CreatePrePaidPublicipExtendParamOption) String

type CreatePrePaidPublicipExtendParamOptionChargeMode

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

func (CreatePrePaidPublicipExtendParamOptionChargeMode) MarshalJSON

func (*CreatePrePaidPublicipExtendParamOptionChargeMode) UnmarshalJSON

type CreatePrePaidPublicipExtendParamOptionPeriodType

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

func (CreatePrePaidPublicipExtendParamOptionPeriodType) MarshalJSON

func (*CreatePrePaidPublicipExtendParamOptionPeriodType) UnmarshalJSON

type CreatePrePaidPublicipOption

type CreatePrePaidPublicipOption struct {
	Type string `json:"type"`

	IpVersion *int32 `json:"ip_version,omitempty"`
}

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

func (CreatePrePaidPublicipOption) String

type CreatePrePaidPublicipRequest

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

Request Object

func (CreatePrePaidPublicipRequest) String

type CreatePrePaidPublicipRequestBody

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

	Bandwidth *CreatePublicipBandwidthOption `json:"bandwidth"`

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

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

创建包周期的弹性公网IP

func (CreatePrePaidPublicipRequestBody) String

type CreatePrePaidPublicipResponse

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

	OrderId *string `json:"order_id,omitempty"`

	PublicipId     *string `json:"publicip_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreatePrePaidPublicipResponse) String

type CreatePublicipBandwidthOption

type CreatePublicipBandwidthOption struct {
	ChargeMode *CreatePublicipBandwidthOptionChargeMode `json:"charge_mode,omitempty"`

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

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

	ShareType CreatePublicipBandwidthOptionShareType `json:"share_type"`

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

创建弹性公网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

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

type CreatePublicipBandwidthOptionShareTypeEnum

type CreatePublicipBandwidthOptionShareTypeEnum struct {
	WHOLE CreatePublicipBandwidthOptionShareType
	PER   CreatePublicipBandwidthOptionShareType
}

func GetCreatePublicipBandwidthOptionShareTypeEnum

func GetCreatePublicipBandwidthOptionShareTypeEnum() CreatePublicipBandwidthOptionShareTypeEnum

type CreatePublicipOption

type CreatePublicipOption struct {
	IpAddress *string `json:"ip_address,omitempty"`

	Type string `json:"type"`

	IpVersion *CreatePublicipOptionIpVersion `json:"ip_version,omitempty"`
}

创建弹性公网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

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"`
}

Request Object

func (CreatePublicipRequest) String

func (o CreatePublicipRequest) String() string

type CreatePublicipRequestBody

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

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

	Publicip *CreatePublicipOption `json:"publicip"`
}

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

func (CreatePublicipRequestBody) String

func (o CreatePublicipRequestBody) String() string

type CreatePublicipResponse

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

Response Object

func (CreatePublicipResponse) String

func (o CreatePublicipResponse) String() string

type CreatePublicipTagRequest

type CreatePublicipTagRequest struct {
	PublicipId string `json:"publicip_id"`

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

Request Object

func (CreatePublicipTagRequest) String

func (o CreatePublicipTagRequest) String() string

type CreatePublicipTagRequestBody

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

创建tag对象的请求体

func (CreatePublicipTagRequestBody) String

type CreatePublicipTagResponse

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

Response Object

func (CreatePublicipTagResponse) String

func (o CreatePublicipTagResponse) String() string

type CreateSharedBandwidhRequestBody

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

创建共享带宽请求体

func (CreateSharedBandwidhRequestBody) String

type CreateSharedBandwidthOption

type CreateSharedBandwidthOption struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	Name string `json:"name"`

	Size int32 `json:"size"`

	ChargeMode *CreateSharedBandwidthOptionChargeMode `json:"charge_mode,omitempty"`
}

创建带宽的请求体

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

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"`
}

Request Object

func (CreateSharedBandwidthRequest) String

type CreateSharedBandwidthResponse

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

Response Object

func (CreateSharedBandwidthResponse) String

type DeletePublicipRequest

type DeletePublicipRequest struct {
	PublicipId string `json:"publicip_id"`
}

Request Object

func (DeletePublicipRequest) String

func (o DeletePublicipRequest) String() string

type DeletePublicipResponse

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

Response Object

func (DeletePublicipResponse) String

func (o DeletePublicipResponse) String() string

type DeletePublicipTagRequest

type DeletePublicipTagRequest struct {
	PublicipId string `json:"publicip_id"`

	Key string `json:"key"`
}

Request Object

func (DeletePublicipTagRequest) String

func (o DeletePublicipTagRequest) String() string

type DeletePublicipTagResponse

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

Response Object

func (DeletePublicipTagResponse) String

func (o DeletePublicipTagResponse) String() string

type DeleteSharedBandwidthRequest

type DeleteSharedBandwidthRequest struct {
	BandwidthId string `json:"bandwidth_id"`
}

Request Object

func (DeleteSharedBandwidthRequest) String

type DeleteSharedBandwidthResponse

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

Response Object

func (DeleteSharedBandwidthResponse) String

type FloatingIpResp

type FloatingIpResp struct {
	FixedIpAddress *string `json:"fixed_ip_address,omitempty"`

	FloatingIpAddress *string `json:"floating_ip_address,omitempty"`

	FloatingNetworkId *string `json:"floating_network_id,omitempty"`

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

	PortId *string `json:"port_id,omitempty"`

	RouterId *string `json:"router_id,omitempty"`

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

	TenantId *string `json:"tenant_id,omitempty"`

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

	DnsName *string `json:"dns_name,omitempty"`

	DnsDomain *string `json:"dns_domain,omitempty"`

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

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

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

type FloatingIpRespStatusEnum

type FloatingIpRespStatusEnum struct {
	ACTIVE FloatingIpRespStatus
	DOWN   FloatingIpRespStatus
	ERROR  FloatingIpRespStatus
}

func GetFloatingIpRespStatusEnum

func GetFloatingIpRespStatusEnum() FloatingIpRespStatusEnum

type InsertPublicipInfo

type InsertPublicipInfo struct {
	PublicipType *string `json:"publicip_type,omitempty"`

	PublicipId string `json:"publicip_id"`
}

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

func (InsertPublicipInfo) String

func (o InsertPublicipInfo) String() string

type ListBandwidthsRequest

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

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

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

	ShareType *ListBandwidthsRequestShareType `json:"share_type,omitempty"`
}

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

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:"-"`
}

Response Object

func (ListBandwidthsResponse) String

func (o ListBandwidthsResponse) String() string

type ListPublicipTagsRequest

type ListPublicipTagsRequest struct {
}

Request Object

func (ListPublicipTagsRequest) String

func (o ListPublicipTagsRequest) String() string

type ListPublicipTagsResponse

type ListPublicipTagsResponse struct {
	Tags           *[]TagResp `json:"tags,omitempty"`
	HttpStatusCode int        `json:"-"`
}

Response Object

func (ListPublicipTagsResponse) String

func (o ListPublicipTagsResponse) String() string

type ListPublicipsByTagsRequest

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

Request Object

func (ListPublicipsByTagsRequest) String

type ListPublicipsByTagsRequestBody

type ListPublicipsByTagsRequestBody struct {
	Tags *[]TagReq `json:"tags,omitempty"`

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

	Offset *int32 `json:"offset,omitempty"`

	Action ListPublicipsByTagsRequestBodyAction `json:"action"`

	Matches *[]MatchReq `json:"matches,omitempty"`
}

通过标签过滤弹性公网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

type ListPublicipsByTagsRequestBodyActionEnum

type ListPublicipsByTagsRequestBodyActionEnum struct {
	FILTER ListPublicipsByTagsRequestBodyAction
	COUNT  ListPublicipsByTagsRequestBodyAction
}

func GetListPublicipsByTagsRequestBodyActionEnum

func GetListPublicipsByTagsRequestBodyActionEnum() ListPublicipsByTagsRequestBodyActionEnum

type ListPublicipsByTagsResponse

type ListPublicipsByTagsResponse struct {
	Resources *[]ListResourceResp `json:"resources,omitempty"`

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

Response Object

func (ListPublicipsByTagsResponse) String

type ListPublicipsRequest

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

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

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

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

	PortId *[]string `json:"port_id,omitempty"`

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

	PrivateIpAddress *[]string `json:"private_ip_address,omitempty"`

	Id *[]string `json:"id,omitempty"`
}

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

type ListPublicipsRequestIpVersionEnum

type ListPublicipsRequestIpVersionEnum struct {
	E_4 ListPublicipsRequestIpVersion
	E_6 ListPublicipsRequestIpVersion
}

func GetListPublicipsRequestIpVersionEnum

func GetListPublicipsRequestIpVersionEnum() ListPublicipsRequestIpVersionEnum

type ListPublicipsResponse

type ListPublicipsResponse struct {
	Publicips      *[]PublicipShowResp `json:"publicips,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

Response Object

func (ListPublicipsResponse) String

func (o ListPublicipsResponse) String() string

type ListQuotasRequest

type ListQuotasRequest struct {
	Type *string `json:"type,omitempty"`
}

Request Object

func (ListQuotasRequest) String

func (o ListQuotasRequest) String() string

type ListQuotasResponse

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

Response Object

func (ListQuotasResponse) String

func (o ListQuotasResponse) String() string

type ListResourceResp

type ListResourceResp struct {
	ResouceDetail *interface{} `json:"resouce_detail,omitempty"`

	ResourceId *string `json:"resource_id,omitempty"`

	ResourceName *string `json:"resource_name,omitempty"`

	Tags *[]ResourceTagResp `json:"tags,omitempty"`
}

资源实例详情

func (ListResourceResp) String

func (o ListResourceResp) String() string

type MatchReq

type MatchReq struct {
	Key MatchReqKey `json:"key"`

	Value string `json:"value"`
}

搜索字段

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

type MatchReqKeyEnum

type MatchReqKeyEnum struct {
	RESOURCE_NAME MatchReqKey
}

func GetMatchReqKeyEnum

func GetMatchReqKeyEnum() MatchReqKeyEnum

type NeutronCreateFloatingIpRequest

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

Request Object

func (NeutronCreateFloatingIpRequest) String

type NeutronCreateFloatingIpRequestBody

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

创建floatingip对象

func (NeutronCreateFloatingIpRequestBody) String

type NeutronCreateFloatingIpResponse

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

Response Object

func (NeutronCreateFloatingIpResponse) String

type NeutronDeleteFloatingIpRequest

type NeutronDeleteFloatingIpRequest struct {
	FloatingipId string `json:"floatingip_id"`
}

Request Object

func (NeutronDeleteFloatingIpRequest) String

type NeutronDeleteFloatingIpResponse

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

Response Object

func (NeutronDeleteFloatingIpResponse) String

type NeutronListFloatingIpsRequest

type NeutronListFloatingIpsRequest struct {
	Limit *string `json:"limit,omitempty"`

	Marker *string `json:"marker,omitempty"`

	PageReverse *bool `json:"page_reverse,omitempty"`

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

	FloatingIpAddress *string `json:"floating_ip_address,omitempty"`

	RouterId *string `json:"router_id,omitempty"`

	PortId *string `json:"port_id,omitempty"`

	FixedIpAddress *string `json:"fixed_ip_address,omitempty"`

	TenantId *string `json:"tenant_id,omitempty"`

	FloatingNetworkId *string `json:"floating_network_id,omitempty"`
}

Request Object

func (NeutronListFloatingIpsRequest) String

type NeutronListFloatingIpsResponse

type NeutronListFloatingIpsResponse struct {
	Floatingips *[]FloatingIpResp `json:"floatingips,omitempty"`

	FloatingipsLinks *[]Pager `json:"floatingips_links,omitempty"`
	HttpStatusCode   int      `json:"-"`
}

Response Object

func (NeutronListFloatingIpsResponse) String

type NeutronShowFloatingIpRequest

type NeutronShowFloatingIpRequest struct {
	FloatingipId string `json:"floatingip_id"`
}

Request Object

func (NeutronShowFloatingIpRequest) String

type NeutronShowFloatingIpResponse

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

Response Object

func (NeutronShowFloatingIpResponse) String

type NeutronUpdateFloatingIpRequest

type NeutronUpdateFloatingIpRequest struct {
	FloatingipId string `json:"floatingip_id"`

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

Request Object

func (NeutronUpdateFloatingIpRequest) String

type NeutronUpdateFloatingIpRequestBody

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

更新floatingip的请求体

func (NeutronUpdateFloatingIpRequestBody) String

type NeutronUpdateFloatingIpResponse

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

Response Object

func (NeutronUpdateFloatingIpResponse) String

type Pager

type Pager struct {
	Href *string `json:"href,omitempty"`

	Rel *PagerRel `json:"rel,omitempty"`
}

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

type PagerRelEnum

type PagerRelEnum struct {
	NEXT     PagerRel
	PREVIOUS PagerRel
}

func GetPagerRelEnum

func GetPagerRelEnum() PagerRelEnum

type PostAndPutFloatingIpResp

type PostAndPutFloatingIpResp struct {
	FixedIpAddress *string `json:"fixed_ip_address,omitempty"`

	FloatingIpAddress *string `json:"floating_ip_address,omitempty"`

	FloatingNetworkId *string `json:"floating_network_id,omitempty"`

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

	PortId *string `json:"port_id,omitempty"`

	RouterId *string `json:"router_id,omitempty"`

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

	TenantId *string `json:"tenant_id,omitempty"`

	DnsName *string `json:"dns_name,omitempty"`

	DnsDomain *string `json:"dns_domain,omitempty"`
}

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

type PostAndPutFloatingIpRespStatusEnum

type PostAndPutFloatingIpRespStatusEnum struct {
	ACTIVE PostAndPutFloatingIpRespStatus
	DOWN   PostAndPutFloatingIpRespStatus
	ERROR  PostAndPutFloatingIpRespStatus
}

func GetPostAndPutFloatingIpRespStatusEnum

func GetPostAndPutFloatingIpRespStatusEnum() PostAndPutFloatingIpRespStatusEnum

type ProfileResp

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

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

	RegionId *string `json:"region_id,omitempty"`

	UserId *string `json:"user_id,omitempty"`
}

Profile对象

func (ProfileResp) String

func (o ProfileResp) String() string

type PublicipCreateResp

type PublicipCreateResp struct {
	BandwidthSize *int32 `json:"bandwidth_size,omitempty"`

	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

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

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

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

	TenantId *string `json:"tenant_id,omitempty"`

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

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

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

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

弹性公网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

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

type PublicipInfoResp

type PublicipInfoResp struct {
	PublicipAddress *string `json:"publicip_address,omitempty"`

	PublicipId *string `json:"publicip_id,omitempty"`

	PublicipType *string `json:"publicip_type,omitempty"`

	Publicipv6Address *string `json:"publicipv6_address,omitempty"`

	IpVersion *PublicipInfoRespIpVersion `json:"ip_version,omitempty"`
}

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

type PublicipInfoRespIpVersionEnum

type PublicipInfoRespIpVersionEnum struct {
	E_4 PublicipInfoRespIpVersion
	E_6 PublicipInfoRespIpVersion
}

func GetPublicipInfoRespIpVersionEnum

func GetPublicipInfoRespIpVersionEnum() PublicipInfoRespIpVersionEnum

type PublicipShowResp

type PublicipShowResp struct {
	BandwidthId *string `json:"bandwidth_id,omitempty"`

	BandwidthName *string `json:"bandwidth_name,omitempty"`

	BandwidthShareType *PublicipShowRespBandwidthShareType `json:"bandwidth_share_type,omitempty"`

	BandwidthSize *int32 `json:"bandwidth_size,omitempty"`

	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

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

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

	PortId *string `json:"port_id,omitempty"`

	PrivateIpAddress *string `json:"private_ip_address,omitempty"`

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

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

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

	TenantId *string `json:"tenant_id,omitempty"`

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

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

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

	PublicipBorderGroup *string `json:"publicip_border_group,omitempty"`
}

弹性公网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

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

type PublicipShowRespIpVersionEnum

type PublicipShowRespIpVersionEnum struct {
	E_4 PublicipShowRespIpVersion
	E_6 PublicipShowRespIpVersion
}

func GetPublicipShowRespIpVersionEnum

func GetPublicipShowRespIpVersionEnum() PublicipShowRespIpVersionEnum

type PublicipShowRespStatus

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

func (PublicipShowRespStatus) MarshalJSON

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

func (*PublicipShowRespStatus) UnmarshalJSON

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

type QuotaShowResp

type QuotaShowResp struct {
	Type *string `json:"type,omitempty"`

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

	Quota *int32 `json:"quota,omitempty"`

	Min *int32 `json:"min,omitempty"`
}

资源配额实例详情

func (QuotaShowResp) String

func (o QuotaShowResp) String() string

type RemoveFromSharedBandwidthOption

type RemoveFromSharedBandwidthOption struct {
	ChargeMode RemoveFromSharedBandwidthOptionChargeMode `json:"charge_mode"`

	PublicipInfo []RemovePublicipInfo `json:"publicip_info"`

	Size int32 `json:"size"`
}

带宽对象

func (RemoveFromSharedBandwidthOption) String

type RemoveFromSharedBandwidthOptionChargeMode

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

func (RemoveFromSharedBandwidthOptionChargeMode) MarshalJSON

func (*RemoveFromSharedBandwidthOptionChargeMode) UnmarshalJSON

type RemoveFromSharedBandwidthOptionChargeModeEnum

type RemoveFromSharedBandwidthOptionChargeModeEnum struct {
	BANDWIDTH RemoveFromSharedBandwidthOptionChargeMode
	TRAFFIC   RemoveFromSharedBandwidthOptionChargeMode
}

func GetRemoveFromSharedBandwidthOptionChargeModeEnum

func GetRemoveFromSharedBandwidthOptionChargeModeEnum() RemoveFromSharedBandwidthOptionChargeModeEnum

type RemovePublicipInfo

type RemovePublicipInfo struct {
	PublicipType *string `json:"publicip_type,omitempty"`

	PublicipId string `json:"publicip_id"`
}

共享带宽插入/移除弹性公网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"`
}

Request Object

func (RemovePublicipsFromSharedBandwidthRequest) String

type RemovePublicipsFromSharedBandwidthRequestBody

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

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

func (RemovePublicipsFromSharedBandwidthRequestBody) String

type RemovePublicipsFromSharedBandwidthResponse

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

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 {
	Key string `json:"key"`

	Value string `json:"value"`
}

标签

func (ResourceTagOption) String

func (o ResourceTagOption) String() string

type ResourceTagResp

type ResourceTagResp struct {
	Key *string `json:"key,omitempty"`

	Value *string `json:"value,omitempty"`
}

标签

func (ResourceTagResp) String

func (o ResourceTagResp) String() string

type ShowBandwidthRequest

type ShowBandwidthRequest struct {
	BandwidthId string `json:"bandwidth_id"`
}

Request Object

func (ShowBandwidthRequest) String

func (o ShowBandwidthRequest) String() string

type ShowBandwidthResponse

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

Response Object

func (ShowBandwidthResponse) String

func (o ShowBandwidthResponse) String() string

type ShowPublicipRequest

type ShowPublicipRequest struct {
	PublicipId string `json:"publicip_id"`
}

Request Object

func (ShowPublicipRequest) String

func (o ShowPublicipRequest) String() string

type ShowPublicipResponse

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

Response Object

func (ShowPublicipResponse) String

func (o ShowPublicipResponse) String() string

type ShowPublicipTagsRequest

type ShowPublicipTagsRequest struct {
	PublicipId string `json:"publicip_id"`
}

Request Object

func (ShowPublicipTagsRequest) String

func (o ShowPublicipTagsRequest) String() string

type ShowPublicipTagsResponse

type ShowPublicipTagsResponse struct {
	Tags           *[]ResourceTagResp `json:"tags,omitempty"`
	HttpStatusCode int                `json:"-"`
}

Response Object

func (ShowPublicipTagsResponse) String

func (o ShowPublicipTagsResponse) String() string

type TagReq

type TagReq struct {
	Key string `json:"key"`

	Values []string `json:"values"`
}

标签

func (TagReq) String

func (o TagReq) String() string

type TagResp

type TagResp struct {
	Key *string `json:"key,omitempty"`

	Values *[]string `json:"values,omitempty"`
}

标签

func (TagResp) String

func (o TagResp) String() string

type UpdateBandwidthOption

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

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

	ChargeMode *UpdateBandwidthOptionChargeMode `json:"charge_mode,omitempty"`
}

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

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

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"`
}

Request Object

func (UpdateBandwidthRequest) String

func (o UpdateBandwidthRequest) String() string

type UpdateBandwidthRequestBody

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

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

func (UpdateBandwidthRequestBody) String

type UpdateBandwidthResponse

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

Response Object

func (UpdateBandwidthResponse) String

func (o UpdateBandwidthResponse) String() string

type UpdateFloatingIpOption

type UpdateFloatingIpOption struct {
	PortId *string `json:"port_id,omitempty"`
}

更新floatingip对象

func (UpdateFloatingIpOption) String

func (o UpdateFloatingIpOption) String() string

type UpdatePrePaidBandwidthExtendParamOption

type UpdatePrePaidBandwidthExtendParamOption struct {
	IsAutoPay *bool `json:"is_auto_pay,omitempty"`
}

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

func (UpdatePrePaidBandwidthExtendParamOption) String

type UpdatePrePaidBandwidthOption

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

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

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

func (UpdatePrePaidBandwidthOption) String

type UpdatePrePaidBandwidthRequest

type UpdatePrePaidBandwidthRequest struct {
	BandwidthId string `json:"bandwidth_id"`

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

Request Object

func (UpdatePrePaidBandwidthRequest) String

type UpdatePrePaidBandwidthRequestBody

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

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

更新带宽的请求体

func (UpdatePrePaidBandwidthRequestBody) String

type UpdatePrePaidBandwidthResponse

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

	OrderId        *string `json:"order_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdatePrePaidBandwidthResponse) String

type UpdatePublicipOption

type UpdatePublicipOption struct {
	PortId *string `json:"port_id,omitempty"`

	IpVersion *UpdatePublicipOptionIpVersion `json:"ip_version,omitempty"`
}

弹性公网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

type UpdatePublicipOptionIpVersionEnum

type UpdatePublicipOptionIpVersionEnum struct {
	E_4 UpdatePublicipOptionIpVersion
	E_6 UpdatePublicipOptionIpVersion
}

func GetUpdatePublicipOptionIpVersionEnum

func GetUpdatePublicipOptionIpVersionEnum() UpdatePublicipOptionIpVersionEnum

type UpdatePublicipRequest

type UpdatePublicipRequest struct {
	PublicipId string `json:"publicip_id"`

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

Request Object

func (UpdatePublicipRequest) String

func (o UpdatePublicipRequest) String() string

type UpdatePublicipResponse

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

Response Object

func (UpdatePublicipResponse) String

func (o UpdatePublicipResponse) String() string

type UpdatePublicipsRequestBody

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

更新弹性公网IP的请求体

func (UpdatePublicipsRequestBody) String

Source Files

Jump to

Keyboard shortcuts

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