ons

package
v0.0.0-...-0b043e4 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2015 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Product = "Ons"
	Style   = "RPC"
	Version = "2015-10-20"
)

Variables

This section is empty.

Functions

func NewParams

func NewParams() openapi.Params

Types

type API

type API struct {
	openapi.Service
}

func New

func New(accessKeyId, accessKeySecret string) API

func (API) OnsCloudGetAppkeyList

func (api API) OnsCloudGetAppkeyList(IsvId int64, OnsRegionId string, PreventCache int64, optional openapi.M) (*OnsCloudGetAppkeyListResponse, error)

OnsCloudGetAppkeyList version 2015-10-20

required parameters:

name: IsvId, type: int64
name: OnsRegionId, type: string
name: PreventCache, type: int64

optional parameters:

name: OnsPlatform, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) OnsClusterList

func (api API) OnsClusterList(OnsRegionId string, PreventCache int64, optional openapi.M) (*OnsClusterListResponse, error)

OnsClusterList version 2015-10-20

required parameters:

name: OnsRegionId, type: string
name: PreventCache, type: int64

optional parameters:

name: Cluster, type: string
name: OnsPlatform, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) OnsClusterNames

func (api API) OnsClusterNames(OnsRegionId string, PreventCache int64, optional openapi.M) (*OnsClusterNamesResponse, error)

OnsClusterNames version 2015-10-20

required parameters:

name: OnsRegionId, type: string
name: PreventCache, type: int64

optional parameters:

name: OnsPlatform, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) OnsConsumerAccumulate

func (api API) OnsConsumerAccumulate(ConsumerId, OnsRegionId string, PreventCache int64, optional openapi.M) (*OnsConsumerAccumulateResponse, error)

OnsConsumerAccumulate version 2015-10-20

required parameters:

name: ConsumerId, type: string
name: OnsRegionId, type: string
name: PreventCache, type: int64

optional parameters:

name: Detail, type: bool
name: OnsPlatform, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) OnsConsumerGetConnection

func (api API) OnsConsumerGetConnection(ConsumerId, OnsRegionId string, PreventCache int64, optional openapi.M) (*OnsConsumerGetConnectionResponse, error)

OnsConsumerGetConnection version 2015-10-20

required parameters:

name: ConsumerId, type: string
name: OnsRegionId, type: string
name: PreventCache, type: int64

optional parameters:

name: OnsPlatform, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) OnsConsumerResetOffset

func (api API) OnsConsumerResetOffset(ConsumerId, OnsRegionId string, PreventCache, ResetTimestamp int64, Topic string, optional openapi.M) (*OnsConsumerResetOffsetResponse, error)

OnsConsumerResetOffset version 2015-10-20

required parameters:

name: ConsumerId, type: string
name: OnsRegionId, type: string
name: PreventCache, type: int64
name: ResetTimestamp, type: int64
name: Topic, type: string

optional parameters:

name: OnsPlatform, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) OnsConsumerStatus

func (api API) OnsConsumerStatus(ConsumerId, OnsRegionId string, PreventCache int64, optional openapi.M) (*OnsConsumerStatusResponse, error)

OnsConsumerStatus version 2015-10-20

required parameters:

name: ConsumerId, type: string
name: OnsRegionId, type: string
name: PreventCache, type: int64

optional parameters:

name: Detail, type: bool
name: NeedJstack, type: bool
name: OnsPlatform, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) OnsConsumerTimeSpan

func (api API) OnsConsumerTimeSpan(ConsumerId, OnsRegionId string, PreventCache int64, Topic string, optional openapi.M) (*OnsConsumerTimeSpanResponse, error)

OnsConsumerTimeSpan version 2015-10-20

required parameters:

name: ConsumerId, type: string
name: OnsRegionId, type: string
name: PreventCache, type: int64
name: Topic, type: string

optional parameters:

name: OnsPlatform, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) OnsEmpowerCreate

func (api API) OnsEmpowerCreate(EmpowerUser, OnsRegionId string, PreventCache int64, Relation int, Topic string, optional openapi.M) (*OnsEmpowerCreateResponse, error)

OnsEmpowerCreate version 2015-10-20

required parameters:

name: EmpowerUser, type: string
name: OnsRegionId, type: string
name: PreventCache, type: int64
name: Relation, type: int
name: Topic, type: string

optional parameters:

name: OnsPlatform, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) OnsEmpowerDelete

func (api API) OnsEmpowerDelete(EmpowerUser, OnsRegionId string, PreventCache int64, Topic string, optional openapi.M) (*OnsEmpowerDeleteResponse, error)

OnsEmpowerDelete version 2015-10-20

required parameters:

name: EmpowerUser, type: string
name: OnsRegionId, type: string
name: PreventCache, type: int64
name: Topic, type: string

optional parameters:

name: OnsPlatform, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) OnsEmpowerList

func (api API) OnsEmpowerList(EmpowerUser, OnsRegionId string, PreventCache int64, Topic string, optional openapi.M) (*OnsEmpowerListResponse, error)

OnsEmpowerList version 2015-10-20

