Documentation ¶
Index ¶
- func CcClientBuilder() *httpclient.HcHttpClientBuilder
- func GenReqDefForBatchCreateDeleteTags() *def.HttpRequestDef
- func GenReqDefForCreateTag() *def.HttpRequestDef
- func GenReqDefForDeleteTag() *def.HttpRequestDef
- func GenReqDefForListDomainTags() *def.HttpRequestDef
- func GenReqDefForListResourceByFilterTag() *def.HttpRequestDef
- func GenReqDefForListTags() *def.HttpRequestDef
- type BatchCreateDeleteTagsInvoker
- type CcClient
- func (c *CcClient) BatchCreateDeleteTags(request *model.BatchCreateDeleteTagsRequest) (*model.BatchCreateDeleteTagsResponse, error)
- func (c *CcClient) BatchCreateDeleteTagsInvoker(request *model.BatchCreateDeleteTagsRequest) *BatchCreateDeleteTagsInvoker
- func (c *CcClient) CreateTag(request *model.CreateTagRequest) (*model.CreateTagResponse, error)
- func (c *CcClient) CreateTagInvoker(request *model.CreateTagRequest) *CreateTagInvoker
- func (c *CcClient) DeleteTag(request *model.DeleteTagRequest) (*model.DeleteTagResponse, error)
- func (c *CcClient) DeleteTagInvoker(request *model.DeleteTagRequest) *DeleteTagInvoker
- func (c *CcClient) ListDomainTags(request *model.ListDomainTagsRequest) (*model.ListDomainTagsResponse, error)
- func (c *CcClient) ListDomainTagsInvoker(request *model.ListDomainTagsRequest) *ListDomainTagsInvoker
- func (c *CcClient) ListResourceByFilterTag(request *model.ListResourceByFilterTagRequest) (*model.ListResourceByFilterTagResponse, error)
- func (c *CcClient) ListResourceByFilterTagInvoker(request *model.ListResourceByFilterTagRequest) *ListResourceByFilterTagInvoker
- func (c *CcClient) ListTags(request *model.ListTagsRequest) (*model.ListTagsResponse, error)
- func (c *CcClient) ListTagsInvoker(request *model.ListTagsRequest) *ListTagsInvoker
- type CreateTagInvoker
- type DeleteTagInvoker
- type ListDomainTagsInvoker
- type ListResourceByFilterTagInvoker
- type ListTagsInvoker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CcClientBuilder ¶
func CcClientBuilder() *httpclient.HcHttpClientBuilder
func GenReqDefForBatchCreateDeleteTags ¶
func GenReqDefForBatchCreateDeleteTags() *def.HttpRequestDef
func GenReqDefForCreateTag ¶
func GenReqDefForCreateTag() *def.HttpRequestDef
func GenReqDefForDeleteTag ¶
func GenReqDefForDeleteTag() *def.HttpRequestDef
func GenReqDefForListDomainTags ¶
func GenReqDefForListDomainTags() *def.HttpRequestDef
func GenReqDefForListResourceByFilterTag ¶
func GenReqDefForListResourceByFilterTag() *def.HttpRequestDef
func GenReqDefForListTags ¶
func GenReqDefForListTags() *def.HttpRequestDef
Types ¶
type BatchCreateDeleteTagsInvoker ¶
type BatchCreateDeleteTagsInvoker struct {
*invoker.BaseInvoker
}
func (*BatchCreateDeleteTagsInvoker) Invoke ¶
func (i *BatchCreateDeleteTagsInvoker) Invoke() (*model.BatchCreateDeleteTagsResponse, error)
type CcClient ¶
type CcClient struct {
HcClient *httpclient.HcHttpClient
}
func NewCcClient ¶
func NewCcClient(hcClient *httpclient.HcHttpClient) *CcClient
func (*CcClient) BatchCreateDeleteTags ¶
func (c *CcClient) BatchCreateDeleteTags(request *model.BatchCreateDeleteTagsRequest) (*model.BatchCreateDeleteTagsResponse, error)
BatchCreateDeleteTags 批量创建和删除资源标签
批量创建和删除标签。此API为历史API,请优先使用《 创建云连接实例标签》、《 创建带宽包标签》、《 删除云连接实例标签》、《 删除带宽包标签》。
Please refer to HUAWEI cloud API Explorer for details.
func (*CcClient) BatchCreateDeleteTagsInvoker ¶
func (c *CcClient) BatchCreateDeleteTagsInvoker(request *model.BatchCreateDeleteTagsRequest) *BatchCreateDeleteTagsInvoker
BatchCreateDeleteTagsInvoker 批量创建和删除资源标签
func (*CcClient) CreateTag ¶
func (c *CcClient) CreateTag(request *model.CreateTagRequest) (*model.CreateTagResponse, error)
CreateTag 添加资源标签
添加资源标签。此API为历史API,请优先使用《 创建云连接实例标签》、《 创建带宽包标签》。
Please refer to HUAWEI cloud API Explorer for details.
func (*CcClient) CreateTagInvoker ¶
func (c *CcClient) CreateTagInvoker(request *model.CreateTagRequest) *CreateTagInvoker
CreateTagInvoker 添加资源标签
func (*CcClient) DeleteTag ¶
func (c *CcClient) DeleteTag(request *model.DeleteTagRequest) (*model.DeleteTagResponse, error)
DeleteTag 删除资源标签
删除资源标签。此API为历史API,请优先使用《 删除云连接实例标签》或《 删除带宽包标签》。
Please refer to HUAWEI cloud API Explorer for details.
func (*CcClient) DeleteTagInvoker ¶
func (c *CcClient) DeleteTagInvoker(request *model.DeleteTagRequest) *DeleteTagInvoker
DeleteTagInvoker 删除资源标签
func (*CcClient) ListDomainTags ¶
func (c *CcClient) ListDomainTags(request *model.ListDomainTagsRequest) (*model.ListDomainTagsResponse, error)
ListDomainTags 查询账户资源标签
查询账户资源标签。此API为历史API,请优先使用《查询云连接实例的标签信息》、《查询带宽包的标签信息》。
Please refer to HUAWEI cloud API Explorer for details.
func (*CcClient) ListDomainTagsInvoker ¶
func (c *CcClient) ListDomainTagsInvoker(request *model.ListDomainTagsRequest) *ListDomainTagsInvoker
ListDomainTagsInvoker 查询账户资源标签
func (*CcClient) ListResourceByFilterTag ¶
func (c *CcClient) ListResourceByFilterTag(request *model.ListResourceByFilterTagRequest) (*model.ListResourceByFilterTagResponse, error)
ListResourceByFilterTag 查询资源实例
查询资源实例。此API为历史API,请优先使用《通过标签过滤云连接实例》、《通过标签过滤带宽包实例》。
Please refer to HUAWEI cloud API Explorer for details.
func (*CcClient) ListResourceByFilterTagInvoker ¶
func (c *CcClient) ListResourceByFilterTagInvoker(request *model.ListResourceByFilterTagRequest) *ListResourceByFilterTagInvoker
ListResourceByFilterTagInvoker 查询资源实例
func (*CcClient) ListTags ¶
func (c *CcClient) ListTags(request *model.ListTagsRequest) (*model.ListTagsResponse, error)
ListTags 查询资源标签
查询资源标签。此API为历史API,请优先使用《查询云连接实例的标签信息》、《查询带宽包的标签信息》。
Please refer to HUAWEI cloud API Explorer for details.
func (*CcClient) ListTagsInvoker ¶
func (c *CcClient) ListTagsInvoker(request *model.ListTagsRequest) *ListTagsInvoker
ListTagsInvoker 查询资源标签
type CreateTagInvoker ¶
type CreateTagInvoker struct {
*invoker.BaseInvoker
}
func (*CreateTagInvoker) Invoke ¶
func (i *CreateTagInvoker) Invoke() (*model.CreateTagResponse, error)
type DeleteTagInvoker ¶
type DeleteTagInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteTagInvoker) Invoke ¶
func (i *DeleteTagInvoker) Invoke() (*model.DeleteTagResponse, error)
type ListDomainTagsInvoker ¶
type ListDomainTagsInvoker struct {
*invoker.BaseInvoker
}
func (*ListDomainTagsInvoker) Invoke ¶
func (i *ListDomainTagsInvoker) Invoke() (*model.ListDomainTagsResponse, error)
type ListResourceByFilterTagInvoker ¶
type ListResourceByFilterTagInvoker struct {
*invoker.BaseInvoker
}
func (*ListResourceByFilterTagInvoker) Invoke ¶
func (i *ListResourceByFilterTagInvoker) Invoke() (*model.ListResourceByFilterTagResponse, error)
type ListTagsInvoker ¶
type ListTagsInvoker struct {
*invoker.BaseInvoker
}
func (*ListTagsInvoker) Invoke ¶
func (i *ListTagsInvoker) Invoke() (*model.ListTagsResponse, error)