Documentation ¶
Index ¶
- func GenReqDefForBatchCreateOrDeleteInstanceTag() *def.HttpRequestDef
- func GenReqDefForBatchRestartOrDeleteInstances() *def.HttpRequestDef
- func GenReqDefForCreatePostPaidInstance() *def.HttpRequestDef
- func GenReqDefForDeleteBackgroundTask() *def.HttpRequestDef
- func GenReqDefForDeleteInstance() *def.HttpRequestDef
- func GenReqDefForListAvailableZones() *def.HttpRequestDef
- func GenReqDefForListBackgroundTasks() *def.HttpRequestDef
- func GenReqDefForListInstancesDetails() *def.HttpRequestDef
- func GenReqDefForListPlugins() *def.HttpRequestDef
- func GenReqDefForListProducts() *def.HttpRequestDef
- func GenReqDefForResetPassword() *def.HttpRequestDef
- func GenReqDefForResizeInstance() *def.HttpRequestDef
- func GenReqDefForShowBackgroundTask() *def.HttpRequestDef
- func GenReqDefForShowInstance() *def.HttpRequestDef
- func GenReqDefForShowInstanceExtendProductInfo() *def.HttpRequestDef
- func GenReqDefForShowInstanceTags() *def.HttpRequestDef
- func GenReqDefForShowMaintainWindows() *def.HttpRequestDef
- func GenReqDefForShowProjectTags() *def.HttpRequestDef
- func GenReqDefForUpdateInstance() *def.HttpRequestDef
- func GenReqDefForUpdatePlugins() *def.HttpRequestDef
- func RabbitMQClientBuilder() *http_client.HcHttpClientBuilder
- type RabbitMQClient
- func (c *RabbitMQClient) BatchCreateOrDeleteInstanceTag(request *model.BatchCreateOrDeleteInstanceTagRequest) (*model.BatchCreateOrDeleteInstanceTagResponse, error)
- func (c *RabbitMQClient) BatchRestartOrDeleteInstances(request *model.BatchRestartOrDeleteInstancesRequest) (*model.BatchRestartOrDeleteInstancesResponse, error)
- func (c *RabbitMQClient) CreatePostPaidInstance(request *model.CreatePostPaidInstanceRequest) (*model.CreatePostPaidInstanceResponse, error)
- func (c *RabbitMQClient) DeleteBackgroundTask(request *model.DeleteBackgroundTaskRequest) (*model.DeleteBackgroundTaskResponse, error)
- func (c *RabbitMQClient) DeleteInstance(request *model.DeleteInstanceRequest) (*model.DeleteInstanceResponse, error)
- func (c *RabbitMQClient) ListAvailableZones(request *model.ListAvailableZonesRequest) (*model.ListAvailableZonesResponse, error)
- func (c *RabbitMQClient) ListBackgroundTasks(request *model.ListBackgroundTasksRequest) (*model.ListBackgroundTasksResponse, error)
- func (c *RabbitMQClient) ListInstancesDetails(request *model.ListInstancesDetailsRequest) (*model.ListInstancesDetailsResponse, error)
- func (c *RabbitMQClient) ListPlugins(request *model.ListPluginsRequest) (*model.ListPluginsResponse, error)
- func (c *RabbitMQClient) ListProducts(request *model.ListProductsRequest) (*model.ListProductsResponse, error)
- func (c *RabbitMQClient) ResetPassword(request *model.ResetPasswordRequest) (*model.ResetPasswordResponse, error)
- func (c *RabbitMQClient) ResizeInstance(request *model.ResizeInstanceRequest) (*model.ResizeInstanceResponse, error)
- func (c *RabbitMQClient) ShowBackgroundTask(request *model.ShowBackgroundTaskRequest) (*model.ShowBackgroundTaskResponse, error)
- func (c *RabbitMQClient) ShowInstance(request *model.ShowInstanceRequest) (*model.ShowInstanceResponse, error)
- func (c *RabbitMQClient) ShowInstanceExtendProductInfo(request *model.ShowInstanceExtendProductInfoRequest) (*model.ShowInstanceExtendProductInfoResponse, error)
- func (c *RabbitMQClient) ShowInstanceTags(request *model.ShowInstanceTagsRequest) (*model.ShowInstanceTagsResponse, error)
- func (c *RabbitMQClient) ShowMaintainWindows(request *model.ShowMaintainWindowsRequest) (*model.ShowMaintainWindowsResponse, error)
- func (c *RabbitMQClient) ShowProjectTags(request *model.ShowProjectTagsRequest) (*model.ShowProjectTagsResponse, error)
- func (c *RabbitMQClient) UpdateInstance(request *model.UpdateInstanceRequest) (*model.UpdateInstanceResponse, error)
- func (c *RabbitMQClient) UpdatePlugins(request *model.UpdatePluginsRequest) (*model.UpdatePluginsResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenReqDefForBatchCreateOrDeleteInstanceTag ¶
func GenReqDefForBatchCreateOrDeleteInstanceTag() *def.HttpRequestDef
func GenReqDefForBatchRestartOrDeleteInstances ¶
func GenReqDefForBatchRestartOrDeleteInstances() *def.HttpRequestDef
func GenReqDefForCreatePostPaidInstance ¶
func GenReqDefForCreatePostPaidInstance() *def.HttpRequestDef
func GenReqDefForDeleteBackgroundTask ¶
func GenReqDefForDeleteBackgroundTask() *def.HttpRequestDef
func GenReqDefForDeleteInstance ¶
func GenReqDefForDeleteInstance() *def.HttpRequestDef
func GenReqDefForListAvailableZones ¶
func GenReqDefForListAvailableZones() *def.HttpRequestDef
func GenReqDefForListBackgroundTasks ¶
func GenReqDefForListBackgroundTasks() *def.HttpRequestDef
func GenReqDefForListInstancesDetails ¶
func GenReqDefForListInstancesDetails() *def.HttpRequestDef
func GenReqDefForListPlugins ¶
func GenReqDefForListPlugins() *def.HttpRequestDef
func GenReqDefForListProducts ¶
func GenReqDefForListProducts() *def.HttpRequestDef
func GenReqDefForResetPassword ¶
func GenReqDefForResetPassword() *def.HttpRequestDef
func GenReqDefForResizeInstance ¶
func GenReqDefForResizeInstance() *def.HttpRequestDef
func GenReqDefForShowBackgroundTask ¶
func GenReqDefForShowBackgroundTask() *def.HttpRequestDef
func GenReqDefForShowInstance ¶
func GenReqDefForShowInstance() *def.HttpRequestDef
func GenReqDefForShowInstanceExtendProductInfo ¶
func GenReqDefForShowInstanceExtendProductInfo() *def.HttpRequestDef
func GenReqDefForShowInstanceTags ¶
func GenReqDefForShowInstanceTags() *def.HttpRequestDef
func GenReqDefForShowMaintainWindows ¶
func GenReqDefForShowMaintainWindows() *def.HttpRequestDef
func GenReqDefForShowProjectTags ¶
func GenReqDefForShowProjectTags() *def.HttpRequestDef
func GenReqDefForUpdateInstance ¶
func GenReqDefForUpdateInstance() *def.HttpRequestDef
func GenReqDefForUpdatePlugins ¶
func GenReqDefForUpdatePlugins() *def.HttpRequestDef
func RabbitMQClientBuilder ¶
func RabbitMQClientBuilder() *http_client.HcHttpClientBuilder
Types ¶
type RabbitMQClient ¶
type RabbitMQClient struct {
HcClient *http_client.HcHttpClient
}
func NewRabbitMQClient ¶
func NewRabbitMQClient(hcClient *http_client.HcHttpClient) *RabbitMQClient
func (*RabbitMQClient) BatchCreateOrDeleteInstanceTag ¶
func (c *RabbitMQClient) BatchCreateOrDeleteInstanceTag(request *model.BatchCreateOrDeleteInstanceTagRequest) (*model.BatchCreateOrDeleteInstanceTagResponse, error)
批量添加或删除实例标签。
func (*RabbitMQClient) BatchRestartOrDeleteInstances ¶
func (c *RabbitMQClient) BatchRestartOrDeleteInstances(request *model.BatchRestartOrDeleteInstancesRequest) (*model.BatchRestartOrDeleteInstancesResponse, error)
批量重启或删除实例。 在实例重启过程中,客户端的生产与消费消息等请求会被拒绝。 实例删除后,实例中原有的数据将被删除,且没有备份,请谨慎操作。
func (*RabbitMQClient) CreatePostPaidInstance ¶
func (c *RabbitMQClient) CreatePostPaidInstance(request *model.CreatePostPaidInstanceRequest) (*model.CreatePostPaidInstanceResponse, error)
创建实例,该接口创建的实例为按需计费的方式。
func (*RabbitMQClient) DeleteBackgroundTask ¶
func (c *RabbitMQClient) DeleteBackgroundTask(request *model.DeleteBackgroundTaskRequest) (*model.DeleteBackgroundTaskResponse, error)
删除后台任务管理中的指定记录。
func (*RabbitMQClient) DeleteInstance ¶
func (c *RabbitMQClient) DeleteInstance(request *model.DeleteInstanceRequest) (*model.DeleteInstanceResponse, error)
删除指定的实例,释放该实例的所有资源。
func (*RabbitMQClient) ListAvailableZones ¶
func (c *RabbitMQClient) ListAvailableZones(request *model.ListAvailableZonesRequest) (*model.ListAvailableZonesResponse, error)
在创建实例时,需要配置实例所在的可用区ID,可通过该接口查询可用区的ID。
func (*RabbitMQClient) ListBackgroundTasks ¶
func (c *RabbitMQClient) ListBackgroundTasks(request *model.ListBackgroundTasksRequest) (*model.ListBackgroundTasksResponse, error)
查询实例的后台任务列表。
func (*RabbitMQClient) ListInstancesDetails ¶
func (c *RabbitMQClient) ListInstancesDetails(request *model.ListInstancesDetailsRequest) (*model.ListInstancesDetailsResponse, error)
查询租户的实例列表,支持按照条件查询。
func (*RabbitMQClient) ListPlugins ¶
func (c *RabbitMQClient) ListPlugins(request *model.ListPluginsRequest) (*model.ListPluginsResponse, error)
查询插件列表。
func (*RabbitMQClient) ListProducts ¶
func (c *RabbitMQClient) ListProducts(request *model.ListProductsRequest) (*model.ListProductsResponse, error)
在创建实例时,需要配置订购的产品ID(即product_id),可通过该接口查询产品规格。
func (*RabbitMQClient) ResetPassword ¶
func (c *RabbitMQClient) ResetPassword(request *model.ResetPasswordRequest) (*model.ResetPasswordResponse, error)
重置密码。
func (*RabbitMQClient) ResizeInstance ¶
func (c *RabbitMQClient) ResizeInstance(request *model.ResizeInstanceRequest) (*model.ResizeInstanceResponse, error)
实例规格变更。
func (*RabbitMQClient) ShowBackgroundTask ¶
func (c *RabbitMQClient) ShowBackgroundTask(request *model.ShowBackgroundTaskRequest) (*model.ShowBackgroundTaskResponse, error)
查询后台任务管理中的指定记录。
func (*RabbitMQClient) ShowInstance ¶
func (c *RabbitMQClient) ShowInstance(request *model.ShowInstanceRequest) (*model.ShowInstanceResponse, error)
查询指定实例的详细信息。
func (*RabbitMQClient) ShowInstanceExtendProductInfo ¶
func (c *RabbitMQClient) ShowInstanceExtendProductInfo(request *model.ShowInstanceExtendProductInfoRequest) (*model.ShowInstanceExtendProductInfoResponse, error)
查询可扩容规格列表。 RabbtiMQ只支持只增加节点数的扩容方式。
func (*RabbitMQClient) ShowInstanceTags ¶
func (c *RabbitMQClient) ShowInstanceTags(request *model.ShowInstanceTagsRequest) (*model.ShowInstanceTagsResponse, error)
查询实例标签。
func (*RabbitMQClient) ShowMaintainWindows ¶
func (c *RabbitMQClient) ShowMaintainWindows(request *model.ShowMaintainWindowsRequest) (*model.ShowMaintainWindowsResponse, error)
查询维护时间窗开始时间和结束时间。
func (*RabbitMQClient) ShowProjectTags ¶
func (c *RabbitMQClient) ShowProjectTags(request *model.ShowProjectTagsRequest) (*model.ShowProjectTagsResponse, error)
查询项目标签。
func (*RabbitMQClient) UpdateInstance ¶
func (c *RabbitMQClient) UpdateInstance(request *model.UpdateInstanceRequest) (*model.UpdateInstanceResponse, error)
修改实例的名称和描述信息。
func (*RabbitMQClient) UpdatePlugins ¶
func (c *RabbitMQClient) UpdatePlugins(request *model.UpdatePluginsRequest) (*model.UpdatePluginsResponse, error)
开启或关闭插件。
Click to show internal directories.
Click to hide internal directories.