required parameters:

name: EmpowerUser, type: string
name: OnsRegionId, type: string
name: PreventCache, type: int64
name: Topic, type: string

optional parameters:

name: OnsPlatform, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) OnsMessageGetByKey

func (api API) OnsMessageGetByKey(Key, OnsRegionId string, PreventCache int64, Topic string, optional openapi.M) (*OnsMessageGetByKeyResponse, error)

OnsMessageGetByKey version 2015-10-20

required parameters:

name: Key, type: string
name: OnsRegionId, type: string
name: PreventCache, type: int64
name: Topic, type: string

optional parameters:

name: OnsPlatform, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) OnsMessageGetByMsgId

func (api API) OnsMessageGetByMsgId(MsgId, OnsRegionId string, PreventCache int64, optional openapi.M) (*OnsMessageGetByMsgIdResponse, error)

OnsMessageGetByMsgId version 2015-10-20

required parameters:

name: MsgId, type: string
name: OnsRegionId, type: string
name: PreventCache, type: int64

optional parameters:

name: OnsPlatform, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) OnsMessageGetByTopic

func (api API) OnsMessageGetByTopic(OnsRegionId string, PreventCache int64, Topic string, optional openapi.M) (*OnsMessageGetByTopicResponse, error)

OnsMessageGetByTopic version 2015-10-20

required parameters:

name: OnsRegionId, type: string
name: PreventCache, type: int64
name: Topic, type: string

optional parameters:

name: OnsPlatform, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) OnsMessagePush

func (api API) OnsMessagePush(ClientId, ConsumerId, MsgId, OnsRegionId string, PreventCache int64, Topic string, optional openapi.M) (*OnsMessagePushResponse, error)

OnsMessagePush version 2015-10-20

required parameters:

name: ClientId, type: string
name: ConsumerId, type: string
name: MsgId, type: string
name: OnsRegionId, type: string
name: PreventCache, type: int64
name: Topic, type: string

optional parameters:

name: OnsPlatform, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) OnsMessageSend

func (api API) OnsMessageSend(Message, OnsRegionId string, PreventCache int64, ProducerId, Topic string, optional openapi.M) (*OnsMessageSendResponse, error)

OnsMessageSend version 2015-10-20

required parameters:

name: Message, type: string
name: OnsRegionId, type: string
name: PreventCache, type: int64
name: ProducerId, type: string
name: Topic, type: string

optional parameters:

name: Key, type: string
name: OnsPlatform, type: string
name: Tag, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) OnsMessageTrace

func (api API) OnsMessageTrace(MsgId, OnsRegionId string, PreventCache int64, Topic string, optional openapi.M) (*OnsMessageTraceResponse, error)

OnsMessageTrace version 2015-10-20

required parameters:

name: MsgId, type: string
name: OnsRegionId, type: string
name: PreventCache, type: int64
name: Topic, type: string

optional parameters:

name: OnsPlatform, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) OnsPublishCreate

func (api API) OnsPublishCreate(OnsRegionId string, PreventCache int64, ProducerId, Topic string, optional openapi.M) (*OnsPublishCreateResponse, error)

OnsPublishCreate version 2015-10-20

required parameters:

name: OnsRegionId, type: string
name: PreventCache, type: int64
name: ProducerId, type: string
name: Topic, type: string

optional parameters:

name: AppName, type: string
name: OnsPlatform, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) OnsPublishDelete

func (api API) OnsPublishDelete(OnsRegionId string, PreventCache int64, Topic string, optional openapi.M) (*OnsPublishDeleteResponse, error)

OnsPublishDelete version 2015-10-20

required parameters:

name: OnsRegionId, type: string
name: PreventCache, type: int64
name: Topic, type: string

optional parameters:

name: OnsPlatform, type: string
name: ProducerId, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) OnsPublishGet

func (api API) OnsPublishGet(OnsRegionId string, PreventCache int64, ProducerId, Topic string, optional openapi.M) (*OnsPublishGetResponse, error)

OnsPublishGet version 2015-10-20

required parameters:

name: OnsRegionId, type: string
name: PreventCache, type: int64
name: ProducerId, type: string
name: Topic, type: string

optional parameters:

name: OnsPlatform, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) OnsPublishList

func (api API) OnsPublishList(OnsRegionId string, PreventCache int64, optional openapi.M) (*OnsPublishListResponse, error)

OnsPublishList version 2015-10-20

required parameters:

name: OnsRegionId, type: string
name: PreventCache, type: int64

optional parameters:

name: OnsPlatform, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) OnsPublishSearch

func (api API) OnsPublishSearch(OnsRegionId string, PreventCache int64, Search string, optional openapi.M) (*OnsPublishSearchResponse, error)

OnsPublishSearch version 2015-10-20

required parameters:

name: OnsRegionId, type: string
name: PreventCache, type: int64
name: Search, type: string

optional parameters:

name: OnsPlatform, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) OnsRegionList

func (api API) OnsRegionList(PreventCache int64, optional openapi.M) (*OnsRegionListResponse, error)

OnsRegionList version 2015-10-20

