Documentation ¶
Index ¶
- func GenReqDefForCreatePredefineTags() *def.HttpRequestDef
- func GenReqDefForCreateResourceTag() *def.HttpRequestDef
- func GenReqDefForDeletePredefineTags() *def.HttpRequestDef
- func GenReqDefForDeleteResourceTag() *def.HttpRequestDef
- func GenReqDefForListApiVersions() *def.HttpRequestDef
- func GenReqDefForListPredefineTags() *def.HttpRequestDef
- func GenReqDefForListProviders() *def.HttpRequestDef
- func GenReqDefForListResource() *def.HttpRequestDef
- func GenReqDefForListTagKeys() *def.HttpRequestDef
- func GenReqDefForListTagValues() *def.HttpRequestDef
- func GenReqDefForShowApiVersion() *def.HttpRequestDef
- func GenReqDefForShowResourceTag() *def.HttpRequestDef
- func GenReqDefForShowTagQuota() *def.HttpRequestDef
- func GenReqDefForUpdatePredefineTags() *def.HttpRequestDef
- func TmsClientBuilder() *http_client.HcHttpClientBuilder
- type CreatePredefineTagsInvoker
- type CreateResourceTagInvoker
- type DeletePredefineTagsInvoker
- type DeleteResourceTagInvoker
- type ListApiVersionsInvoker
- type ListPredefineTagsInvoker
- type ListProvidersInvoker
- type ListResourceInvoker
- type ListTagKeysInvoker
- type ListTagValuesInvoker
- type ShowApiVersionInvoker
- type ShowResourceTagInvoker
- type ShowTagQuotaInvoker
- type TmsClient
- func (c *TmsClient) CreatePredefineTags(request *model.CreatePredefineTagsRequest) (*model.CreatePredefineTagsResponse, error)
- func (c *TmsClient) CreatePredefineTagsInvoker(request *model.CreatePredefineTagsRequest) *CreatePredefineTagsInvoker
- func (c *TmsClient) CreateResourceTag(request *model.CreateResourceTagRequest) (*model.CreateResourceTagResponse, error)
- func (c *TmsClient) CreateResourceTagInvoker(request *model.CreateResourceTagRequest) *CreateResourceTagInvoker
- func (c *TmsClient) DeletePredefineTags(request *model.DeletePredefineTagsRequest) (*model.DeletePredefineTagsResponse, error)
- func (c *TmsClient) DeletePredefineTagsInvoker(request *model.DeletePredefineTagsRequest) *DeletePredefineTagsInvoker
- func (c *TmsClient) DeleteResourceTag(request *model.DeleteResourceTagRequest) (*model.DeleteResourceTagResponse, error)
- func (c *TmsClient) DeleteResourceTagInvoker(request *model.DeleteResourceTagRequest) *DeleteResourceTagInvoker
- func (c *TmsClient) ListApiVersions(request *model.ListApiVersionsRequest) (*model.ListApiVersionsResponse, error)
- func (c *TmsClient) ListApiVersionsInvoker(request *model.ListApiVersionsRequest) *ListApiVersionsInvoker
- func (c *TmsClient) ListPredefineTags(request *model.ListPredefineTagsRequest) (*model.ListPredefineTagsResponse, error)
- func (c *TmsClient) ListPredefineTagsInvoker(request *model.ListPredefineTagsRequest) *ListPredefineTagsInvoker
- func (c *TmsClient) ListProviders(request *model.ListProvidersRequest) (*model.ListProvidersResponse, error)
- func (c *TmsClient) ListProvidersInvoker(request *model.ListProvidersRequest) *ListProvidersInvoker
- func (c *TmsClient) ListResource(request *model.ListResourceRequest) (*model.ListResourceResponse, error)
- func (c *TmsClient) ListResourceInvoker(request *model.ListResourceRequest) *ListResourceInvoker
- func (c *TmsClient) ListTagKeys(request *model.ListTagKeysRequest) (*model.ListTagKeysResponse, error)
- func (c *TmsClient) ListTagKeysInvoker(request *model.ListTagKeysRequest) *ListTagKeysInvoker
- func (c *TmsClient) ListTagValues(request *model.ListTagValuesRequest) (*model.ListTagValuesResponse, error)
- func (c *TmsClient) ListTagValuesInvoker(request *model.ListTagValuesRequest) *ListTagValuesInvoker
- func (c *TmsClient) ShowApiVersion(request *model.ShowApiVersionRequest) (*model.ShowApiVersionResponse, error)
- func (c *TmsClient) ShowApiVersionInvoker(request *model.ShowApiVersionRequest) *ShowApiVersionInvoker
- func (c *TmsClient) ShowResourceTag(request *model.ShowResourceTagRequest) (*model.ShowResourceTagResponse, error)
- func (c *TmsClient) ShowResourceTagInvoker(request *model.ShowResourceTagRequest) *ShowResourceTagInvoker
- func (c *TmsClient) ShowTagQuota(request *model.ShowTagQuotaRequest) (*model.ShowTagQuotaResponse, error)
- func (c *TmsClient) ShowTagQuotaInvoker(request *model.ShowTagQuotaRequest) *ShowTagQuotaInvoker
- func (c *TmsClient) UpdatePredefineTags(request *model.UpdatePredefineTagsRequest) (*model.UpdatePredefineTagsResponse, error)
- func (c *TmsClient) UpdatePredefineTagsInvoker(request *model.UpdatePredefineTagsRequest) *UpdatePredefineTagsInvoker
- type UpdatePredefineTagsInvoker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenReqDefForCreatePredefineTags ¶
func GenReqDefForCreatePredefineTags() *def.HttpRequestDef
func GenReqDefForCreateResourceTag ¶ added in v0.1.15
func GenReqDefForCreateResourceTag() *def.HttpRequestDef
func GenReqDefForDeletePredefineTags ¶
func GenReqDefForDeletePredefineTags() *def.HttpRequestDef
func GenReqDefForDeleteResourceTag ¶ added in v0.1.15
func GenReqDefForDeleteResourceTag() *def.HttpRequestDef
func GenReqDefForListApiVersions ¶
func GenReqDefForListApiVersions() *def.HttpRequestDef
func GenReqDefForListPredefineTags ¶
func GenReqDefForListPredefineTags() *def.HttpRequestDef
func GenReqDefForListProviders ¶ added in v0.1.11
func GenReqDefForListProviders() *def.HttpRequestDef
func GenReqDefForListResource ¶ added in v0.1.15
func GenReqDefForListResource() *def.HttpRequestDef
func GenReqDefForListTagKeys ¶ added in v0.1.15
func GenReqDefForListTagKeys() *def.HttpRequestDef
func GenReqDefForListTagValues ¶ added in v0.1.15
func GenReqDefForListTagValues() *def.HttpRequestDef
func GenReqDefForShowApiVersion ¶
func GenReqDefForShowApiVersion() *def.HttpRequestDef
func GenReqDefForShowResourceTag ¶ added in v0.1.15
func GenReqDefForShowResourceTag() *def.HttpRequestDef
func GenReqDefForShowTagQuota ¶ added in v0.0.69
func GenReqDefForShowTagQuota() *def.HttpRequestDef
func GenReqDefForUpdatePredefineTags ¶
func GenReqDefForUpdatePredefineTags() *def.HttpRequestDef
func TmsClientBuilder ¶
func TmsClientBuilder() *http_client.HcHttpClientBuilder
Types ¶
type CreatePredefineTagsInvoker ¶ added in v0.0.90
type CreatePredefineTagsInvoker struct {
*invoker.BaseInvoker
}
func (*CreatePredefineTagsInvoker) Invoke ¶ added in v0.0.90
func (i *CreatePredefineTagsInvoker) Invoke() (*model.CreatePredefineTagsResponse, error)
type CreateResourceTagInvoker ¶ added in v0.1.15
type CreateResourceTagInvoker struct {
*invoker.BaseInvoker
}
func (*CreateResourceTagInvoker) Invoke ¶ added in v0.1.15
func (i *CreateResourceTagInvoker) Invoke() (*model.CreateResourceTagResponse, error)
type DeletePredefineTagsInvoker ¶ added in v0.0.90
type DeletePredefineTagsInvoker struct {
*invoker.BaseInvoker
}
func (*DeletePredefineTagsInvoker) Invoke ¶ added in v0.0.90
func (i *DeletePredefineTagsInvoker) Invoke() (*model.DeletePredefineTagsResponse, error)
type DeleteResourceTagInvoker ¶ added in v0.1.15
type DeleteResourceTagInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteResourceTagInvoker) Invoke ¶ added in v0.1.15
func (i *DeleteResourceTagInvoker) Invoke() (*model.DeleteResourceTagResponse, error)
type ListApiVersionsInvoker ¶ added in v0.0.90
type ListApiVersionsInvoker struct {
*invoker.BaseInvoker
}
func (*ListApiVersionsInvoker) Invoke ¶ added in v0.0.90
func (i *ListApiVersionsInvoker) Invoke() (*model.ListApiVersionsResponse, error)
type ListPredefineTagsInvoker ¶ added in v0.0.90
type ListPredefineTagsInvoker struct {
*invoker.BaseInvoker
}
func (*ListPredefineTagsInvoker) Invoke ¶ added in v0.0.90
func (i *ListPredefineTagsInvoker) Invoke() (*model.ListPredefineTagsResponse, error)
type ListProvidersInvoker ¶ added in v0.1.11
type ListProvidersInvoker struct {
*invoker.BaseInvoker
}
func (*ListProvidersInvoker) Invoke ¶ added in v0.1.11
func (i *ListProvidersInvoker) Invoke() (*model.ListProvidersResponse, error)
type ListResourceInvoker ¶ added in v0.1.15
type ListResourceInvoker struct {
*invoker.BaseInvoker
}
func (*ListResourceInvoker) Invoke ¶ added in v0.1.15
func (i *ListResourceInvoker) Invoke() (*model.ListResourceResponse, error)
type ListTagKeysInvoker ¶ added in v0.1.15
type ListTagKeysInvoker struct {
*invoker.BaseInvoker
}
func (*ListTagKeysInvoker) Invoke ¶ added in v0.1.15
func (i *ListTagKeysInvoker) Invoke() (*model.ListTagKeysResponse, error)
type ListTagValuesInvoker ¶ added in v0.1.15
type ListTagValuesInvoker struct {
*invoker.BaseInvoker
}
func (*ListTagValuesInvoker) Invoke ¶ added in v0.1.15
func (i *ListTagValuesInvoker) Invoke() (*model.ListTagValuesResponse, error)
type ShowApiVersionInvoker ¶ added in v0.0.90
type ShowApiVersionInvoker struct {
*invoker.BaseInvoker
}
func (*ShowApiVersionInvoker) Invoke ¶ added in v0.0.90
func (i *ShowApiVersionInvoker) Invoke() (*model.ShowApiVersionResponse, error)
type ShowResourceTagInvoker ¶ added in v0.1.15
type ShowResourceTagInvoker struct {
*invoker.BaseInvoker
}
func (*ShowResourceTagInvoker) Invoke ¶ added in v0.1.15
func (i *ShowResourceTagInvoker) Invoke() (*model.ShowResourceTagResponse, error)
type ShowTagQuotaInvoker ¶ added in v0.0.90
type ShowTagQuotaInvoker struct {
*invoker.BaseInvoker
}
func (*ShowTagQuotaInvoker) Invoke ¶ added in v0.0.90
func (i *ShowTagQuotaInvoker) Invoke() (*model.ShowTagQuotaResponse, error)
type TmsClient ¶
type TmsClient struct {
HcClient *http_client.HcHttpClient
}
func NewTmsClient ¶
func NewTmsClient(hcClient *http_client.HcHttpClient) *TmsClient
func (*TmsClient) CreatePredefineTags ¶
func (c *TmsClient) CreatePredefineTags(request *model.CreatePredefineTagsRequest) (*model.CreatePredefineTagsResponse, error)
CreatePredefineTags 创建预定义标签
用于创建预定标签。用户创建预定义标签后,可以使用预定义标签来给资源创建标签。该接口支持幂等特性和处理批量数据。
Please refer to HUAWEI cloud API Explorer for details.
func (*TmsClient) CreatePredefineTagsInvoker ¶ added in v0.0.90
func (c *TmsClient) CreatePredefineTagsInvoker(request *model.CreatePredefineTagsRequest) *CreatePredefineTagsInvoker
CreatePredefineTagsInvoker 创建预定义标签
func (*TmsClient) CreateResourceTag ¶ added in v0.1.15
func (c *TmsClient) CreateResourceTag(request *model.CreateResourceTagRequest) (*model.CreateResourceTagResponse, error)
CreateResourceTag 批量添加标签
用于给云服务的多个资源添加标签,每个资源最多可添加10个标签,每次最多支持批量操作20个资源。
Please refer to HUAWEI cloud API Explorer for details.
func (*TmsClient) CreateResourceTagInvoker ¶ added in v0.1.15
func (c *TmsClient) CreateResourceTagInvoker(request *model.CreateResourceTagRequest) *CreateResourceTagInvoker
CreateResourceTagInvoker 批量添加标签
func (*TmsClient) DeletePredefineTags ¶
func (c *TmsClient) DeletePredefineTags(request *model.DeletePredefineTagsRequest) (*model.DeletePredefineTagsResponse, error)
DeletePredefineTags 删除预定义标签
用于删除预定标签。
Please refer to HUAWEI cloud API Explorer for details.
func (*TmsClient) DeletePredefineTagsInvoker ¶ added in v0.0.90
func (c *TmsClient) DeletePredefineTagsInvoker(request *model.DeletePredefineTagsRequest) *DeletePredefineTagsInvoker
DeletePredefineTagsInvoker 删除预定义标签
func (*TmsClient) DeleteResourceTag ¶ added in v0.1.15
func (c *TmsClient) DeleteResourceTag(request *model.DeleteResourceTagRequest) (*model.DeleteResourceTagResponse, error)
DeleteResourceTag 批量移除标签
用于批量移除云服务多个资源的标签,每个资源最多支持移除10个标签,每次最多支持批量操作20个资源。
Please refer to HUAWEI cloud API Explorer for details.
func (*TmsClient) DeleteResourceTagInvoker ¶ added in v0.1.15
func (c *TmsClient) DeleteResourceTagInvoker(request *model.DeleteResourceTagRequest) *DeleteResourceTagInvoker
DeleteResourceTagInvoker 批量移除标签
func (*TmsClient) ListApiVersions ¶
func (c *TmsClient) ListApiVersions(request *model.ListApiVersionsRequest) (*model.ListApiVersionsResponse, error)
ListApiVersions 查询API版本列表
查询标签管理服务的API版本列表。
Please refer to HUAWEI cloud API Explorer for details.
func (*TmsClient) ListApiVersionsInvoker ¶ added in v0.0.90
func (c *TmsClient) ListApiVersionsInvoker(request *model.ListApiVersionsRequest) *ListApiVersionsInvoker
ListApiVersionsInvoker 查询API版本列表
func (*TmsClient) ListPredefineTags ¶
func (c *TmsClient) ListPredefineTags(request *model.ListPredefineTagsRequest) (*model.ListPredefineTagsResponse, error)
ListPredefineTags 查询预定义标签列表
用于查询预定义标签列表。
Please refer to HUAWEI cloud API Explorer for details.
func (*TmsClient) ListPredefineTagsInvoker ¶ added in v0.0.90
func (c *TmsClient) ListPredefineTagsInvoker(request *model.ListPredefineTagsRequest) *ListPredefineTagsInvoker
ListPredefineTagsInvoker 查询预定义标签列表
func (*TmsClient) ListProviders ¶ added in v0.1.11
func (c *TmsClient) ListProviders(request *model.ListProvidersRequest) (*model.ListProvidersResponse, error)
ListProviders 查询标签管理支持的服务
查询标签管理支持的服务。
Please refer to HUAWEI cloud API Explorer for details.
func (*TmsClient) ListProvidersInvoker ¶ added in v0.1.11
func (c *TmsClient) ListProvidersInvoker(request *model.ListProvidersRequest) *ListProvidersInvoker
ListProvidersInvoker 查询标签管理支持的服务
func (*TmsClient) ListResource ¶ added in v0.1.15
func (c *TmsClient) ListResource(request *model.ListResourceRequest) (*model.ListResourceResponse, error)
ListResource 根据标签过滤资源
根据标签过滤资源。
Please refer to HUAWEI cloud API Explorer for details.
func (*TmsClient) ListResourceInvoker ¶ added in v0.1.15
func (c *TmsClient) ListResourceInvoker(request *model.ListResourceRequest) *ListResourceInvoker
ListResourceInvoker 根据标签过滤资源
func (*TmsClient) ListTagKeys ¶ added in v0.1.15
func (c *TmsClient) ListTagKeys(request *model.ListTagKeysRequest) (*model.ListTagKeysResponse, error)
ListTagKeys 查询标签键列表
查询指定区域的所有标签键.
Please refer to HUAWEI cloud API Explorer for details.
func (*TmsClient) ListTagKeysInvoker ¶ added in v0.1.15
func (c *TmsClient) ListTagKeysInvoker(request *model.ListTagKeysRequest) *ListTagKeysInvoker
ListTagKeysInvoker 查询标签键列表
func (*TmsClient) ListTagValues ¶ added in v0.1.15
func (c *TmsClient) ListTagValues(request *model.ListTagValuesRequest) (*model.ListTagValuesResponse, error)
ListTagValues 查询标签值列表
查询指定区域的标签键下的所有标签值。
Please refer to HUAWEI cloud API Explorer for details.
func (*TmsClient) ListTagValuesInvoker ¶ added in v0.1.15
func (c *TmsClient) ListTagValuesInvoker(request *model.ListTagValuesRequest) *ListTagValuesInvoker
ListTagValuesInvoker 查询标签值列表
func (*TmsClient) ShowApiVersion ¶
func (c *TmsClient) ShowApiVersion(request *model.ShowApiVersionRequest) (*model.ShowApiVersionResponse, error)
ShowApiVersion 查询API版本号详情
查询指定的标签管理服务API版本号详情。
Please refer to HUAWEI cloud API Explorer for details.
func (*TmsClient) ShowApiVersionInvoker ¶ added in v0.0.90
func (c *TmsClient) ShowApiVersionInvoker(request *model.ShowApiVersionRequest) *ShowApiVersionInvoker
ShowApiVersionInvoker 查询API版本号详情
func (*TmsClient) ShowResourceTag ¶ added in v0.1.15
func (c *TmsClient) ShowResourceTag(request *model.ShowResourceTagRequest) (*model.ShowResourceTagResponse, error)
ShowResourceTag 查询资源标签
查询单个资源上的标签。
Please refer to HUAWEI cloud API Explorer for details.
func (*TmsClient) ShowResourceTagInvoker ¶ added in v0.1.15
func (c *TmsClient) ShowResourceTagInvoker(request *model.ShowResourceTagRequest) *ShowResourceTagInvoker
ShowResourceTagInvoker 查询资源标签
func (*TmsClient) ShowTagQuota ¶ added in v0.0.69
func (c *TmsClient) ShowTagQuota(request *model.ShowTagQuotaRequest) (*model.ShowTagQuotaResponse, error)
ShowTagQuota 查询标签配额
查询标签的配额信息。
Please refer to HUAWEI cloud API Explorer for details.
func (*TmsClient) ShowTagQuotaInvoker ¶ added in v0.0.90
func (c *TmsClient) ShowTagQuotaInvoker(request *model.ShowTagQuotaRequest) *ShowTagQuotaInvoker
ShowTagQuotaInvoker 查询标签配额
func (*TmsClient) UpdatePredefineTags ¶
func (c *TmsClient) UpdatePredefineTags(request *model.UpdatePredefineTagsRequest) (*model.UpdatePredefineTagsResponse, error)
UpdatePredefineTags 修改预定义标签
修改预定义标签。
Please refer to HUAWEI cloud API Explorer for details.
func (*TmsClient) UpdatePredefineTagsInvoker ¶ added in v0.0.90
func (c *TmsClient) UpdatePredefineTagsInvoker(request *model.UpdatePredefineTagsRequest) *UpdatePredefineTagsInvoker
UpdatePredefineTagsInvoker 修改预定义标签
type UpdatePredefineTagsInvoker ¶ added in v0.0.90
type UpdatePredefineTagsInvoker struct {
*invoker.BaseInvoker
}
func (*UpdatePredefineTagsInvoker) Invoke ¶ added in v0.0.90
func (i *UpdatePredefineTagsInvoker) Invoke() (*model.UpdatePredefineTagsResponse, error)