v1

package
v0.1.84 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 2

Documentation

Index

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() *httpclient.HcHttpClientBuilder

Types

type CreatePredefineTagsInvoker added in v0.0.90

type CreatePredefineTagsInvoker struct {
	*invoker.BaseInvoker
}

func (*CreatePredefineTagsInvoker) Invoke added in v0.0.90

type CreateResourceTagInvoker added in v0.1.15

type CreateResourceTagInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateResourceTagInvoker) Invoke added in v0.1.15

type DeletePredefineTagsInvoker added in v0.0.90

type DeletePredefineTagsInvoker struct {
	*invoker.BaseInvoker
}

func (*DeletePredefineTagsInvoker) Invoke added in v0.0.90

type DeleteResourceTagInvoker added in v0.1.15

type DeleteResourceTagInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteResourceTagInvoker) Invoke added in v0.1.15

type ListApiVersionsInvoker added in v0.0.90

type ListApiVersionsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListApiVersionsInvoker) Invoke added in v0.0.90

type ListPredefineTagsInvoker added in v0.0.90

type ListPredefineTagsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListPredefineTagsInvoker) Invoke added in v0.0.90

type ListProvidersInvoker added in v0.1.11

type ListProvidersInvoker struct {
	*invoker.BaseInvoker
}

func (*ListProvidersInvoker) Invoke added in v0.1.11

type ListResourceInvoker added in v0.1.15

type ListResourceInvoker struct {
	*invoker.BaseInvoker
}

func (*ListResourceInvoker) Invoke added in v0.1.15

type ListTagKeysInvoker added in v0.1.15

type ListTagKeysInvoker struct {
	*invoker.BaseInvoker
}

func (*ListTagKeysInvoker) Invoke added in v0.1.15

type ListTagValuesInvoker added in v0.1.15

type ListTagValuesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListTagValuesInvoker) Invoke added in v0.1.15

type ShowApiVersionInvoker added in v0.0.90

type ShowApiVersionInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowApiVersionInvoker) Invoke added in v0.0.90

type ShowResourceTagInvoker added in v0.1.15

type ShowResourceTagInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowResourceTagInvoker) Invoke added in v0.1.15

type ShowTagQuotaInvoker added in v0.0.90

type ShowTagQuotaInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowTagQuotaInvoker) Invoke added in v0.0.90

type TmsClient

type TmsClient struct {
	HcClient *httpclient.HcHttpClient
}

func NewTmsClient

func NewTmsClient(hcClient *httpclient.HcHttpClient) *TmsClient

func (*TmsClient) CreatePredefineTags

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

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

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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