required parameters:

name: PreventCache, type: int64

optional parameters:

name: OnsPlatform, type: string
name: OnsRegionId, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) OnsSubscriptionCreate

func (api API) OnsSubscriptionCreate(ConsumerId, OnsRegionId string, PreventCache int64, Topic string, optional openapi.M) (*OnsSubscriptionCreateResponse, error)

OnsSubscriptionCreate version 2015-10-20

required parameters:

name: ConsumerId, type: string
name: OnsRegionId, type: string
name: PreventCache, type: int64
name: Topic, type: string

optional parameters:

name: OnsPlatform, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) OnsSubscriptionDelete

func (api API) OnsSubscriptionDelete(ConsumerId, OnsRegionId string, PreventCache int64, optional openapi.M) (*OnsSubscriptionDeleteResponse, error)

OnsSubscriptionDelete version 2015-10-20

required parameters:

name: ConsumerId, type: string
name: OnsRegionId, type: string
name: PreventCache, type: int64

optional parameters:

name: OnsPlatform, type: string
name: Topic, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) OnsSubscriptionGet

func (api API) OnsSubscriptionGet(ConsumerId, OnsRegionId string, PreventCache int64, Topic string, optional openapi.M) (*OnsSubscriptionGetResponse, error)

OnsSubscriptionGet version 2015-10-20

required parameters:

name: ConsumerId, type: string
name: OnsRegionId, type: string
name: PreventCache, type: int64
name: Topic, type: string

optional parameters:

name: OnsPlatform, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) OnsSubscriptionList

func (api API) OnsSubscriptionList(OnsRegionId string, PreventCache int64, optional openapi.M) (*OnsSubscriptionListResponse, error)

OnsSubscriptionList version 2015-10-20

required parameters:

name: OnsRegionId, type: string
name: PreventCache, type: int64

optional parameters:

name: OnsPlatform, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) OnsSubscriptionSearch

func (api API) OnsSubscriptionSearch(OnsRegionId string, PreventCache int64, Search string, optional openapi.M) (*OnsSubscriptionSearchResponse, error)

OnsSubscriptionSearch version 2015-10-20

required parameters:

name: OnsRegionId, type: string
name: PreventCache, type: int64
name: Search, type: string

optional parameters:

name: OnsPlatform, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) OnsTopicCreate

func (api API) OnsTopicCreate(OnsRegionId string, PreventCache int64, Topic string, optional openapi.M) (*OnsTopicCreateResponse, error)

OnsTopicCreate version 2015-10-20

required parameters:

name: OnsRegionId, type: string
name: PreventCache, type: int64
name: Topic, type: string

optional parameters:

name: AppName, type: string
name: Appkey, type: string
name: Cluster, type: string
name: OnsPlatform, type: string
name: Order, type: bool
name: Qps, type: int64
name: QueueNum, type: int
name: Remark, type: string
name: Status, type: int
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) OnsTopicDelete

func (api API) OnsTopicDelete(OnsRegionId string, PreventCache int64, Topic string, optional openapi.M) (*OnsTopicDeleteResponse, error)

OnsTopicDelete version 2015-10-20

required parameters:

name: OnsRegionId, type: string
name: PreventCache, type: int64
name: Topic, type: string

optional parameters:

name: Cluster, type: string
name: OnsPlatform, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) OnsTopicGet

func (api API) OnsTopicGet(OnsRegionId string, PreventCache int64, Topic string, optional openapi.M) (*OnsTopicGetResponse, error)

OnsTopicGet version 2015-10-20

required parameters:

name: OnsRegionId, type: string
name: PreventCache, type: int64
name: Topic, type: string

optional parameters:

name: OnsPlatform, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) OnsTopicList

func (api API) OnsTopicList(OnsRegionId string, PreventCache int64, optional openapi.M) (*OnsTopicListResponse, error)

OnsTopicList version 2015-10-20

required parameters:

name: OnsRegionId, type: string
name: PreventCache, type: int64

optional parameters:

name: OnsPlatform, type: string
name: Topic, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) OnsTopicSearch

func (api API) OnsTopicSearch(OnsRegionId string, PreventCache int64, Search string, optional openapi.M) (*OnsTopicSearchResponse, error)

OnsTopicSearch version 2015-10-20

required parameters:

name: OnsRegionId, type: string
name: PreventCache, type: int64
name: Search, type: string

optional parameters:

name: OnsPlatform, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) OnsTopicStatus

func (api API) OnsTopicStatus(OnsRegionId string, PreventCache int64, Topic string, optional openapi.M) (*OnsTopicStatusResponse, error)

OnsTopicStatus version 2015-10-20

required parameters:

name: OnsRegionId, type: string
name: PreventCache, type: int64
name: Topic, type: string

optional parameters:

name: Detail, type: bool
name: OnsPlatform, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) OnsTrendClusterInputTps

func (api API) OnsTrendClusterInputTps(Cluster, OnsRegionId string, PreventCache int64, optional openapi.M) (*OnsTrendClusterInputTpsResponse, error)

