Documentation ¶
Index ¶
- func GenReqDefForBatchCreateOrDeleteRabbitMqTag() *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 GenReqDefForListEngineProducts() *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 GenReqDefForShowMaintainWindows() *def.HttpRequestDef
- func GenReqDefForShowRabbitMqProjectTags() *def.HttpRequestDef
- func GenReqDefForShowRabbitMqTags() *def.HttpRequestDef
- func GenReqDefForUpdateInstance() *def.HttpRequestDef
- func GenReqDefForUpdatePlugins() *def.HttpRequestDef
- func RabbitMQClientBuilder() *http_client.HcHttpClientBuilder
- type RabbitMQClient
- func (c *RabbitMQClient) BatchCreateOrDeleteRabbitMqTag(request *model.BatchCreateOrDeleteRabbitMqTagRequest) (*model.BatchCreateOrDeleteRabbitMqTagResponse, 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) ListEngineProducts(request *model.ListEngineProductsRequest) (*model.ListEngineProductsResponse, 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) ShowMaintainWindows(request *model.ShowMaintainWindowsRequest) (*model.ShowMaintainWindowsResponse, error)
- func (c *RabbitMQClient) ShowRabbitMqProjectTags(request *model.ShowRabbitMqProjectTagsRequest) (*model.ShowRabbitMqProjectTagsResponse, error)
- func (c *RabbitMQClient) ShowRabbitMqTags(request *model.ShowRabbitMqTagsRequest) (*model.ShowRabbitMqTagsResponse, 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 GenReqDefForBatchCreateOrDeleteRabbitMqTag ¶
func GenReqDefForBatchCreateOrDeleteRabbitMqTag() *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 GenReqDefForListEngineProducts ¶ added in v0.0.76
func GenReqDefForListEngineProducts() *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 GenReqDefForShowMaintainWindows ¶
func GenReqDefForShowMaintainWindows() *def.HttpRequestDef
func GenReqDefForShowRabbitMqProjectTags ¶
func GenReqDefForShowRabbitMqProjectTags() *def.HttpRequestDef
func GenReqDefForShowRabbitMqTags ¶
func GenReqDefForShowRabbitMqTags() *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) BatchCreateOrDeleteRabbitMqTag ¶
func (c *RabbitMQClient) BatchCreateOrDeleteRabbitMqTag(request *model.BatchCreateOrDeleteRabbitMqTagRequest) (*model.BatchCreateOrDeleteRabbitMqTagResponse, error)
批量添加或删除实例标签
批量添加或删除实例标签。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*RabbitMQClient) BatchRestartOrDeleteInstances ¶
func (c *RabbitMQClient) BatchRestartOrDeleteInstances(request *model.BatchRestartOrDeleteInstancesRequest) (*model.BatchRestartOrDeleteInstancesResponse, error)
批量重启或删除实例
批量重启或删除实例。
在实例重启过程中,客户端的生产与消费消息等请求会被拒绝。
实例删除后,实例中原有的数据将被删除,且没有备份,请谨慎操作。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*RabbitMQClient) CreatePostPaidInstance ¶
func (c *RabbitMQClient) CreatePostPaidInstance(request *model.CreatePostPaidInstanceRequest) (*model.CreatePostPaidInstanceResponse, error)
创建实例(按需)
创建实例,该接口创建的实例为按需计费的方式。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*RabbitMQClient) DeleteBackgroundTask ¶
func (c *RabbitMQClient) DeleteBackgroundTask(request *model.DeleteBackgroundTaskRequest) (*model.DeleteBackgroundTaskResponse, error)
删除后台任务管理中的指定记录
删除后台任务管理中的指定记录。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*RabbitMQClient) DeleteInstance ¶
func (c *RabbitMQClient) DeleteInstance(request *model.DeleteInstanceRequest) (*model.DeleteInstanceResponse, error)
删除指定的实例
删除指定的实例,释放该实例的所有资源。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*RabbitMQClient) ListAvailableZones ¶
func (c *RabbitMQClient) ListAvailableZones(request *model.ListAvailableZonesRequest) (*model.ListAvailableZonesResponse, error)
查询可用区信息
在创建实例时,需要配置实例所在的可用区ID,可通过该接口查询可用区的ID。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*RabbitMQClient) ListBackgroundTasks ¶
func (c *RabbitMQClient) ListBackgroundTasks(request *model.ListBackgroundTasksRequest) (*model.ListBackgroundTasksResponse, error)
查询实例的后台任务列表
查询实例的后台任务列表。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*RabbitMQClient) ListEngineProducts ¶ added in v0.0.76
func (c *RabbitMQClient) ListEngineProducts(request *model.ListEngineProductsRequest) (*model.ListEngineProductsResponse, error)
查询产品规格列表
查询产品规格列表。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*RabbitMQClient) ListInstancesDetails ¶
func (c *RabbitMQClient) ListInstancesDetails(request *model.ListInstancesDetailsRequest) (*model.ListInstancesDetailsResponse, error)
查询所有实例列表
查询租户的实例列表,支持按照条件查询。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*RabbitMQClient) ListPlugins ¶
func (c *RabbitMQClient) ListPlugins(request *model.ListPluginsRequest) (*model.ListPluginsResponse, error)
查询插件列表
查询插件列表。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*RabbitMQClient) ListProducts ¶
func (c *RabbitMQClient) ListProducts(request *model.ListProductsRequest) (*model.ListProductsResponse, error)
查询产品规格列表
在创建实例时,需要配置订购的产品ID(即product_id),可通过该接口查询产品规格。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*RabbitMQClient) ResetPassword ¶
func (c *RabbitMQClient) ResetPassword(request *model.ResetPasswordRequest) (*model.ResetPasswordResponse, error)
重置密码
重置密码。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*RabbitMQClient) ResizeInstance ¶
func (c *RabbitMQClient) ResizeInstance(request *model.ResizeInstanceRequest) (*model.ResizeInstanceResponse, error)
实例规格变更
实例规格变更。
[**当前通过调用API,只支持按需实例进行实例规格变更。**](tag:hws,ctc)
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*RabbitMQClient) ShowBackgroundTask ¶
func (c *RabbitMQClient) ShowBackgroundTask(request *model.ShowBackgroundTaskRequest) (*model.ShowBackgroundTaskResponse, error)
查询后台任务管理中的指定记录
查询后台任务管理中的指定记录。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*RabbitMQClient) ShowInstance ¶
func (c *RabbitMQClient) ShowInstance(request *model.ShowInstanceRequest) (*model.ShowInstanceResponse, error)
查询指定实例
查询指定实例的详细信息。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*RabbitMQClient) ShowInstanceExtendProductInfo ¶
func (c *RabbitMQClient) ShowInstanceExtendProductInfo(request *model.ShowInstanceExtendProductInfoRequest) (*model.ShowInstanceExtendProductInfoResponse, error)
查询可扩容规格列表
查询可扩容规格列表。
RabbtiMQ只支持只增加节点数的扩容方式。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*RabbitMQClient) ShowMaintainWindows ¶
func (c *RabbitMQClient) ShowMaintainWindows(request *model.ShowMaintainWindowsRequest) (*model.ShowMaintainWindowsResponse, error)
查询维护时间窗时间段
查询维护时间窗开始时间和结束时间。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*RabbitMQClient) ShowRabbitMqProjectTags ¶
func (c *RabbitMQClient) ShowRabbitMqProjectTags(request *model.ShowRabbitMqProjectTagsRequest) (*model.ShowRabbitMqProjectTagsResponse, error)
查询项目标签
查询项目标签。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*RabbitMQClient) ShowRabbitMqTags ¶
func (c *RabbitMQClient) ShowRabbitMqTags(request *model.ShowRabbitMqTagsRequest) (*model.ShowRabbitMqTagsResponse, error)
查询实例标签
查询实例标签。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*RabbitMQClient) UpdateInstance ¶
func (c *RabbitMQClient) UpdateInstance(request *model.UpdateInstanceRequest) (*model.UpdateInstanceResponse, error)
修改实例信息
修改实例的名称和描述信息。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*RabbitMQClient) UpdatePlugins ¶
func (c *RabbitMQClient) UpdatePlugins(request *model.UpdatePluginsRequest) (*model.UpdatePluginsResponse, error)
开启或关闭插件
开启或关闭插件。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.