Documentation ¶
Index ¶
- Constants
- func DiffTags(oldTags, newTags map[string]interface{}) (replaceTags map[string]string, deleteTags []string)
- func ResourceTencentCloudTag() *schema.Resource
- func ResourceTencentCloudTagAttachment() *schema.Resource
- type TagService
- func (me *TagService) DeleteTagResourceById(ctx context.Context, tagKey string, tagValue string) (errRet error)
- func (me *TagService) DeleteTagTagAttachmentById(ctx context.Context, tagKey string, resource string) (errRet error)
- func (me *TagService) DescribeProjectById(ctx context.Context, projectId uint64) (project *tag.Project, disable *uint64, errRet error)
- func (me *TagService) DescribeProjects(ctx context.Context, param map[string]interface{}) (project []*tag.Project, errRet error)
- func (me *TagService) DescribeResourceTags(ctx context.Context, serviceType, resourceType, region, resourceId string) (tags map[string]string, err error)
- func (me *TagService) DescribeTagResourceById(ctx context.Context, tagKey string, tagValue string) (tagRes *tag.Tag, errRet error)
- func (me *TagService) DescribeTagTagAttachmentById(ctx context.Context, tagKey string, tagValue string, resource string) (resourceTag *tag.ResourceTagMapping, errRet error)
- func (me *TagService) DisableProjectById(ctx context.Context, projectId uint64) (errRet error)
- func (me *TagService) ModifyTags(ctx context.Context, resourceName string, replaceTags map[string]string, ...) error
Constants ¶
View Source
const DESCRIBE_TAGS_LIMIT = 20
Variables ¶
This section is empty.
Functions ¶
func ResourceTencentCloudTag ¶
Types ¶
type TagService ¶
type TagService struct {
// contains filtered or unexported fields
}
func NewTagService ¶
func NewTagService(client *connectivity.TencentCloudClient) TagService
func (*TagService) DeleteTagResourceById ¶
func (*TagService) DeleteTagTagAttachmentById ¶
func (*TagService) DescribeProjectById ¶
func (*TagService) DescribeProjects ¶
func (*TagService) DescribeResourceTags ¶
func (*TagService) DescribeTagResourceById ¶
func (*TagService) DescribeTagTagAttachmentById ¶
func (me *TagService) DescribeTagTagAttachmentById(ctx context.Context, tagKey string, tagValue string, resource string) (resourceTag *tag.ResourceTagMapping, errRet error)
func (*TagService) DisableProjectById ¶
func (me *TagService) DisableProjectById(ctx context.Context, projectId uint64) (errRet error)
func (*TagService) ModifyTags ¶
Click to show internal directories.
Click to hide internal directories.