OnsTrendClusterInputTps version 2015-10-20

required parameters:

name: Cluster, type: string
name: OnsRegionId, type: string
name: PreventCache, type: int64

optional parameters:

name: BeginTime, type: int64
name: EndTime, type: int64
name: OnsPlatform, type: string
name: Period, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) OnsTrendClusterOutputTps

func (api API) OnsTrendClusterOutputTps(Cluster, OnsRegionId string, PreventCache int64, optional openapi.M) (*OnsTrendClusterOutputTpsResponse, error)

OnsTrendClusterOutputTps version 2015-10-20

required parameters:

name: Cluster, type: string
name: OnsRegionId, type: string
name: PreventCache, type: int64

optional parameters:

name: BeginTime, type: int64
name: EndTime, type: int64
name: OnsPlatform, type: string
name: Period, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) OnsTrendGetMachineSar

func (api API) OnsTrendGetMachineSar(HostIp, OnsRegionId string, PreventCache int64, optional openapi.M) (*OnsTrendGetMachineSarResponse, error)

OnsTrendGetMachineSar version 2015-10-20

required parameters:

name: HostIp, type: string
name: OnsRegionId, type: string
name: PreventCache, type: int64

optional parameters:

name: AppId, type: string
name: BeginTime, type: int64
name: EndTime, type: int64
name: Metric, type: string
name: OnsPlatform, type: string
name: Period, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) OnsTrendGroupOutputTps

func (api API) OnsTrendGroupOutputTps(ConsumerId, OnsRegionId string, PreventCache int64, Topic string, optional openapi.M) (*OnsTrendGroupOutputTpsResponse, error)

OnsTrendGroupOutputTps version 2015-10-20

required parameters:

name: ConsumerId, type: string
name: OnsRegionId, type: string
name: PreventCache, type: int64
name: Topic, type: string

optional parameters:

name: BeginTime, type: int64
name: EndTime, type: int64
name: OnsPlatform, type: string
name: Period, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) OnsTrendTopicInputTps

func (api API) OnsTrendTopicInputTps(OnsRegionId string, PreventCache int64, Topic string, optional openapi.M) (*OnsTrendTopicInputTpsResponse, error)

OnsTrendTopicInputTps version 2015-10-20

required parameters:

name: OnsRegionId, type: string
name: PreventCache, type: int64
name: Topic, type: string

optional parameters:

name: BeginTime, type: int64
name: EndTime, type: int64
name: OnsPlatform, type: string
name: Period, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) OnsWarnAdmin

func (api API) OnsWarnAdmin(ConsumerId, OnsRegionId string, PreventCache int64, Topic, Type, UserId string, optional openapi.M) (*OnsWarnAdminResponse, error)

OnsWarnAdmin version 2015-10-20

required parameters:

name: ConsumerId, type: string
name: OnsRegionId, type: string
name: PreventCache, type: int64
name: Topic, type: string
name: Type, type: string
name: UserId, type: string

optional parameters:

name: OnsPlatform, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) OnsWarnCreate

func (api API) OnsWarnCreate(ConsumerId, Contacts, OnsRegionId string, PreventCache int64, Threshold, Topic string, optional openapi.M) (*OnsWarnCreateResponse, error)

OnsWarnCreate version 2015-10-20

required parameters:

name: ConsumerId, type: string
name: Contacts, type: string
name: OnsRegionId, type: string
name: PreventCache, type: int64
name: Threshold, type: string
name: Topic, type: string

optional parameters:

name: OnsPlatform, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) OnsWarnDelete

func (api API) OnsWarnDelete(ConsumerId, OnsRegionId string, PreventCache int64, Topic string, optional openapi.M) (*OnsWarnDeleteResponse, error)

OnsWarnDelete version 2015-10-20

required parameters:

name: ConsumerId, type: string
name: OnsRegionId, type: string
name: PreventCache, type: int64
name: Topic, type: string

optional parameters:

name: OnsPlatform, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) OnsWarnDisable

func (api API) OnsWarnDisable(ConsumerId, OnsRegionId string, PreventCache int64, Topic string, optional openapi.M) (*OnsWarnDisableResponse, error)

OnsWarnDisable version 2015-10-20

required parameters:

name: ConsumerId, type: string
name: OnsRegionId, type: string
name: PreventCache, type: int64
name: Topic, type: string

optional parameters:

name: OnsPlatform, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) OnsWarnEditor

func (api API) OnsWarnEditor(ConsumerId, Contacts, OnsRegionId string, PreventCache int64, Threshold, Topic string, optional openapi.M) (*OnsWarnEditorResponse, error)

OnsWarnEditor version 2015-10-20

required parameters:

name: ConsumerId, type: string
name: Contacts, type: string
name: OnsRegionId, type: string
name: PreventCache, type: int64
name: Threshold, type: string
name: Topic, type: string

optional parameters:

name: OnsPlatform, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) OnsWarnEnable

func (api API) OnsWarnEnable(ConsumerId, OnsRegionId string, PreventCache int64, Topic string, optional openapi.M) (*OnsWarnEnableResponse, error)

OnsWarnEnable version 2015-10-20

required parameters:

name: ConsumerId, type: string
name: OnsRegionId, type: string
name: PreventCache, type: int64
name: Topic, type: string

optional parameters:

name: OnsPlatform, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) OnsWarnList

func (api API) OnsWarnList(ConsumerId, OnsRegionId string, PreventCache int64, Topic string, optional openapi.M) (*OnsWarnListResponse, error)

OnsWarnList version 2015-10-20

required parameters:

name: ConsumerId, type: string
name: OnsRegionId, type: string
name: PreventCache, type: int64
name: Topic, type: string

optional parameters:

name: OnsPlatform, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

type OnsCloudGetAppkeyListResponse

type OnsCloudGetAppkeyListResponse struct {
	Data struct {
		AppStatus    int64
		Appkey       string
		Description  string
		IsvId        int64
		SupportEmail string
		Title        string
		Wangwang     string
	}
	HelpUrl string
}

OnsCloudGetAppkeyListResponse represents the response of the api OnsCloudGetAppkeyList.

type OnsClusterListResponse

type OnsClusterListResponse struct {
	Data struct {
		ClusterInfoDataDo []struct {
			BrokerInfoList struct {
				BrokerInfoDataDo []struct {
					BrokerAddr    string
					BrokerId      int
					BrokerIp      string
					BrokerName    string
					ClusterName   string
					InTPS         float32
					InTotalToday  float32
					InTotalYest   float32
					OutTPS        float32
					OutTotalToday float32
					OutTotalYest  float32
					Version       string
				}
			}
			ClusterName string
		}
	}
	HelpUrl string
}

OnsClusterListResponse represents the response of the api OnsClusterList.

type OnsClusterNamesResponse

type OnsClusterNamesResponse struct {
	HelpUrl string
}

OnsClusterNamesResponse represents the response of the api OnsClusterNames.

type OnsConsumerAccumulateResponse

type OnsConsumerAccumulateResponse struct {
	Data struct {
		ConsumeTps        float32
		DelayTime         int64
		DetailInTopicList struct {
			DetailInTopicDo []struct {
				ConsumeTps    float32
				DelayTime     int64
				LastTimestamp int64
				OffsetList    struct {
					ConsumeQueueOffset []struct {
						BrokerName     string
						BrokerOffset   int64
						ConsumerOffset int64
						LastTimestamp  int64
						QueueId        int
						Topic          string
					}
				}
				Topic string
			}
		}
		LastTimestamp int64
		Online        bool
		TotalDiff     int64
	}
	HelpUrl string
}

OnsConsumerAccumulateResponse represents the response of the api OnsConsumerAccumulate.

type OnsConsumerGetConnectionResponse

type OnsConsumerGetConnectionResponse struct {
	Data struct {
		ConnectionList struct {
			ConnectionDo []struct {
				ClientAddr string
				ClientId   string
				Language   string
				Version    string
			}
		}
	}
	HelpUrl string
}

OnsConsumerGetConnectionResponse represents the response of the api OnsConsumerGetConnection.

type OnsConsumerResetOffsetResponse

type OnsConsumerResetOffsetResponse struct {
	HelpUrl string
}

OnsConsumerResetOffsetResponse represents the response of the api OnsConsumerResetOffset.

type OnsConsumerStatusResponse

type OnsConsumerStatusResponse struct {
	Data struct {
		ConnectionSet struct {
			ConnectionDo []struct {
				ClientAddr string
				ClientId   string
				Language   string
				Version    string
			}
		}
		ConsumeModel               string
		ConsumeTps                 float32
		ConsumerConnectionInfoList struct {
			ConsumerConnectionInfoDo []struct {
				Connection   string
				ConsumeModel string
				ConsumeType  string
				InstanceId   string
				Jstack       struct {
					ThreadTrackDo []struct {
						Thread string
					}
				}
				Language               string
				LastTimeStamp          int64
				ProcessQueueInfoDoList struct {
					ProcessQueueInfoDo []struct {
						BrokerName string
						QueueId    int
						Topic      string `json:"topic" xml:"topic"`
						WarnMap    struct {
							BLOCK  string
							LOCK   string
							UNLOCK string
						}
					}
				}
				RunningDataList struct {
					ConsumerRunningDataDo []struct {
						ConsumerId         string
						FailedCountPerHour int64
						FailedTps          int64
						OkTps              float32
						Rt                 float32
						Topic              string
					}
				}
				StartTimeStamp  int64
				SubscriptionSet struct {
					SubscriptionData []struct {
						ClassFilterMode bool
						SubString       string
						SubVersion      int64
						Topic           string
					}
				}
				ThreadCount int
				Version     string
			}
		}
		DelayTime         int64
		DetailInTopicList struct {
			DetailInTopicDo []struct {
				ConsumeTps    float32
				DelayTime     int64
				LastTimestamp int64
				OffsetList    struct {
					ConsumeQueueOffset []struct {
						BrokerName     string
						BrokerOffset   int64
						ConsumerOffset int64
						LastTimestamp  int64
						QueueId        int
						Topic          string
					}
				}
				Topic string
			}
		}
		LastTimestamp    int64
		Online           bool
		RebalanceOK      bool
		SubscriptionSame bool
		TotalDiff        int64
	}
	HelpUrl string
}

OnsConsumerStatusResponse represents the response of the api OnsConsumerStatus.

type OnsConsumerTimeSpanResponse

type OnsConsumerTimeSpanResponse struct {
	Data struct {
		ConsumeTimeStamp int64
		MaxTimeStamp     int64
		MinTimeStamp     int64
		QueueTimeSpans   struct {
			QueueTimeSpan []struct {
				ConsumeTimeStamp int64
				MaxTimeStamp     int64
				MessageQueue     struct {
					BrokerName string
					QueueId    int
					Topic      string
				}
				MinTimeStamp int64
			}
		}
		Topic string
	}
	HelpUrl string
}

OnsConsumerTimeSpanResponse represents the response of the api OnsConsumerTimeSpan.

type OnsEmpowerCreateResponse

type OnsEmpowerCreateResponse struct {
	HelpUrl string
}

OnsEmpowerCreateResponse represents the response of the api OnsEmpowerCreate.

type OnsEmpowerDeleteResponse

type OnsEmpowerDeleteResponse struct {
	HelpUrl string
}

OnsEmpowerDeleteResponse represents the response of the api OnsEmpowerDelete.

type OnsEmpowerListResponse

type OnsEmpowerListResponse struct {
	Data struct {
		AuthOwnerInfoDo []struct {
			CreateTime   int64
			Id           int64
			Owner        int64
			Relation     int
			RelationName string
			Topic        string
			UpdateTime   int64
		}
	}
	HelpUrl string
}

OnsEmpowerListResponse represents the response of the api OnsEmpowerList.

type OnsMessageGetByKeyResponse

type OnsMessageGetByKeyResponse struct {
	Data struct {
		OnsRestMessageDo []struct {
			Body                      string
			BodyCRC                   int
			BornHost                  string
			BornTimestamp             int64
			CommitLogOffset           int64
			Flag                      int
			MsgId                     string
			PreparedTransactionOffset int64
			PropertyList              struct {
				MessageProperty []struct {
					Name  string
					Value string
				}
			}
			QueueId        int
			QueueOffset    int64
			ReconsumeTimes int
			StoreHost      string
			StoreSize      int
			StoreTimestamp int64
			SysFlag        int
			Topic          string
		}
	}
	HelpUrl string
}

OnsMessageGetByKeyResponse represents the response of the api OnsMessageGetByKey.

type OnsMessageGetByMsgIdResponse

type OnsMessageGetByMsgIdResponse struct {
	Data struct {
		Body                      string
		BodyCRC                   int
		BornHost                  string
		BornTimestamp             int64
		CommitLogOffset           int64
		Flag                      int
		MsgId                     string
		PreparedTransactionOffset int64
		PropertyList              struct {
			MessageProperty []struct {
				Name  string
				Value string
			}
		}
		QueueId        int
		QueueOffset    int64
		ReconsumeTimes int
		StoreHost      string
		StoreSize      int
		StoreTimestamp int64
		SysFlag        int
		Topic          string
	}
	HelpUrl string
}

OnsMessageGetByMsgIdResponse represents the response of the api OnsMessageGetByMsgId.

type OnsMessageGetByTopicResponse

type OnsMessageGetByTopicResponse struct {
	Data struct {
		OnsRestMessageDo []struct {
			Body                      string
			BodyCRC                   int
			BornHost                  string
			BornTimestamp             int64
			CommitLogOffset           int64
			Flag                      int
			MsgId                     string
			PreparedTransactionOffset int64
			PropertyList              struct {
				MessageProperty []struct {
					Name  string
					Value string
				}
			}
			QueueId        int
			QueueOffset    int64
			ReconsumeTimes int
			StoreHost      string
			StoreSize      int
			StoreTimestamp int64
			SysFlag        int
			Topic          string
		}
	}
	HelpUrl string
}

OnsMessageGetByTopicResponse represents the response of the api OnsMessageGetByTopic.

type OnsMessagePushResponse

type OnsMessagePushResponse struct {
	HelpUrl string
}

OnsMessagePushResponse represents the response of the api OnsMessagePush.

type OnsMessageSendResponse

type OnsMessageSendResponse struct {
	Data    string
	HelpUrl string
}

OnsMessageSendResponse represents the response of the api OnsMessageSend.

type OnsMessageTraceResponse

type OnsMessageTraceResponse struct {
	Data struct {
		MessageTrack []struct {
			ConsumerGroup string
			ExceptionDesc string
			TrackType     string
		}
	}
	HelpUrl string
}

OnsMessageTraceResponse represents the response of the api OnsMessageTrace.

type OnsPublishCreateResponse

type OnsPublishCreateResponse struct {
	HelpUrl string
}

OnsPublishCreateResponse represents the response of the api OnsPublishCreate.

type OnsPublishDeleteResponse

type OnsPublishDeleteResponse struct {
	HelpUrl string
}

OnsPublishDeleteResponse represents the response of the api OnsPublishDelete.

type OnsPublishGetResponse

type OnsPublishGetResponse struct {
	Data struct {
		PublishInfoDo []struct {
			ChannelId   int
			ChannelName string
			CreateTime  int64
			Id          int64
			Owner       string
			ProducerId  string
			RegionId    string
			RegionName  string
			Status      int
			StatusName  string
			Topic       string
			UpdateTime  int64
		}
	}
	HelpUrl string
}

OnsPublishGetResponse represents the response of the api OnsPublishGet.

type OnsPublishListResponse

type OnsPublishListResponse struct {
	Data struct {
		PublishInfoDo []struct {
			ChannelId   int
			ChannelName string
			CreateTime  int64
			Id          int64
			Owner       string
			ProducerId  string
			RegionId    string
			RegionName  string
			Status      int
			StatusName  string
			Topic       string
			UpdateTime  int64
		}
	}
	HelpUrl string
}

OnsPublishListResponse represents the response of the api OnsPublishList.

type OnsPublishSearchResponse

type OnsPublishSearchResponse struct {
	Data struct {
		PublishInfoDo []struct {
			ChannelId   int
			ChannelName string
			CreateTime  int64
			Id          int64
			Owner       string
			ProducerId  string
			RegionId    string
			RegionName  string
			Status      int
			StatusName  string
			Topic       string
			UpdateTime  int64
		}
	}
	HelpUrl string
}

OnsPublishSearchResponse represents the response of the api OnsPublishSearch.

type OnsRegionListResponse

type OnsRegionListResponse struct {
	Data struct {
		RegionDo []struct {
			ChannelId   int
			ChannelName string
			Cluster     string
			CreateTime  int64
			Id          int64
			IsShare     int
			Owner       string
			RegionId    string
			RegionName  string
			Status      int
			UpdateTime  int64
		}
	}
	HelpUrl string
}

OnsRegionListResponse represents the response of the api OnsRegionList.

type OnsSubscriptionCreateResponse

type OnsSubscriptionCreateResponse struct {
	HelpUrl string
}

OnsSubscriptionCreateResponse represents the response of the api OnsSubscriptionCreate.

type OnsSubscriptionDeleteResponse

type OnsSubscriptionDeleteResponse struct {
	HelpUrl string
}

OnsSubscriptionDeleteResponse represents the response of the api OnsSubscriptionDelete.

type OnsSubscriptionGetResponse

type OnsSubscriptionGetResponse struct {
	Data struct {
		SubscribeInfoDo []struct {
			ChannelId   int
			ChannelName string
			ConsumerId  string
			CreateTime  int64
			Id          int64
			Owner       string
			RegionId    string
			RegionName  string
			Status      int
			StatusName  string
			Topic       string
			UpdateTime  int64
		}
	}
	HelpUrl string
}

OnsSubscriptionGetResponse represents the response of the api OnsSubscriptionGet.

type OnsSubscriptionListResponse

type OnsSubscriptionListResponse struct {
	Data struct {
		SubscribeInfoDo []struct {
			ChannelId   int
			ChannelName string
			ConsumerId  string
			CreateTime  int64
			Id          int64
			Owner       string
			RegionId    string
			RegionName  string
			Status      int
			StatusName  string
			Topic       string
			UpdateTime  int64
		}
	}
	HelpUrl string
}

OnsSubscriptionListResponse represents the response of the api OnsSubscriptionList.

type OnsSubscriptionSearchResponse

type OnsSubscriptionSearchResponse struct {
	Data struct {
		SubscribeInfoDo []struct {
			ChannelId   int
			ChannelName string
			ConsumerId  string
			CreateTime  int64
			Id          int64
			Owner       string
			RegionId    string
			RegionName  string
			Status      int
			StatusName  string
			Topic       string
			UpdateTime  int64
		}
	}
	HelpUrl string
}

OnsSubscriptionSearchResponse represents the response of the api OnsSubscriptionSearch.

type OnsTopicCreateResponse

type OnsTopicCreateResponse struct {
	HelpUrl string
}

OnsTopicCreateResponse represents the response of the api OnsTopicCreate.

type OnsTopicDeleteResponse

type OnsTopicDeleteResponse struct {
	HelpUrl string
}

OnsTopicDeleteResponse represents the response of the api OnsTopicDelete.

type OnsTopicGetResponse

type OnsTopicGetResponse struct {
	Data struct {
		PublishInfoDo []struct {
			Appkey       int
			ChannelId    int
			ChannelName  string
			CreateTime   int64
			Id           int64
			Owner        string
			RegionId     string
			RegionName   string
			Relation     int
			RelationName string
			Remark       string
			Status       int
			StatusName   string
			Topic        string
			UpdateTime   int64
		}
	}
	HelpUrl string
}

OnsTopicGetResponse represents the response of the api OnsTopicGet.

type OnsTopicListResponse

type OnsTopicListResponse struct {
	Data struct {
		PublishInfoDo []struct {
			Appkey       int
			ChannelId    int
			ChannelName  string
			CreateTime   int64
			Id           int64
			Owner        string
			RegionId     string
			RegionName   string
			Relation     int
			RelationName string
			Remark       string
			Status       int
			StatusName   string
			Topic        string
			UpdateTime   int64
		}
	}
	HelpUrl string
}

OnsTopicListResponse represents the response of the api OnsTopicList.

type OnsTopicSearchResponse

type OnsTopicSearchResponse struct {
	Data struct {
		PublishInfoDo []struct {
			Appkey       int
			ChannelId    int
			ChannelName  string
			CreateTime   int64
			Id           int64
			Owner        string
			RegionId     string
			RegionName   string
			Relation     int
			RelationName string
			Remark       string
			Status       int
			StatusName   string
			Topic        string
			UpdateTime   int64
		}
	}
	HelpUrl string
}

OnsTopicSearchResponse represents the response of the api OnsTopicSearch.

type OnsTopicStatusResponse

type OnsTopicStatusResponse struct {
	Data struct {
		LastTimeStamp int64
		OffsetTable   struct {
			TopicQueueOffset []struct {
				BrokerName          string
				LastUpdateTimestamp int64
				MaxOffset           int64
				MinOffset           int64
				QueueId             int
				Topic               string
			}
		}
		TotalCount int64
	}
	HelpUrl string
}

OnsTopicStatusResponse represents the response of the api OnsTopicStatus.

type OnsTrendClusterInputTpsResponse

type OnsTrendClusterInputTpsResponse struct {
	Data struct {
		Records struct {
			StatsDataDo []struct {
				X int64
				Y float32
			}
		}
		Title string
		XUnit string
		YUnit string
	}
	HelpUrl string
}

OnsTrendClusterInputTpsResponse represents the response of the api OnsTrendClusterInputTps.

type OnsTrendClusterOutputTpsResponse

type OnsTrendClusterOutputTpsResponse struct {
	Data struct {
		Records struct {
			StatsDataDo []struct {
				X int64
				Y float32
			}
		}
		Title string
		XUnit string
		YUnit string
	}
	HelpUrl string
}

OnsTrendClusterOutputTpsResponse represents the response of the api OnsTrendClusterOutputTps.

type OnsTrendGetMachineSarResponse

type OnsTrendGetMachineSarResponse struct {
	Data struct {
		Records struct {
			StatsDataDo []struct {
				X int64
				Y float32
			}
		}
		Title string
		XUnit string
		YUnit string
	}
	HelpUrl string
}

OnsTrendGetMachineSarResponse represents the response of the api OnsTrendGetMachineSar.

type OnsTrendGroupOutputTpsResponse

type OnsTrendGroupOutputTpsResponse struct {
	Data struct {
		Records struct {
			StatsDataDo []struct {
				X int64
				Y float32
			}
		}
		Title string
		XUnit string
		YUnit string
	}
	HelpUrl string
}

OnsTrendGroupOutputTpsResponse represents the response of the api OnsTrendGroupOutputTps.

type OnsTrendTopicInputTpsResponse

type OnsTrendTopicInputTpsResponse struct {
	Data struct {
		Records struct {
			StatsDataDo []struct {
				X int64
				Y float32
			}
		}
		Title string
		XUnit string
		YUnit string
	}
	HelpUrl string
}

OnsTrendTopicInputTpsResponse represents the response of the api OnsTrendTopicInputTps.

type OnsWarnAdminResponse

type OnsWarnAdminResponse struct {
	HelpUrl string
}

OnsWarnAdminResponse represents the response of the api OnsWarnAdmin.

type OnsWarnCreateResponse

type OnsWarnCreateResponse struct {
	HelpUrl string
}

OnsWarnCreateResponse represents the response of the api OnsWarnCreate.

type OnsWarnDeleteResponse

type OnsWarnDeleteResponse struct {
	HelpUrl string
}

OnsWarnDeleteResponse represents the response of the api OnsWarnDelete.

type OnsWarnDisableResponse

type OnsWarnDisableResponse struct {
	HelpUrl string
}

OnsWarnDisableResponse represents the response of the api OnsWarnDisable.

type OnsWarnEditorResponse

type OnsWarnEditorResponse struct {
	HelpUrl string
}

OnsWarnEditorResponse represents the response of the api OnsWarnEditor.

type OnsWarnEnableResponse

type OnsWarnEnableResponse struct {
	HelpUrl string
}

OnsWarnEnableResponse represents the response of the api OnsWarnEnable.

type OnsWarnListResponse

type OnsWarnListResponse struct {
	Data struct {
		WarnViewDO []struct {
			AliyunPK   string
			ConsumerID string
			Contacts   struct {
				YunContact []struct {
					Ari    string
					Name   string
					Params string
					Type   string
					Value  string
				}
			} `json:"contacts" xml:"contacts"`
			Status    bool
			Threshold string
			Topic     string
		}
	}
	HelpUrl string
}

OnsWarnListResponse represents the response of the api OnsWarnList.

Jump to

Keyboard shortcuts

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