Documentation ¶
Index ¶
- Constants
- type AddResourceTagRequest
- type AddResourceTagRequestParams
- type AddResourceTagResponse
- type AddResourceTagResponseParams
- type AttachResourcesTagRequest
- type AttachResourcesTagRequestParams
- type AttachResourcesTagResponse
- type AttachResourcesTagResponseParams
- type Client
- func (c *Client) AddResourceTag(request *AddResourceTagRequest) (response *AddResourceTagResponse, err error)
- func (c *Client) AddResourceTagWithContext(ctx context.Context, request *AddResourceTagRequest) (response *AddResourceTagResponse, err error)
- func (c *Client) AttachResourcesTag(request *AttachResourcesTagRequest) (response *AttachResourcesTagResponse, err error)
- func (c *Client) AttachResourcesTagWithContext(ctx context.Context, request *AttachResourcesTagRequest) (response *AttachResourcesTagResponse, err error)
- func (c *Client) CreateTag(request *CreateTagRequest) (response *CreateTagResponse, err error)
- func (c *Client) CreateTagWithContext(ctx context.Context, request *CreateTagRequest) (response *CreateTagResponse, err error)
- func (c *Client) CreateTags(request *CreateTagsRequest) (response *CreateTagsResponse, err error)
- func (c *Client) CreateTagsWithContext(ctx context.Context, request *CreateTagsRequest) (response *CreateTagsResponse, err error)
- func (c *Client) DeleteResourceTag(request *DeleteResourceTagRequest) (response *DeleteResourceTagResponse, err error)
- func (c *Client) DeleteResourceTagWithContext(ctx context.Context, request *DeleteResourceTagRequest) (response *DeleteResourceTagResponse, err error)
- func (c *Client) DeleteTag(request *DeleteTagRequest) (response *DeleteTagResponse, err error)
- func (c *Client) DeleteTagWithContext(ctx context.Context, request *DeleteTagRequest) (response *DeleteTagResponse, err error)
- func (c *Client) DeleteTags(request *DeleteTagsRequest) (response *DeleteTagsResponse, err error)
- func (c *Client) DeleteTagsWithContext(ctx context.Context, request *DeleteTagsRequest) (response *DeleteTagsResponse, err error)
- func (c *Client) DescribeProjects(request *DescribeProjectsRequest) (response *DescribeProjectsResponse, err error)
- func (c *Client) DescribeProjectsWithContext(ctx context.Context, request *DescribeProjectsRequest) (response *DescribeProjectsResponse, err error)
- func (c *Client) DescribeResourceTags(request *DescribeResourceTagsRequest) (response *DescribeResourceTagsResponse, err error)
- func (c *Client) DescribeResourceTagsByResourceIds(request *DescribeResourceTagsByResourceIdsRequest) (response *DescribeResourceTagsByResourceIdsResponse, err error)
- func (c *Client) DescribeResourceTagsByResourceIdsSeq(request *DescribeResourceTagsByResourceIdsSeqRequest) (response *DescribeResourceTagsByResourceIdsSeqResponse, err error)
- func (c *Client) DescribeResourceTagsByResourceIdsSeqWithContext(ctx context.Context, request *DescribeResourceTagsByResourceIdsSeqRequest) (response *DescribeResourceTagsByResourceIdsSeqResponse, err error)
- func (c *Client) DescribeResourceTagsByResourceIdsWithContext(ctx context.Context, request *DescribeResourceTagsByResourceIdsRequest) (response *DescribeResourceTagsByResourceIdsResponse, err error)
- func (c *Client) DescribeResourceTagsByTagKeys(request *DescribeResourceTagsByTagKeysRequest) (response *DescribeResourceTagsByTagKeysResponse, err error)
- func (c *Client) DescribeResourceTagsByTagKeysWithContext(ctx context.Context, request *DescribeResourceTagsByTagKeysRequest) (response *DescribeResourceTagsByTagKeysResponse, err error)
- func (c *Client) DescribeResourceTagsWithContext(ctx context.Context, request *DescribeResourceTagsRequest) (response *DescribeResourceTagsResponse, err error)
- func (c *Client) DescribeResourcesByTags(request *DescribeResourcesByTagsRequest) (response *DescribeResourcesByTagsResponse, err error)
- func (c *Client) DescribeResourcesByTagsUnion(request *DescribeResourcesByTagsUnionRequest) (response *DescribeResourcesByTagsUnionResponse, err error)
- func (c *Client) DescribeResourcesByTagsUnionWithContext(ctx context.Context, request *DescribeResourcesByTagsUnionRequest) (response *DescribeResourcesByTagsUnionResponse, err error)
- func (c *Client) DescribeResourcesByTagsWithContext(ctx context.Context, request *DescribeResourcesByTagsRequest) (response *DescribeResourcesByTagsResponse, err error)
- func (c *Client) DescribeTagKeys(request *DescribeTagKeysRequest) (response *DescribeTagKeysResponse, err error)
- func (c *Client) DescribeTagKeysWithContext(ctx context.Context, request *DescribeTagKeysRequest) (response *DescribeTagKeysResponse, err error)
- func (c *Client) DescribeTagValues(request *DescribeTagValuesRequest) (response *DescribeTagValuesResponse, err error)
- func (c *Client) DescribeTagValuesSeq(request *DescribeTagValuesSeqRequest) (response *DescribeTagValuesSeqResponse, err error)
- func (c *Client) DescribeTagValuesSeqWithContext(ctx context.Context, request *DescribeTagValuesSeqRequest) (response *DescribeTagValuesSeqResponse, err error)
- func (c *Client) DescribeTagValuesWithContext(ctx context.Context, request *DescribeTagValuesRequest) (response *DescribeTagValuesResponse, err error)
- func (c *Client) DescribeTags(request *DescribeTagsRequest) (response *DescribeTagsResponse, err error)
- func (c *Client) DescribeTagsSeq(request *DescribeTagsSeqRequest) (response *DescribeTagsSeqResponse, err error)
- func (c *Client) DescribeTagsSeqWithContext(ctx context.Context, request *DescribeTagsSeqRequest) (response *DescribeTagsSeqResponse, err error)
- func (c *Client) DescribeTagsWithContext(ctx context.Context, request *DescribeTagsRequest) (response *DescribeTagsResponse, err error)
- func (c *Client) DetachResourcesTag(request *DetachResourcesTagRequest) (response *DetachResourcesTagResponse, err error)
- func (c *Client) DetachResourcesTagWithContext(ctx context.Context, request *DetachResourcesTagRequest) (response *DetachResourcesTagResponse, err error)
- func (c *Client) GetResources(request *GetResourcesRequest) (response *GetResourcesResponse, err error)
- func (c *Client) GetResourcesWithContext(ctx context.Context, request *GetResourcesRequest) (response *GetResourcesResponse, err error)
- func (c *Client) GetTagKeys(request *GetTagKeysRequest) (response *GetTagKeysResponse, err error)
- func (c *Client) GetTagKeysWithContext(ctx context.Context, request *GetTagKeysRequest) (response *GetTagKeysResponse, err error)
- func (c *Client) GetTagValues(request *GetTagValuesRequest) (response *GetTagValuesResponse, err error)
- func (c *Client) GetTagValuesWithContext(ctx context.Context, request *GetTagValuesRequest) (response *GetTagValuesResponse, err error)
- func (c *Client) GetTags(request *GetTagsRequest) (response *GetTagsResponse, err error)
- func (c *Client) GetTagsWithContext(ctx context.Context, request *GetTagsRequest) (response *GetTagsResponse, err error)
- func (c *Client) ModifyResourceTags(request *ModifyResourceTagsRequest) (response *ModifyResourceTagsResponse, err error)
- func (c *Client) ModifyResourceTagsWithContext(ctx context.Context, request *ModifyResourceTagsRequest) (response *ModifyResourceTagsResponse, err error)
- func (c *Client) ModifyResourcesTagValue(request *ModifyResourcesTagValueRequest) (response *ModifyResourcesTagValueResponse, err error)
- func (c *Client) ModifyResourcesTagValueWithContext(ctx context.Context, request *ModifyResourcesTagValueRequest) (response *ModifyResourcesTagValueResponse, err error)
- func (c *Client) TagResources(request *TagResourcesRequest) (response *TagResourcesResponse, err error)
- func (c *Client) TagResourcesWithContext(ctx context.Context, request *TagResourcesRequest) (response *TagResourcesResponse, err error)
- func (c *Client) UnTagResources(request *UnTagResourcesRequest) (response *UnTagResourcesResponse, err error)
- func (c *Client) UnTagResourcesWithContext(ctx context.Context, request *UnTagResourcesRequest) (response *UnTagResourcesResponse, err error)
- func (c *Client) UpdateResourceTagValue(request *UpdateResourceTagValueRequest) (response *UpdateResourceTagValueResponse, err error)
- func (c *Client) UpdateResourceTagValueWithContext(ctx context.Context, request *UpdateResourceTagValueRequest) (response *UpdateResourceTagValueResponse, err error)
- type CreateTagRequest
- type CreateTagRequestParams
- type CreateTagResponse
- type CreateTagResponseParams
- type CreateTagsRequest
- type CreateTagsRequestParams
- type CreateTagsResponse
- type CreateTagsResponseParams
- type DeleteResourceTagRequest
- type DeleteResourceTagRequestParams
- type DeleteResourceTagResponse
- type DeleteResourceTagResponseParams
- type DeleteTagRequest
- type DeleteTagRequestParams
- type DeleteTagResponse
- type DeleteTagResponseParams
- type DeleteTagsRequest
- type DeleteTagsRequestParams
- type DeleteTagsResponse
- type DeleteTagsResponseParams
- type DescribeProjectsRequest
- type DescribeProjectsRequestParams
- type DescribeProjectsResponse
- type DescribeProjectsResponseParams
- type DescribeResourceTagsByResourceIdsRequest
- type DescribeResourceTagsByResourceIdsRequestParams
- type DescribeResourceTagsByResourceIdsResponse
- type DescribeResourceTagsByResourceIdsResponseParams
- type DescribeResourceTagsByResourceIdsSeqRequest
- type DescribeResourceTagsByResourceIdsSeqRequestParams
- type DescribeResourceTagsByResourceIdsSeqResponse
- type DescribeResourceTagsByResourceIdsSeqResponseParams
- type DescribeResourceTagsByTagKeysRequest
- type DescribeResourceTagsByTagKeysRequestParams
- type DescribeResourceTagsByTagKeysResponse
- type DescribeResourceTagsByTagKeysResponseParams
- type DescribeResourceTagsRequest
- type DescribeResourceTagsRequestParams
- type DescribeResourceTagsResponse
- type DescribeResourceTagsResponseParams
- type DescribeResourcesByTagsRequest
- type DescribeResourcesByTagsRequestParams
- type DescribeResourcesByTagsResponse
- type DescribeResourcesByTagsResponseParams
- type DescribeResourcesByTagsUnionRequest
- type DescribeResourcesByTagsUnionRequestParams
- type DescribeResourcesByTagsUnionResponse
- type DescribeResourcesByTagsUnionResponseParams
- type DescribeTagKeysRequest
- type DescribeTagKeysRequestParams
- type DescribeTagKeysResponse
- type DescribeTagKeysResponseParams
- type DescribeTagValuesRequest
- type DescribeTagValuesRequestParams
- type DescribeTagValuesResponse
- type DescribeTagValuesResponseParams
- type DescribeTagValuesSeqRequest
- type DescribeTagValuesSeqRequestParams
- type DescribeTagValuesSeqResponse
- type DescribeTagValuesSeqResponseParams
- type DescribeTagsRequest
- type DescribeTagsRequestParams
- type DescribeTagsResponse
- type DescribeTagsResponseParams
- type DescribeTagsSeqRequest
- type DescribeTagsSeqRequestParams
- type DescribeTagsSeqResponse
- type DescribeTagsSeqResponseParams
- type DetachResourcesTagRequest
- type DetachResourcesTagRequestParams
- type DetachResourcesTagResponse
- type DetachResourcesTagResponseParams
- type FailedResource
- type GetResourcesRequest
- type GetResourcesRequestParams
- type GetResourcesResponse
- type GetResourcesResponseParams
- type GetTagKeysRequest
- type GetTagKeysRequestParams
- type GetTagKeysResponse
- type GetTagKeysResponseParams
- type GetTagValuesRequest
- type GetTagValuesRequestParams
- type GetTagValuesResponse
- type GetTagValuesResponseParams
- type GetTagsRequest
- type GetTagsRequestParams
- type GetTagsResponse
- type GetTagsResponseParams
- type ModifyResourceTagsRequest
- type ModifyResourceTagsRequestParams
- type ModifyResourceTagsResponse
- type ModifyResourceTagsResponseParams
- type ModifyResourcesTagValueRequest
- type ModifyResourcesTagValueRequestParams
- type ModifyResourcesTagValueResponse
- type ModifyResourcesTagValueResponseParams
- type Project
- type ResourceIdTag
- type ResourceTag
- type ResourceTagMapping
- type Tag
- type TagFilter
- type TagKeyObject
- type TagResource
- type TagResourcesRequest
- type TagResourcesRequestParams
- type TagResourcesResponse
- type TagResourcesResponseParams
- type TagWithDelete
- type UnTagResourcesRequest
- type UnTagResourcesRequestParams
- type UnTagResourcesResponse
- type UnTagResourcesResponseParams
- type UpdateResourceTagValueRequest
- type UpdateResourceTagValueRequestParams
- type UpdateResourceTagValueResponse
- type UpdateResourceTagValueResponseParams
Constants ¶
const ( // Error with CAM signature/authentication. AUTHFAILURE = "AuthFailure" // CAM authentication failed. AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" // The operation failed. FAILEDOPERATION = "FailedOperation" // The `appId` of resources in one single request must be the same. FAILEDOPERATION_RESOURCEAPPIDNOTSAME = "FailedOperation.ResourceAppIdNotSame" // The resource tag is being processed. FAILEDOPERATION_RESOURCETAGPROCESSING = "FailedOperation.ResourceTagProcessing" // A quota has already been allocated to tags. FAILEDOPERATION_TAGATTACHEDQUOTA = "FailedOperation.TagAttachedQuota" // Tags associated with resources cannot be deleted. FAILEDOPERATION_TAGATTACHEDRESOURCE = "FailedOperation.TagAttachedResource" // Incorrect parameter. INVALIDPARAMETER = "InvalidParameter" // The `PaginationToken` parameter is invalid. INVALIDPARAMETER_PAGINATIONTOKENINVALID = "InvalidParameter.PaginationTokenInvalid" // System reserved tag keys `qcloud`, `tencent` and `project` cannot be created. INVALIDPARAMETER_RESERVEDTAGKEY = "InvalidParameter.ReservedTagKey" // `Tag` parameter error. INVALIDPARAMETER_TAG = "InvalidParameter.Tag" // The current business does not support tag operations. INVALIDPARAMETER_UNSUPPORTEDSERVICE = "InvalidParameter.UnsupportedService" // `DeleteTags` cannot contain the elements in `ReplaceTags` or `AddTags`. INVALIDPARAMETERVALUE_DELETETAGSPARAMERROR = "InvalidParameterValue.DeleteTagsParamError" // Offset error. INVALIDPARAMETERVALUE_OFFSETINVALID = "InvalidParameterValue.OffsetInvalid" // Region error. INVALIDPARAMETERVALUE_REGIONINVALID = "InvalidParameterValue.RegionInvalid" // System reserved tag keys `qcloud`, `tencent` and `project` cannot be created. INVALIDPARAMETERVALUE_RESERVEDTAGKEY = "InvalidParameterValue.ReservedTagKey" // Resource description error. INVALIDPARAMETERVALUE_RESOURCEDESCRIPTIONERROR = "InvalidParameterValue.ResourceDescriptionError" // Resource ID error. INVALIDPARAMETERVALUE_RESOURCEIDINVALID = "InvalidParameterValue.ResourceIdInvalid" // Resource prefix error. INVALIDPARAMETERVALUE_RESOURCEPREFIXINVALID = "InvalidParameterValue.ResourcePrefixInvalid" // Service type error. INVALIDPARAMETERVALUE_SERVICETYPEINVALID = "InvalidParameterValue.ServiceTypeInvalid" // `TagFilters` parameter error INVALIDPARAMETERVALUE_TAGFILTERS = "InvalidParameterValue.TagFilters" // Tag filtering arrays reached the upper limit 6 when querying resources by tag. INVALIDPARAMETERVALUE_TAGFILTERSLENGTHEXCEEDED = "InvalidParameterValue.TagFiltersLengthExceeded" // Tag key contains illegal characters. INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" // There are duplicate `TagKeys` in `TagList`. INVALIDPARAMETERVALUE_TAGKEYDUPLICATE = "InvalidParameterValue.TagKeyDuplicate" // Tag key cannot be empty. INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" // Tag key length exceeds limit. INVALIDPARAMETERVALUE_TAGKEYLENGTHEXCEEDED = "InvalidParameterValue.TagKeyLengthExceeded" // Tag value contains illegal characters. INVALIDPARAMETERVALUE_TAGVALUECHARACTERILLEGAL = "InvalidParameterValue.TagValueCharacterIllegal" // The tag value cannot be empty. INVALIDPARAMETERVALUE_TAGVALUEEMPTY = "InvalidParameterValue.TagValueEmpty" // Tag value length exceeds limit. INVALIDPARAMETERVALUE_TAGVALUELENGTHEXCEEDED = "InvalidParameterValue.TagValueLengthExceeded" // `Uin` parameter is invalid. INVALIDPARAMETERVALUE_UININVALID = "InvalidParameterValue.UinInvalid" // The quota limit is exceeded. LIMITEXCEEDED = "LimitExceeded" // The quota limit is reached. LIMITEXCEEDED_QUOTA = "LimitExceeded.Quota" // The number of tags associated with the resource exceeds the limit. LIMITEXCEEDED_RESOURCEATTACHEDTAGS = "LimitExceeded.ResourceAttachedTags" // The number of resources requested at a time reaches the upper limit. LIMITEXCEEDED_RESOURCENUMPERREQUEST = "LimitExceeded.ResourceNumPerRequest" // The number of created tag keys reaches the limit of 1,000. LIMITEXCEEDED_TAGKEY = "LimitExceeded.TagKey" // The number of tags in a single request exceeds the limit. LIMITEXCEEDED_TAGNUMPERREQUEST = "LimitExceeded.TagNumPerRequest" // Each tag key can have up to 1,000 values. LIMITEXCEEDED_TAGVALUE = "LimitExceeded.TagValue" // Missing parameter. MISSINGPARAMETER = "MissingParameter" // Operation denied. OPERATIONDENIED = "OperationDenied" // Tag already exists. RESOURCEINUSE_TAGDUPLICATE = "ResourceInUse.TagDuplicate" // The corresponding tag key has already been associated with the resource. RESOURCEINUSE_TAGKEYATTACHED = "ResourceInUse.TagKeyAttached" // The tag key associated with the resource doesn’t exist. RESOURCENOTFOUND_ATTACHEDTAGKEYNOTFOUND = "ResourceNotFound.AttachedTagKeyNotFound" // Tag does not exist. RESOURCENOTFOUND_TAGNONEXIST = "ResourceNotFound.TagNonExist" // Unsupported operation. UNSUPPORTEDOPERATION = "UnsupportedOperation" )
const APIVersion = "2018-08-13"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddResourceTagRequest ¶
type AddResourceTagRequest struct { *tchttp.BaseRequest // The tag key that needs to be bound. For the requirements, refer to: https://intl.cloud.tencent.com/document/product/651/13354?from_cn_redirect=1 TagKey *string `json:"TagKey,omitnil" name:"TagKey"` // The tag value that needs to be bound. For the requirements, refer to: https://intl.cloud.tencent.com/document/product/651/13354?from_cn_redirect=1 TagValue *string `json:"TagValue,omitnil" name:"TagValue"` // Resource to be associated, represented in the standard six-segment resource format. For the correct format, see https://intl.cloud.tencent.com/document/product/651/89122?from_cn_redirect=1 Resource *string `json:"Resource,omitnil" name:"Resource"` }
func NewAddResourceTagRequest ¶
func NewAddResourceTagRequest() (request *AddResourceTagRequest)
func (*AddResourceTagRequest) FromJsonString ¶
func (r *AddResourceTagRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AddResourceTagRequest) ToJsonString ¶
func (r *AddResourceTagRequest) ToJsonString() string
type AddResourceTagRequestParams ¶
type AddResourceTagRequestParams struct { // The tag key that needs to be bound. For the requirements, refer to: https://intl.cloud.tencent.com/document/product/651/13354?from_cn_redirect=1 TagKey *string `json:"TagKey,omitnil" name:"TagKey"` // The tag value that needs to be bound. For the requirements, refer to: https://intl.cloud.tencent.com/document/product/651/13354?from_cn_redirect=1 TagValue *string `json:"TagValue,omitnil" name:"TagValue"` // Resource to be associated, represented in the standard six-segment resource format. For the correct format, see https://intl.cloud.tencent.com/document/product/651/89122?from_cn_redirect=1 Resource *string `json:"Resource,omitnil" name:"Resource"` }
Predefined struct for user
type AddResourceTagResponse ¶
type AddResourceTagResponse struct { *tchttp.BaseResponse Response *AddResourceTagResponseParams `json:"Response"` }
func NewAddResourceTagResponse ¶
func NewAddResourceTagResponse() (response *AddResourceTagResponse)
func (*AddResourceTagResponse) FromJsonString ¶
func (r *AddResourceTagResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AddResourceTagResponse) ToJsonString ¶
func (r *AddResourceTagResponse) ToJsonString() string
type AddResourceTagResponseParams ¶
type AddResourceTagResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type AttachResourcesTagRequest ¶
type AttachResourcesTagRequest struct { *tchttp.BaseRequest // Service short name, which is the third segment of the six-segment resource format. For more information on the format, see https://intl.cloud.tencent.com/document/product/651/89122?from_cn_redirect=1 ServiceType *string `json:"ServiceType,omitnil" name:"ServiceType"` // Resource ID array, which can contain up to 50 resources ResourceIds []*string `json:"ResourceIds,omitnil" name:"ResourceIds"` // The tag key that needs to be bound. For the requirements, refer to: https://intl.cloud.tencent.com/document/product/651/13354?from_cn_redirect=1 TagKey *string `json:"TagKey,omitnil" name:"TagKey"` // The tag value that needs to be bound. For the requirements, refer to: https://intl.cloud.tencent.com/document/product/651/13354?from_cn_redirect=1 TagValue *string `json:"TagValue,omitnil" name:"TagValue"` // Region of the resource. This parameter can be left blank if region is not involved. The region must correspond to resources specified by ResourceIds.N. Once the region is specified, all resources specified by ResourceIds.N must locate in this region. Example: ap-beijing. ResourceRegion *string `json:"ResourceRegion,omitnil" name:"ResourceRegion"` // Resource prefix (the part before "/" in the last segment in the six-segment resource description), which is optional for COS buckets but required for other Tencent Cloud resources. ResourcePrefix *string `json:"ResourcePrefix,omitnil" name:"ResourcePrefix"` }
func NewAttachResourcesTagRequest ¶
func NewAttachResourcesTagRequest() (request *AttachResourcesTagRequest)
func (*AttachResourcesTagRequest) FromJsonString ¶
func (r *AttachResourcesTagRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AttachResourcesTagRequest) ToJsonString ¶
func (r *AttachResourcesTagRequest) ToJsonString() string
type AttachResourcesTagRequestParams ¶
type AttachResourcesTagRequestParams struct { // Service short name, which is the third segment of the six-segment resource format. For more information on the format, see https://intl.cloud.tencent.com/document/product/651/89122?from_cn_redirect=1 ServiceType *string `json:"ServiceType,omitnil" name:"ServiceType"` // Resource ID array, which can contain up to 50 resources ResourceIds []*string `json:"ResourceIds,omitnil" name:"ResourceIds"` // The tag key that needs to be bound. For the requirements, refer to: https://intl.cloud.tencent.com/document/product/651/13354?from_cn_redirect=1 TagKey *string `json:"TagKey,omitnil" name:"TagKey"` // The tag value that needs to be bound. For the requirements, refer to: https://intl.cloud.tencent.com/document/product/651/13354?from_cn_redirect=1 TagValue *string `json:"TagValue,omitnil" name:"TagValue"` // Region of the resource. This parameter can be left blank if region is not involved. The region must correspond to resources specified by ResourceIds.N. Once the region is specified, all resources specified by ResourceIds.N must locate in this region. Example: ap-beijing. ResourceRegion *string `json:"ResourceRegion,omitnil" name:"ResourceRegion"` // Resource prefix (the part before "/" in the last segment in the six-segment resource description), which is optional for COS buckets but required for other Tencent Cloud resources. ResourcePrefix *string `json:"ResourcePrefix,omitnil" name:"ResourcePrefix"` }
Predefined struct for user
type AttachResourcesTagResponse ¶
type AttachResourcesTagResponse struct { *tchttp.BaseResponse Response *AttachResourcesTagResponseParams `json:"Response"` }
func NewAttachResourcesTagResponse ¶
func NewAttachResourcesTagResponse() (response *AttachResourcesTagResponse)
func (*AttachResourcesTagResponse) FromJsonString ¶
func (r *AttachResourcesTagResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AttachResourcesTagResponse) ToJsonString ¶
func (r *AttachResourcesTagResponse) ToJsonString() string
type AttachResourcesTagResponseParams ¶
type AttachResourcesTagResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) AddResourceTag ¶
func (c *Client) AddResourceTag(request *AddResourceTagRequest) (response *AddResourceTagResponse, err error)
AddResourceTag This API is used to associate resources with tags.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_RESERVEDTAGKEY = "InvalidParameter.ReservedTagKey" INVALIDPARAMETERVALUE_RESOURCEDESCRIPTIONERROR = "InvalidParameterValue.ResourceDescriptionError" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" INVALIDPARAMETERVALUE_TAGKEYLENGTHEXCEEDED = "InvalidParameterValue.TagKeyLengthExceeded" INVALIDPARAMETERVALUE_TAGVALUECHARACTERILLEGAL = "InvalidParameterValue.TagValueCharacterIllegal" INVALIDPARAMETERVALUE_TAGVALUELENGTHEXCEEDED = "InvalidParameterValue.TagValueLengthExceeded" LIMITEXCEEDED_RESOURCEATTACHEDTAGS = "LimitExceeded.ResourceAttachedTags" LIMITEXCEEDED_TAGKEY = "LimitExceeded.TagKey" LIMITEXCEEDED_TAGVALUE = "LimitExceeded.TagValue" RESOURCEINUSE_TAGKEYATTACHED = "ResourceInUse.TagKeyAttached"
func (*Client) AddResourceTagWithContext ¶
func (c *Client) AddResourceTagWithContext(ctx context.Context, request *AddResourceTagRequest) (response *AddResourceTagResponse, err error)
AddResourceTag This API is used to associate resources with tags.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_RESERVEDTAGKEY = "InvalidParameter.ReservedTagKey" INVALIDPARAMETERVALUE_RESOURCEDESCRIPTIONERROR = "InvalidParameterValue.ResourceDescriptionError" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" INVALIDPARAMETERVALUE_TAGKEYLENGTHEXCEEDED = "InvalidParameterValue.TagKeyLengthExceeded" INVALIDPARAMETERVALUE_TAGVALUECHARACTERILLEGAL = "InvalidParameterValue.TagValueCharacterIllegal" INVALIDPARAMETERVALUE_TAGVALUELENGTHEXCEEDED = "InvalidParameterValue.TagValueLengthExceeded" LIMITEXCEEDED_RESOURCEATTACHEDTAGS = "LimitExceeded.ResourceAttachedTags" LIMITEXCEEDED_TAGKEY = "LimitExceeded.TagKey" LIMITEXCEEDED_TAGVALUE = "LimitExceeded.TagValue" RESOURCEINUSE_TAGKEYATTACHED = "ResourceInUse.TagKeyAttached"
func (*Client) AttachResourcesTag ¶
func (c *Client) AttachResourcesTag(request *AttachResourcesTagRequest) (response *AttachResourcesTagResponse, err error)
AttachResourcesTag This API is used to associate a tag with multiple resources.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCEAPPIDNOTSAME = "FailedOperation.ResourceAppIdNotSame" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_RESERVEDTAGKEY = "InvalidParameter.ReservedTagKey" INVALIDPARAMETERVALUE_REGIONINVALID = "InvalidParameterValue.RegionInvalid" INVALIDPARAMETERVALUE_RESOURCEDESCRIPTIONERROR = "InvalidParameterValue.ResourceDescriptionError" INVALIDPARAMETERVALUE_RESOURCEIDINVALID = "InvalidParameterValue.ResourceIdInvalid" INVALIDPARAMETERVALUE_RESOURCEPREFIXINVALID = "InvalidParameterValue.ResourcePrefixInvalid" INVALIDPARAMETERVALUE_SERVICETYPEINVALID = "InvalidParameterValue.ServiceTypeInvalid" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" INVALIDPARAMETERVALUE_TAGVALUECHARACTERILLEGAL = "InvalidParameterValue.TagValueCharacterIllegal" INVALIDPARAMETERVALUE_UININVALID = "InvalidParameterValue.UinInvalid" LIMITEXCEEDED_QUOTA = "LimitExceeded.Quota" LIMITEXCEEDED_RESOURCEATTACHEDTAGS = "LimitExceeded.ResourceAttachedTags" LIMITEXCEEDED_RESOURCENUMPERREQUEST = "LimitExceeded.ResourceNumPerRequest" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE_TAGKEYATTACHED = "ResourceInUse.TagKeyAttached" RESOURCENOTFOUND_TAGNONEXIST = "ResourceNotFound.TagNonExist"
func (*Client) AttachResourcesTagWithContext ¶
func (c *Client) AttachResourcesTagWithContext(ctx context.Context, request *AttachResourcesTagRequest) (response *AttachResourcesTagResponse, err error)
AttachResourcesTag This API is used to associate a tag with multiple resources.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCEAPPIDNOTSAME = "FailedOperation.ResourceAppIdNotSame" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_RESERVEDTAGKEY = "InvalidParameter.ReservedTagKey" INVALIDPARAMETERVALUE_REGIONINVALID = "InvalidParameterValue.RegionInvalid" INVALIDPARAMETERVALUE_RESOURCEDESCRIPTIONERROR = "InvalidParameterValue.ResourceDescriptionError" INVALIDPARAMETERVALUE_RESOURCEIDINVALID = "InvalidParameterValue.ResourceIdInvalid" INVALIDPARAMETERVALUE_RESOURCEPREFIXINVALID = "InvalidParameterValue.ResourcePrefixInvalid" INVALIDPARAMETERVALUE_SERVICETYPEINVALID = "InvalidParameterValue.ServiceTypeInvalid" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" INVALIDPARAMETERVALUE_TAGVALUECHARACTERILLEGAL = "InvalidParameterValue.TagValueCharacterIllegal" INVALIDPARAMETERVALUE_UININVALID = "InvalidParameterValue.UinInvalid" LIMITEXCEEDED_QUOTA = "LimitExceeded.Quota" LIMITEXCEEDED_RESOURCEATTACHEDTAGS = "LimitExceeded.ResourceAttachedTags" LIMITEXCEEDED_RESOURCENUMPERREQUEST = "LimitExceeded.ResourceNumPerRequest" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE_TAGKEYATTACHED = "ResourceInUse.TagKeyAttached" RESOURCENOTFOUND_TAGNONEXIST = "ResourceNotFound.TagNonExist"
func (*Client) CreateTag ¶
func (c *Client) CreateTag(request *CreateTagRequest) (response *CreateTagResponse, err error)
CreateTag This API is used to create a tag key and tag value pair.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_RESERVEDTAGKEY = "InvalidParameter.ReservedTagKey" INVALIDPARAMETERVALUE_RESERVEDTAGKEY = "InvalidParameterValue.ReservedTagKey" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" INVALIDPARAMETERVALUE_TAGKEYDUPLICATE = "InvalidParameterValue.TagKeyDuplicate" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" INVALIDPARAMETERVALUE_TAGKEYLENGTHEXCEEDED = "InvalidParameterValue.TagKeyLengthExceeded" INVALIDPARAMETERVALUE_TAGVALUECHARACTERILLEGAL = "InvalidParameterValue.TagValueCharacterIllegal" INVALIDPARAMETERVALUE_TAGVALUEEMPTY = "InvalidParameterValue.TagValueEmpty" INVALIDPARAMETERVALUE_TAGVALUELENGTHEXCEEDED = "InvalidParameterValue.TagValueLengthExceeded" LIMITEXCEEDED_TAGKEY = "LimitExceeded.TagKey" LIMITEXCEEDED_TAGVALUE = "LimitExceeded.TagValue" RESOURCEINUSE_TAGDUPLICATE = "ResourceInUse.TagDuplicate"
func (*Client) CreateTagWithContext ¶
func (c *Client) CreateTagWithContext(ctx context.Context, request *CreateTagRequest) (response *CreateTagResponse, err error)
CreateTag This API is used to create a tag key and tag value pair.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_RESERVEDTAGKEY = "InvalidParameter.ReservedTagKey" INVALIDPARAMETERVALUE_RESERVEDTAGKEY = "InvalidParameterValue.ReservedTagKey" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" INVALIDPARAMETERVALUE_TAGKEYDUPLICATE = "InvalidParameterValue.TagKeyDuplicate" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" INVALIDPARAMETERVALUE_TAGKEYLENGTHEXCEEDED = "InvalidParameterValue.TagKeyLengthExceeded" INVALIDPARAMETERVALUE_TAGVALUECHARACTERILLEGAL = "InvalidParameterValue.TagValueCharacterIllegal" INVALIDPARAMETERVALUE_TAGVALUEEMPTY = "InvalidParameterValue.TagValueEmpty" INVALIDPARAMETERVALUE_TAGVALUELENGTHEXCEEDED = "InvalidParameterValue.TagValueLengthExceeded" LIMITEXCEEDED_TAGKEY = "LimitExceeded.TagKey" LIMITEXCEEDED_TAGVALUE = "LimitExceeded.TagValue" RESOURCEINUSE_TAGDUPLICATE = "ResourceInUse.TagDuplicate"
func (*Client) CreateTags ¶
func (c *Client) CreateTags(request *CreateTagsRequest) (response *CreateTagsResponse, err error)
CreateTags This API is used to create multiple tag key-value pairs.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_RESERVEDTAGKEY = "InvalidParameter.ReservedTagKey" INVALIDPARAMETER_TAG = "InvalidParameter.Tag" INVALIDPARAMETERVALUE_RESERVEDTAGKEY = "InvalidParameterValue.ReservedTagKey" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" INVALIDPARAMETERVALUE_TAGKEYLENGTHEXCEEDED = "InvalidParameterValue.TagKeyLengthExceeded" INVALIDPARAMETERVALUE_TAGVALUECHARACTERILLEGAL = "InvalidParameterValue.TagValueCharacterIllegal" INVALIDPARAMETERVALUE_TAGVALUEEMPTY = "InvalidParameterValue.TagValueEmpty" INVALIDPARAMETERVALUE_TAGVALUELENGTHEXCEEDED = "InvalidParameterValue.TagValueLengthExceeded" LIMITEXCEEDED_TAGKEY = "LimitExceeded.TagKey" LIMITEXCEEDED_TAGVALUE = "LimitExceeded.TagValue" RESOURCEINUSE_TAGDUPLICATE = "ResourceInUse.TagDuplicate"
func (*Client) CreateTagsWithContext ¶
func (c *Client) CreateTagsWithContext(ctx context.Context, request *CreateTagsRequest) (response *CreateTagsResponse, err error)
CreateTags This API is used to create multiple tag key-value pairs.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_RESERVEDTAGKEY = "InvalidParameter.ReservedTagKey" INVALIDPARAMETER_TAG = "InvalidParameter.Tag" INVALIDPARAMETERVALUE_RESERVEDTAGKEY = "InvalidParameterValue.ReservedTagKey" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" INVALIDPARAMETERVALUE_TAGKEYLENGTHEXCEEDED = "InvalidParameterValue.TagKeyLengthExceeded" INVALIDPARAMETERVALUE_TAGVALUECHARACTERILLEGAL = "InvalidParameterValue.TagValueCharacterIllegal" INVALIDPARAMETERVALUE_TAGVALUEEMPTY = "InvalidParameterValue.TagValueEmpty" INVALIDPARAMETERVALUE_TAGVALUELENGTHEXCEEDED = "InvalidParameterValue.TagValueLengthExceeded" LIMITEXCEEDED_TAGKEY = "LimitExceeded.TagKey" LIMITEXCEEDED_TAGVALUE = "LimitExceeded.TagValue" RESOURCEINUSE_TAGDUPLICATE = "ResourceInUse.TagDuplicate"
func (*Client) DeleteResourceTag ¶
func (c *Client) DeleteResourceTag(request *DeleteResourceTagRequest) (response *DeleteResourceTagResponse, err error)
DeleteResourceTag This API is used to unassociate tags and resources.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_RESERVEDTAGKEY = "InvalidParameter.ReservedTagKey" INVALIDPARAMETERVALUE_RESOURCEDESCRIPTIONERROR = "InvalidParameterValue.ResourceDescriptionError" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" INVALIDPARAMETERVALUE_TAGKEYLENGTHEXCEEDED = "InvalidParameterValue.TagKeyLengthExceeded" RESOURCENOTFOUND_ATTACHEDTAGKEYNOTFOUND = "ResourceNotFound.AttachedTagKeyNotFound"
func (*Client) DeleteResourceTagWithContext ¶
func (c *Client) DeleteResourceTagWithContext(ctx context.Context, request *DeleteResourceTagRequest) (response *DeleteResourceTagResponse, err error)
DeleteResourceTag This API is used to unassociate tags and resources.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_RESERVEDTAGKEY = "InvalidParameter.ReservedTagKey" INVALIDPARAMETERVALUE_RESOURCEDESCRIPTIONERROR = "InvalidParameterValue.ResourceDescriptionError" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" INVALIDPARAMETERVALUE_TAGKEYLENGTHEXCEEDED = "InvalidParameterValue.TagKeyLengthExceeded" RESOURCENOTFOUND_ATTACHEDTAGKEYNOTFOUND = "ResourceNotFound.AttachedTagKeyNotFound"
func (*Client) DeleteTag ¶
func (c *Client) DeleteTag(request *DeleteTagRequest) (response *DeleteTagResponse, err error)
DeleteTag This API is used to delete a tag key and tag value pair.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TAGATTACHEDQUOTA = "FailedOperation.TagAttachedQuota" FAILEDOPERATION_TAGATTACHEDRESOURCE = "FailedOperation.TagAttachedResource" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" INVALIDPARAMETERVALUE_TAGKEYDUPLICATE = "InvalidParameterValue.TagKeyDuplicate" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" INVALIDPARAMETERVALUE_TAGVALUECHARACTERILLEGAL = "InvalidParameterValue.TagValueCharacterIllegal" INVALIDPARAMETERVALUE_TAGVALUEEMPTY = "InvalidParameterValue.TagValueEmpty" INVALIDPARAMETERVALUE_TAGVALUELENGTHEXCEEDED = "InvalidParameterValue.TagValueLengthExceeded" RESOURCENOTFOUND_TAGNONEXIST = "ResourceNotFound.TagNonExist"
func (*Client) DeleteTagWithContext ¶
func (c *Client) DeleteTagWithContext(ctx context.Context, request *DeleteTagRequest) (response *DeleteTagResponse, err error)
DeleteTag This API is used to delete a tag key and tag value pair.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TAGATTACHEDQUOTA = "FailedOperation.TagAttachedQuota" FAILEDOPERATION_TAGATTACHEDRESOURCE = "FailedOperation.TagAttachedResource" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" INVALIDPARAMETERVALUE_TAGKEYDUPLICATE = "InvalidParameterValue.TagKeyDuplicate" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" INVALIDPARAMETERVALUE_TAGVALUECHARACTERILLEGAL = "InvalidParameterValue.TagValueCharacterIllegal" INVALIDPARAMETERVALUE_TAGVALUEEMPTY = "InvalidParameterValue.TagValueEmpty" INVALIDPARAMETERVALUE_TAGVALUELENGTHEXCEEDED = "InvalidParameterValue.TagValueLengthExceeded" RESOURCENOTFOUND_TAGNONEXIST = "ResourceNotFound.TagNonExist"
func (*Client) DeleteTags ¶
func (c *Client) DeleteTags(request *DeleteTagsRequest) (response *DeleteTagsResponse, err error)
DeleteTags This API is used to delete tag keys and tag values in batches.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TAGATTACHEDQUOTA = "FailedOperation.TagAttachedQuota" FAILEDOPERATION_TAGATTACHEDRESOURCE = "FailedOperation.TagAttachedResource" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_RESERVEDTAGKEY = "InvalidParameter.ReservedTagKey" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" INVALIDPARAMETERVALUE_TAGKEYLENGTHEXCEEDED = "InvalidParameterValue.TagKeyLengthExceeded" INVALIDPARAMETERVALUE_TAGVALUECHARACTERILLEGAL = "InvalidParameterValue.TagValueCharacterIllegal" INVALIDPARAMETERVALUE_TAGVALUEEMPTY = "InvalidParameterValue.TagValueEmpty" INVALIDPARAMETERVALUE_TAGVALUELENGTHEXCEEDED = "InvalidParameterValue.TagValueLengthExceeded" RESOURCENOTFOUND_TAGNONEXIST = "ResourceNotFound.TagNonExist"
func (*Client) DeleteTagsWithContext ¶
func (c *Client) DeleteTagsWithContext(ctx context.Context, request *DeleteTagsRequest) (response *DeleteTagsResponse, err error)
DeleteTags This API is used to delete tag keys and tag values in batches.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TAGATTACHEDQUOTA = "FailedOperation.TagAttachedQuota" FAILEDOPERATION_TAGATTACHEDRESOURCE = "FailedOperation.TagAttachedResource" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_RESERVEDTAGKEY = "InvalidParameter.ReservedTagKey" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" INVALIDPARAMETERVALUE_TAGKEYLENGTHEXCEEDED = "InvalidParameterValue.TagKeyLengthExceeded" INVALIDPARAMETERVALUE_TAGVALUECHARACTERILLEGAL = "InvalidParameterValue.TagValueCharacterIllegal" INVALIDPARAMETERVALUE_TAGVALUEEMPTY = "InvalidParameterValue.TagValueEmpty" INVALIDPARAMETERVALUE_TAGVALUELENGTHEXCEEDED = "InvalidParameterValue.TagValueLengthExceeded" RESOURCENOTFOUND_TAGNONEXIST = "ResourceNotFound.TagNonExist"
func (*Client) DescribeProjects ¶
func (c *Client) DescribeProjects(request *DescribeProjectsRequest) (response *DescribeProjectsResponse, err error)
DescribeProjects This API is used to get project lists.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeProjectsWithContext ¶
func (c *Client) DescribeProjectsWithContext(ctx context.Context, request *DescribeProjectsRequest) (response *DescribeProjectsResponse, err error)
DescribeProjects This API is used to get project lists.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeResourceTags ¶
func (c *Client) DescribeResourceTags(request *DescribeResourceTagsRequest) (response *DescribeResourceTagsResponse, err error)
DescribeResourceTags This API is used to query the tags associated with a resource.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) DescribeResourceTagsByResourceIds ¶
func (c *Client) DescribeResourceTagsByResourceIds(request *DescribeResourceTagsByResourceIdsRequest) (response *DescribeResourceTagsByResourceIdsResponse, err error)
DescribeResourceTagsByResourceIds This API is used to query the tag key-value pairs associated with an existing resource.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE_REGIONINVALID = "InvalidParameterValue.RegionInvalid" INVALIDPARAMETERVALUE_RESOURCEIDINVALID = "InvalidParameterValue.ResourceIdInvalid" INVALIDPARAMETERVALUE_RESOURCEPREFIXINVALID = "InvalidParameterValue.ResourcePrefixInvalid" INVALIDPARAMETERVALUE_SERVICETYPEINVALID = "InvalidParameterValue.ServiceTypeInvalid" INVALIDPARAMETERVALUE_UININVALID = "InvalidParameterValue.UinInvalid" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeResourceTagsByResourceIdsSeq ¶
func (c *Client) DescribeResourceTagsByResourceIdsSeq(request *DescribeResourceTagsByResourceIdsSeqRequest) (response *DescribeResourceTagsByResourceIdsSeqResponse, err error)
DescribeResourceTagsByResourceIdsSeq This API is used to view the tags associated with a resource in sequence.
error code that may be returned:
INVALIDPARAMETERVALUE_OFFSETINVALID = "InvalidParameterValue.OffsetInvalid" INVALIDPARAMETERVALUE_REGIONINVALID = "InvalidParameterValue.RegionInvalid" INVALIDPARAMETERVALUE_RESOURCEIDINVALID = "InvalidParameterValue.ResourceIdInvalid" INVALIDPARAMETERVALUE_RESOURCEPREFIXINVALID = "InvalidParameterValue.ResourcePrefixInvalid" INVALIDPARAMETERVALUE_SERVICETYPEINVALID = "InvalidParameterValue.ServiceTypeInvalid" INVALIDPARAMETERVALUE_UININVALID = "InvalidParameterValue.UinInvalid"
func (*Client) DescribeResourceTagsByResourceIdsSeqWithContext ¶
func (c *Client) DescribeResourceTagsByResourceIdsSeqWithContext(ctx context.Context, request *DescribeResourceTagsByResourceIdsSeqRequest) (response *DescribeResourceTagsByResourceIdsSeqResponse, err error)
DescribeResourceTagsByResourceIdsSeq This API is used to view the tags associated with a resource in sequence.
error code that may be returned:
INVALIDPARAMETERVALUE_OFFSETINVALID = "InvalidParameterValue.OffsetInvalid" INVALIDPARAMETERVALUE_REGIONINVALID = "InvalidParameterValue.RegionInvalid" INVALIDPARAMETERVALUE_RESOURCEIDINVALID = "InvalidParameterValue.ResourceIdInvalid" INVALIDPARAMETERVALUE_RESOURCEPREFIXINVALID = "InvalidParameterValue.ResourcePrefixInvalid" INVALIDPARAMETERVALUE_SERVICETYPEINVALID = "InvalidParameterValue.ServiceTypeInvalid" INVALIDPARAMETERVALUE_UININVALID = "InvalidParameterValue.UinInvalid"
func (*Client) DescribeResourceTagsByResourceIdsWithContext ¶
func (c *Client) DescribeResourceTagsByResourceIdsWithContext(ctx context.Context, request *DescribeResourceTagsByResourceIdsRequest) (response *DescribeResourceTagsByResourceIdsResponse, err error)
DescribeResourceTagsByResourceIds This API is used to query the tag key-value pairs associated with an existing resource.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE_REGIONINVALID = "InvalidParameterValue.RegionInvalid" INVALIDPARAMETERVALUE_RESOURCEIDINVALID = "InvalidParameterValue.ResourceIdInvalid" INVALIDPARAMETERVALUE_RESOURCEPREFIXINVALID = "InvalidParameterValue.ResourcePrefixInvalid" INVALIDPARAMETERVALUE_SERVICETYPEINVALID = "InvalidParameterValue.ServiceTypeInvalid" INVALIDPARAMETERVALUE_UININVALID = "InvalidParameterValue.UinInvalid" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeResourceTagsByTagKeys ¶
func (c *Client) DescribeResourceTagsByTagKeys(request *DescribeResourceTagsByTagKeysRequest) (response *DescribeResourceTagsByTagKeysResponse, err error)
DescribeResourceTagsByTagKeys This API is used to get resource tags based on tag keys.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_TAG = "InvalidParameter.Tag" INVALIDPARAMETERVALUE_REGIONINVALID = "InvalidParameterValue.RegionInvalid" INVALIDPARAMETERVALUE_RESOURCEIDINVALID = "InvalidParameterValue.ResourceIdInvalid" INVALIDPARAMETERVALUE_RESOURCEPREFIXINVALID = "InvalidParameterValue.ResourcePrefixInvalid" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" INVALIDPARAMETERVALUE_TAGKEYLENGTHEXCEEDED = "InvalidParameterValue.TagKeyLengthExceeded"
func (*Client) DescribeResourceTagsByTagKeysWithContext ¶
func (c *Client) DescribeResourceTagsByTagKeysWithContext(ctx context.Context, request *DescribeResourceTagsByTagKeysRequest) (response *DescribeResourceTagsByTagKeysResponse, err error)
DescribeResourceTagsByTagKeys This API is used to get resource tags based on tag keys.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_TAG = "InvalidParameter.Tag" INVALIDPARAMETERVALUE_REGIONINVALID = "InvalidParameterValue.RegionInvalid" INVALIDPARAMETERVALUE_RESOURCEIDINVALID = "InvalidParameterValue.ResourceIdInvalid" INVALIDPARAMETERVALUE_RESOURCEPREFIXINVALID = "InvalidParameterValue.ResourcePrefixInvalid" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" INVALIDPARAMETERVALUE_TAGKEYLENGTHEXCEEDED = "InvalidParameterValue.TagKeyLengthExceeded"
func (*Client) DescribeResourceTagsWithContext ¶
func (c *Client) DescribeResourceTagsWithContext(ctx context.Context, request *DescribeResourceTagsRequest) (response *DescribeResourceTagsResponse, err error)
DescribeResourceTags This API is used to query the tags associated with a resource.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) DescribeResourcesByTags ¶
func (c *Client) DescribeResourcesByTags(request *DescribeResourcesByTagsRequest) (response *DescribeResourcesByTagsResponse, err error)
DescribeResourcesByTags This API is used to query resources by tags.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE_TAGFILTERS = "InvalidParameterValue.TagFilters" INVALIDPARAMETERVALUE_TAGFILTERSLENGTHEXCEEDED = "InvalidParameterValue.TagFiltersLengthExceeded" INVALIDPARAMETERVALUE_UININVALID = "InvalidParameterValue.UinInvalid" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeResourcesByTagsUnion ¶
func (c *Client) DescribeResourcesByTagsUnion(request *DescribeResourcesByTagsUnionRequest) (response *DescribeResourcesByTagsUnionResponse, err error)
DescribeResourcesByTagsUnion This API is used to query resource list by tags.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE_TAGFILTERS = "InvalidParameterValue.TagFilters" INVALIDPARAMETERVALUE_TAGFILTERSLENGTHEXCEEDED = "InvalidParameterValue.TagFiltersLengthExceeded" INVALIDPARAMETERVALUE_UININVALID = "InvalidParameterValue.UinInvalid"
func (*Client) DescribeResourcesByTagsUnionWithContext ¶
func (c *Client) DescribeResourcesByTagsUnionWithContext(ctx context.Context, request *DescribeResourcesByTagsUnionRequest) (response *DescribeResourcesByTagsUnionResponse, err error)
DescribeResourcesByTagsUnion This API is used to query resource list by tags.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE_TAGFILTERS = "InvalidParameterValue.TagFilters" INVALIDPARAMETERVALUE_TAGFILTERSLENGTHEXCEEDED = "InvalidParameterValue.TagFiltersLengthExceeded" INVALIDPARAMETERVALUE_UININVALID = "InvalidParameterValue.UinInvalid"
func (*Client) DescribeResourcesByTagsWithContext ¶
func (c *Client) DescribeResourcesByTagsWithContext(ctx context.Context, request *DescribeResourcesByTagsRequest) (response *DescribeResourcesByTagsResponse, err error)
DescribeResourcesByTags This API is used to query resources by tags.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE_TAGFILTERS = "InvalidParameterValue.TagFilters" INVALIDPARAMETERVALUE_TAGFILTERSLENGTHEXCEEDED = "InvalidParameterValue.TagFiltersLengthExceeded" INVALIDPARAMETERVALUE_UININVALID = "InvalidParameterValue.UinInvalid" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeTagKeys ¶
func (c *Client) DescribeTagKeys(request *DescribeTagKeysRequest) (response *DescribeTagKeysResponse, err error)
DescribeTagKeys This API is used to query tag keys in the list of created tags.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE_UININVALID = "InvalidParameterValue.UinInvalid"
func (*Client) DescribeTagKeysWithContext ¶
func (c *Client) DescribeTagKeysWithContext(ctx context.Context, request *DescribeTagKeysRequest) (response *DescribeTagKeysResponse, err error)
DescribeTagKeys This API is used to query tag keys in the list of created tags.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE_UININVALID = "InvalidParameterValue.UinInvalid"
func (*Client) DescribeTagValues ¶
func (c *Client) DescribeTagValues(request *DescribeTagValuesRequest) (response *DescribeTagValuesResponse, err error)
DescribeTagValues This API is used to query tag values in an existing tag list.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" INVALIDPARAMETERVALUE_UININVALID = "InvalidParameterValue.UinInvalid"
func (*Client) DescribeTagValuesSeq ¶
func (c *Client) DescribeTagValuesSeq(request *DescribeTagValuesSeqRequest) (response *DescribeTagValuesSeqResponse, err error)
DescribeTagValuesSeq This API is used to query tag values in a created tag list.
error code that may be returned:
INVALIDPARAMETERVALUE_OFFSETINVALID = "InvalidParameterValue.OffsetInvalid" INVALIDPARAMETERVALUE_UININVALID = "InvalidParameterValue.UinInvalid"
func (*Client) DescribeTagValuesSeqWithContext ¶
func (c *Client) DescribeTagValuesSeqWithContext(ctx context.Context, request *DescribeTagValuesSeqRequest) (response *DescribeTagValuesSeqResponse, err error)
DescribeTagValuesSeq This API is used to query tag values in a created tag list.
error code that may be returned:
INVALIDPARAMETERVALUE_OFFSETINVALID = "InvalidParameterValue.OffsetInvalid" INVALIDPARAMETERVALUE_UININVALID = "InvalidParameterValue.UinInvalid"
func (*Client) DescribeTagValuesWithContext ¶
func (c *Client) DescribeTagValuesWithContext(ctx context.Context, request *DescribeTagValuesRequest) (response *DescribeTagValuesResponse, err error)
DescribeTagValues This API is used to query tag values in an existing tag list.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" INVALIDPARAMETERVALUE_UININVALID = "InvalidParameterValue.UinInvalid"
func (*Client) DescribeTags ¶
func (c *Client) DescribeTags(request *DescribeTagsRequest) (response *DescribeTagsResponse, err error)
DescribeTags This API is used to query the list of created tags.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE_UININVALID = "InvalidParameterValue.UinInvalid"
func (*Client) DescribeTagsSeq ¶
func (c *Client) DescribeTagsSeq(request *DescribeTagsSeqRequest) (response *DescribeTagsSeqResponse, err error)
DescribeTagsSeq This API is used to query the created tag lists.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE_OFFSETINVALID = "InvalidParameterValue.OffsetInvalid" INVALIDPARAMETERVALUE_UININVALID = "InvalidParameterValue.UinInvalid"
func (*Client) DescribeTagsSeqWithContext ¶
func (c *Client) DescribeTagsSeqWithContext(ctx context.Context, request *DescribeTagsSeqRequest) (response *DescribeTagsSeqResponse, err error)
DescribeTagsSeq This API is used to query the created tag lists.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE_OFFSETINVALID = "InvalidParameterValue.OffsetInvalid" INVALIDPARAMETERVALUE_UININVALID = "InvalidParameterValue.UinInvalid"
func (*Client) DescribeTagsWithContext ¶
func (c *Client) DescribeTagsWithContext(ctx context.Context, request *DescribeTagsRequest) (response *DescribeTagsResponse, err error)
DescribeTags This API is used to query the list of created tags.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE_UININVALID = "InvalidParameterValue.UinInvalid"
func (*Client) DetachResourcesTag ¶
func (c *Client) DetachResourcesTag(request *DetachResourcesTagRequest) (response *DetachResourcesTagResponse, err error)
DetachResourcesTag This API is used to unbind a tag from multiple resources.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCEAPPIDNOTSAME = "FailedOperation.ResourceAppIdNotSame" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_REGIONINVALID = "InvalidParameterValue.RegionInvalid" INVALIDPARAMETERVALUE_RESOURCEDESCRIPTIONERROR = "InvalidParameterValue.ResourceDescriptionError" INVALIDPARAMETERVALUE_RESOURCEIDINVALID = "InvalidParameterValue.ResourceIdInvalid" INVALIDPARAMETERVALUE_RESOURCEPREFIXINVALID = "InvalidParameterValue.ResourcePrefixInvalid" INVALIDPARAMETERVALUE_SERVICETYPEINVALID = "InvalidParameterValue.ServiceTypeInvalid" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" INVALIDPARAMETERVALUE_UININVALID = "InvalidParameterValue.UinInvalid" LIMITEXCEEDED_RESOURCENUMPERREQUEST = "LimitExceeded.ResourceNumPerRequest" RESOURCENOTFOUND_ATTACHEDTAGKEYNOTFOUND = "ResourceNotFound.AttachedTagKeyNotFound"
func (*Client) DetachResourcesTagWithContext ¶
func (c *Client) DetachResourcesTagWithContext(ctx context.Context, request *DetachResourcesTagRequest) (response *DetachResourcesTagResponse, err error)
DetachResourcesTag This API is used to unbind a tag from multiple resources.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCEAPPIDNOTSAME = "FailedOperation.ResourceAppIdNotSame" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_REGIONINVALID = "InvalidParameterValue.RegionInvalid" INVALIDPARAMETERVALUE_RESOURCEDESCRIPTIONERROR = "InvalidParameterValue.ResourceDescriptionError" INVALIDPARAMETERVALUE_RESOURCEIDINVALID = "InvalidParameterValue.ResourceIdInvalid" INVALIDPARAMETERVALUE_RESOURCEPREFIXINVALID = "InvalidParameterValue.ResourcePrefixInvalid" INVALIDPARAMETERVALUE_SERVICETYPEINVALID = "InvalidParameterValue.ServiceTypeInvalid" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" INVALIDPARAMETERVALUE_UININVALID = "InvalidParameterValue.UinInvalid" LIMITEXCEEDED_RESOURCENUMPERREQUEST = "LimitExceeded.ResourceNumPerRequest" RESOURCENOTFOUND_ATTACHEDTAGKEYNOTFOUND = "ResourceNotFound.AttachedTagKeyNotFound"
func (*Client) GetResources ¶
func (c *Client) GetResources(request *GetResourcesRequest) (response *GetResourcesResponse, err error)
GetResources This API is used to query the list of resources associated with a tag.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCETAGPROCESSING = "FailedOperation.ResourceTagProcessing" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PAGINATIONTOKENINVALID = "InvalidParameter.PaginationTokenInvalid" INVALIDPARAMETER_RESERVEDTAGKEY = "InvalidParameter.ReservedTagKey" INVALIDPARAMETER_TAG = "InvalidParameter.Tag" INVALIDPARAMETERVALUE_RESOURCEDESCRIPTIONERROR = "InvalidParameterValue.ResourceDescriptionError" INVALIDPARAMETERVALUE_TAGKEYDUPLICATE = "InvalidParameterValue.TagKeyDuplicate" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" INVALIDPARAMETERVALUE_TAGKEYLENGTHEXCEEDED = "InvalidParameterValue.TagKeyLengthExceeded" INVALIDPARAMETERVALUE_TAGVALUECHARACTERILLEGAL = "InvalidParameterValue.TagValueCharacterIllegal" INVALIDPARAMETERVALUE_TAGVALUELENGTHEXCEEDED = "InvalidParameterValue.TagValueLengthExceeded" LIMITEXCEEDED_RESOURCENUMPERREQUEST = "LimitExceeded.ResourceNumPerRequest" LIMITEXCEEDED_TAGNUMPERREQUEST = "LimitExceeded.TagNumPerRequest" LIMITEXCEEDED_TAGVALUE = "LimitExceeded.TagValue"
func (*Client) GetResourcesWithContext ¶
func (c *Client) GetResourcesWithContext(ctx context.Context, request *GetResourcesRequest) (response *GetResourcesResponse, err error)
GetResources This API is used to query the list of resources associated with a tag.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCETAGPROCESSING = "FailedOperation.ResourceTagProcessing" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PAGINATIONTOKENINVALID = "InvalidParameter.PaginationTokenInvalid" INVALIDPARAMETER_RESERVEDTAGKEY = "InvalidParameter.ReservedTagKey" INVALIDPARAMETER_TAG = "InvalidParameter.Tag" INVALIDPARAMETERVALUE_RESOURCEDESCRIPTIONERROR = "InvalidParameterValue.ResourceDescriptionError" INVALIDPARAMETERVALUE_TAGKEYDUPLICATE = "InvalidParameterValue.TagKeyDuplicate" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" INVALIDPARAMETERVALUE_TAGKEYLENGTHEXCEEDED = "InvalidParameterValue.TagKeyLengthExceeded" INVALIDPARAMETERVALUE_TAGVALUECHARACTERILLEGAL = "InvalidParameterValue.TagValueCharacterIllegal" INVALIDPARAMETERVALUE_TAGVALUELENGTHEXCEEDED = "InvalidParameterValue.TagValueLengthExceeded" LIMITEXCEEDED_RESOURCENUMPERREQUEST = "LimitExceeded.ResourceNumPerRequest" LIMITEXCEEDED_TAGNUMPERREQUEST = "LimitExceeded.TagNumPerRequest" LIMITEXCEEDED_TAGVALUE = "LimitExceeded.TagValue"
func (*Client) GetTagKeys ¶
func (c *Client) GetTagKeys(request *GetTagKeysRequest) (response *GetTagKeysResponse, err error)
GetTagKeys This API is used to query the list of tag keys.
error code that may be returned:
INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PAGINATIONTOKENINVALID = "InvalidParameter.PaginationTokenInvalid" INVALIDPARAMETERVALUE_RESERVEDTAGKEY = "InvalidParameterValue.ReservedTagKey" INVALIDPARAMETERVALUE_TAGKEYLENGTHEXCEEDED = "InvalidParameterValue.TagKeyLengthExceeded" LIMITEXCEEDED = "LimitExceeded"
func (*Client) GetTagKeysWithContext ¶
func (c *Client) GetTagKeysWithContext(ctx context.Context, request *GetTagKeysRequest) (response *GetTagKeysResponse, err error)
GetTagKeys This API is used to query the list of tag keys.
error code that may be returned:
INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PAGINATIONTOKENINVALID = "InvalidParameter.PaginationTokenInvalid" INVALIDPARAMETERVALUE_RESERVEDTAGKEY = "InvalidParameterValue.ReservedTagKey" INVALIDPARAMETERVALUE_TAGKEYLENGTHEXCEEDED = "InvalidParameterValue.TagKeyLengthExceeded" LIMITEXCEEDED = "LimitExceeded"
func (*Client) GetTagValues ¶
func (c *Client) GetTagValues(request *GetTagValuesRequest) (response *GetTagValuesResponse, err error)
GetTagValues This API is used to query tag values in the list of created tags.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PAGINATIONTOKENINVALID = "InvalidParameter.PaginationTokenInvalid" INVALIDPARAMETERVALUE_RESERVEDTAGKEY = "InvalidParameterValue.ReservedTagKey" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter"
func (*Client) GetTagValuesWithContext ¶
func (c *Client) GetTagValuesWithContext(ctx context.Context, request *GetTagValuesRequest) (response *GetTagValuesResponse, err error)
GetTagValues This API is used to query tag values in the list of created tags.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PAGINATIONTOKENINVALID = "InvalidParameter.PaginationTokenInvalid" INVALIDPARAMETERVALUE_RESERVEDTAGKEY = "InvalidParameterValue.ReservedTagKey" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter"
func (*Client) GetTags ¶
func (c *Client) GetTags(request *GetTagsRequest) (response *GetTagsResponse, err error)
GetTags This API is used to get the list of created tags.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PAGINATIONTOKENINVALID = "InvalidParameter.PaginationTokenInvalid" INVALIDPARAMETER_RESERVEDTAGKEY = "InvalidParameter.ReservedTagKey" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" LIMITEXCEEDED = "LimitExceeded"
func (*Client) GetTagsWithContext ¶
func (c *Client) GetTagsWithContext(ctx context.Context, request *GetTagsRequest) (response *GetTagsResponse, err error)
GetTags This API is used to get the list of created tags.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PAGINATIONTOKENINVALID = "InvalidParameter.PaginationTokenInvalid" INVALIDPARAMETER_RESERVEDTAGKEY = "InvalidParameter.ReservedTagKey" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" LIMITEXCEEDED = "LimitExceeded"
func (*Client) ModifyResourceTags ¶
func (c *Client) ModifyResourceTags(request *ModifyResourceTagsRequest) (response *ModifyResourceTagsResponse, err error)
ModifyResourceTags This API is used to modify all tags associated with a resource.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_RESERVEDTAGKEY = "InvalidParameter.ReservedTagKey" INVALIDPARAMETER_TAG = "InvalidParameter.Tag" INVALIDPARAMETERVALUE_DELETETAGSPARAMERROR = "InvalidParameterValue.DeleteTagsParamError" INVALIDPARAMETERVALUE_RESOURCEDESCRIPTIONERROR = "InvalidParameterValue.ResourceDescriptionError" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" INVALIDPARAMETERVALUE_TAGKEYLENGTHEXCEEDED = "InvalidParameterValue.TagKeyLengthExceeded" INVALIDPARAMETERVALUE_TAGVALUECHARACTERILLEGAL = "InvalidParameterValue.TagValueCharacterIllegal" INVALIDPARAMETERVALUE_TAGVALUELENGTHEXCEEDED = "InvalidParameterValue.TagValueLengthExceeded" LIMITEXCEEDED_QUOTA = "LimitExceeded.Quota" LIMITEXCEEDED_RESOURCEATTACHEDTAGS = "LimitExceeded.ResourceAttachedTags" LIMITEXCEEDED_TAGKEY = "LimitExceeded.TagKey" LIMITEXCEEDED_TAGVALUE = "LimitExceeded.TagValue"
func (*Client) ModifyResourceTagsWithContext ¶
func (c *Client) ModifyResourceTagsWithContext(ctx context.Context, request *ModifyResourceTagsRequest) (response *ModifyResourceTagsResponse, err error)
ModifyResourceTags This API is used to modify all tags associated with a resource.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_RESERVEDTAGKEY = "InvalidParameter.ReservedTagKey" INVALIDPARAMETER_TAG = "InvalidParameter.Tag" INVALIDPARAMETERVALUE_DELETETAGSPARAMERROR = "InvalidParameterValue.DeleteTagsParamError" INVALIDPARAMETERVALUE_RESOURCEDESCRIPTIONERROR = "InvalidParameterValue.ResourceDescriptionError" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" INVALIDPARAMETERVALUE_TAGKEYLENGTHEXCEEDED = "InvalidParameterValue.TagKeyLengthExceeded" INVALIDPARAMETERVALUE_TAGVALUECHARACTERILLEGAL = "InvalidParameterValue.TagValueCharacterIllegal" INVALIDPARAMETERVALUE_TAGVALUELENGTHEXCEEDED = "InvalidParameterValue.TagValueLengthExceeded" LIMITEXCEEDED_QUOTA = "LimitExceeded.Quota" LIMITEXCEEDED_RESOURCEATTACHEDTAGS = "LimitExceeded.ResourceAttachedTags" LIMITEXCEEDED_TAGKEY = "LimitExceeded.TagKey" LIMITEXCEEDED_TAGVALUE = "LimitExceeded.TagValue"
func (*Client) ModifyResourcesTagValue ¶
func (c *Client) ModifyResourcesTagValue(request *ModifyResourcesTagValueRequest) (response *ModifyResourcesTagValueResponse, err error)
ModifyResourcesTagValue This API is used to modify the tag value corresponding to a tag key associated with multiple resources.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCEAPPIDNOTSAME = "FailedOperation.ResourceAppIdNotSame" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_REGIONINVALID = "InvalidParameterValue.RegionInvalid" INVALIDPARAMETERVALUE_RESOURCEDESCRIPTIONERROR = "InvalidParameterValue.ResourceDescriptionError" INVALIDPARAMETERVALUE_RESOURCEIDINVALID = "InvalidParameterValue.ResourceIdInvalid" INVALIDPARAMETERVALUE_RESOURCEPREFIXINVALID = "InvalidParameterValue.ResourcePrefixInvalid" INVALIDPARAMETERVALUE_SERVICETYPEINVALID = "InvalidParameterValue.ServiceTypeInvalid" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" INVALIDPARAMETERVALUE_TAGVALUECHARACTERILLEGAL = "InvalidParameterValue.TagValueCharacterIllegal" INVALIDPARAMETERVALUE_TAGVALUELENGTHEXCEEDED = "InvalidParameterValue.TagValueLengthExceeded" INVALIDPARAMETERVALUE_UININVALID = "InvalidParameterValue.UinInvalid" LIMITEXCEEDED_QUOTA = "LimitExceeded.Quota" LIMITEXCEEDED_RESOURCENUMPERREQUEST = "LimitExceeded.ResourceNumPerRequest" RESOURCENOTFOUND_ATTACHEDTAGKEYNOTFOUND = "ResourceNotFound.AttachedTagKeyNotFound" RESOURCENOTFOUND_TAGNONEXIST = "ResourceNotFound.TagNonExist"
func (*Client) ModifyResourcesTagValueWithContext ¶
func (c *Client) ModifyResourcesTagValueWithContext(ctx context.Context, request *ModifyResourcesTagValueRequest) (response *ModifyResourcesTagValueResponse, err error)
ModifyResourcesTagValue This API is used to modify the tag value corresponding to a tag key associated with multiple resources.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCEAPPIDNOTSAME = "FailedOperation.ResourceAppIdNotSame" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_REGIONINVALID = "InvalidParameterValue.RegionInvalid" INVALIDPARAMETERVALUE_RESOURCEDESCRIPTIONERROR = "InvalidParameterValue.ResourceDescriptionError" INVALIDPARAMETERVALUE_RESOURCEIDINVALID = "InvalidParameterValue.ResourceIdInvalid" INVALIDPARAMETERVALUE_RESOURCEPREFIXINVALID = "InvalidParameterValue.ResourcePrefixInvalid" INVALIDPARAMETERVALUE_SERVICETYPEINVALID = "InvalidParameterValue.ServiceTypeInvalid" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" INVALIDPARAMETERVALUE_TAGVALUECHARACTERILLEGAL = "InvalidParameterValue.TagValueCharacterIllegal" INVALIDPARAMETERVALUE_TAGVALUELENGTHEXCEEDED = "InvalidParameterValue.TagValueLengthExceeded" INVALIDPARAMETERVALUE_UININVALID = "InvalidParameterValue.UinInvalid" LIMITEXCEEDED_QUOTA = "LimitExceeded.Quota" LIMITEXCEEDED_RESOURCENUMPERREQUEST = "LimitExceeded.ResourceNumPerRequest" RESOURCENOTFOUND_ATTACHEDTAGKEYNOTFOUND = "ResourceNotFound.AttachedTagKeyNotFound" RESOURCENOTFOUND_TAGNONEXIST = "ResourceNotFound.TagNonExist"
func (*Client) TagResources ¶
func (c *Client) TagResources(request *TagResourcesRequest) (response *TagResourcesResponse, err error)
TagResources This API is used to create and bind a tag uniformly to multiple specified resources of multiple Tencent Cloud services.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCETAGPROCESSING = "FailedOperation.ResourceTagProcessing" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_RESERVEDTAGKEY = "InvalidParameter.ReservedTagKey" INVALIDPARAMETER_TAG = "InvalidParameter.Tag" INVALIDPARAMETER_UNSUPPORTEDSERVICE = "InvalidParameter.UnsupportedService" INVALIDPARAMETERVALUE_RESOURCEDESCRIPTIONERROR = "InvalidParameterValue.ResourceDescriptionError" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" INVALIDPARAMETERVALUE_TAGKEYDUPLICATE = "InvalidParameterValue.TagKeyDuplicate" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" INVALIDPARAMETERVALUE_TAGKEYLENGTHEXCEEDED = "InvalidParameterValue.TagKeyLengthExceeded" INVALIDPARAMETERVALUE_TAGVALUECHARACTERILLEGAL = "InvalidParameterValue.TagValueCharacterIllegal" INVALIDPARAMETERVALUE_TAGVALUEEMPTY = "InvalidParameterValue.TagValueEmpty" INVALIDPARAMETERVALUE_TAGVALUELENGTHEXCEEDED = "InvalidParameterValue.TagValueLengthExceeded" LIMITEXCEEDED_RESOURCENUMPERREQUEST = "LimitExceeded.ResourceNumPerRequest" LIMITEXCEEDED_TAGNUMPERREQUEST = "LimitExceeded.TagNumPerRequest" LIMITEXCEEDED_TAGVALUE = "LimitExceeded.TagValue"
func (*Client) TagResourcesWithContext ¶
func (c *Client) TagResourcesWithContext(ctx context.Context, request *TagResourcesRequest) (response *TagResourcesResponse, err error)
TagResources This API is used to create and bind a tag uniformly to multiple specified resources of multiple Tencent Cloud services.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCETAGPROCESSING = "FailedOperation.ResourceTagProcessing" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_RESERVEDTAGKEY = "InvalidParameter.ReservedTagKey" INVALIDPARAMETER_TAG = "InvalidParameter.Tag" INVALIDPARAMETER_UNSUPPORTEDSERVICE = "InvalidParameter.UnsupportedService" INVALIDPARAMETERVALUE_RESOURCEDESCRIPTIONERROR = "InvalidParameterValue.ResourceDescriptionError" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" INVALIDPARAMETERVALUE_TAGKEYDUPLICATE = "InvalidParameterValue.TagKeyDuplicate" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" INVALIDPARAMETERVALUE_TAGKEYLENGTHEXCEEDED = "InvalidParameterValue.TagKeyLengthExceeded" INVALIDPARAMETERVALUE_TAGVALUECHARACTERILLEGAL = "InvalidParameterValue.TagValueCharacterIllegal" INVALIDPARAMETERVALUE_TAGVALUEEMPTY = "InvalidParameterValue.TagValueEmpty" INVALIDPARAMETERVALUE_TAGVALUELENGTHEXCEEDED = "InvalidParameterValue.TagValueLengthExceeded" LIMITEXCEEDED_RESOURCENUMPERREQUEST = "LimitExceeded.ResourceNumPerRequest" LIMITEXCEEDED_TAGNUMPERREQUEST = "LimitExceeded.TagNumPerRequest" LIMITEXCEEDED_TAGVALUE = "LimitExceeded.TagValue"
func (*Client) UnTagResources ¶
func (c *Client) UnTagResources(request *UnTagResourcesRequest) (response *UnTagResourcesResponse, err error)
UnTagResources This API is used to unbind a tag uniformly from multiple specified resources of multiple Tencent Cloud services.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCETAGPROCESSING = "FailedOperation.ResourceTagProcessing" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_RESERVEDTAGKEY = "InvalidParameter.ReservedTagKey" INVALIDPARAMETER_TAG = "InvalidParameter.Tag" INVALIDPARAMETERVALUE_RESOURCEDESCRIPTIONERROR = "InvalidParameterValue.ResourceDescriptionError" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" INVALIDPARAMETERVALUE_TAGKEYDUPLICATE = "InvalidParameterValue.TagKeyDuplicate" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" INVALIDPARAMETERVALUE_TAGKEYLENGTHEXCEEDED = "InvalidParameterValue.TagKeyLengthExceeded" INVALIDPARAMETERVALUE_TAGVALUECHARACTERILLEGAL = "InvalidParameterValue.TagValueCharacterIllegal" LIMITEXCEEDED_RESOURCENUMPERREQUEST = "LimitExceeded.ResourceNumPerRequest" LIMITEXCEEDED_TAGNUMPERREQUEST = "LimitExceeded.TagNumPerRequest"
func (*Client) UnTagResourcesWithContext ¶
func (c *Client) UnTagResourcesWithContext(ctx context.Context, request *UnTagResourcesRequest) (response *UnTagResourcesResponse, err error)
UnTagResources This API is used to unbind a tag uniformly from multiple specified resources of multiple Tencent Cloud services.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCETAGPROCESSING = "FailedOperation.ResourceTagProcessing" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_RESERVEDTAGKEY = "InvalidParameter.ReservedTagKey" INVALIDPARAMETER_TAG = "InvalidParameter.Tag" INVALIDPARAMETERVALUE_RESOURCEDESCRIPTIONERROR = "InvalidParameterValue.ResourceDescriptionError" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" INVALIDPARAMETERVALUE_TAGKEYDUPLICATE = "InvalidParameterValue.TagKeyDuplicate" INVALIDPARAMETERVALUE_TAGKEYEMPTY = "InvalidParameterValue.TagKeyEmpty" INVALIDPARAMETERVALUE_TAGKEYLENGTHEXCEEDED = "InvalidParameterValue.TagKeyLengthExceeded" INVALIDPARAMETERVALUE_TAGVALUECHARACTERILLEGAL = "InvalidParameterValue.TagValueCharacterIllegal" LIMITEXCEEDED_RESOURCENUMPERREQUEST = "LimitExceeded.ResourceNumPerRequest" LIMITEXCEEDED_TAGNUMPERREQUEST = "LimitExceeded.TagNumPerRequest"
func (*Client) UpdateResourceTagValue ¶
func (c *Client) UpdateResourceTagValue(request *UpdateResourceTagValueRequest) (response *UpdateResourceTagValueResponse, err error)
UpdateResourceTagValue This API is used to modify the values of tags associated with a resource (the tag key does not change).
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_RESERVEDTAGKEY = "InvalidParameter.ReservedTagKey" INVALIDPARAMETERVALUE_RESOURCEDESCRIPTIONERROR = "InvalidParameterValue.ResourceDescriptionError" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" INVALIDPARAMETERVALUE_TAGVALUECHARACTERILLEGAL = "InvalidParameterValue.TagValueCharacterIllegal" INVALIDPARAMETERVALUE_TAGVALUELENGTHEXCEEDED = "InvalidParameterValue.TagValueLengthExceeded" LIMITEXCEEDED_TAGVALUE = "LimitExceeded.TagValue" RESOURCENOTFOUND_ATTACHEDTAGKEYNOTFOUND = "ResourceNotFound.AttachedTagKeyNotFound"
func (*Client) UpdateResourceTagValueWithContext ¶
func (c *Client) UpdateResourceTagValueWithContext(ctx context.Context, request *UpdateResourceTagValueRequest) (response *UpdateResourceTagValueResponse, err error)
UpdateResourceTagValue This API is used to modify the values of tags associated with a resource (the tag key does not change).
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_RESERVEDTAGKEY = "InvalidParameter.ReservedTagKey" INVALIDPARAMETERVALUE_RESOURCEDESCRIPTIONERROR = "InvalidParameterValue.ResourceDescriptionError" INVALIDPARAMETERVALUE_TAGKEYCHARACTERILLEGAL = "InvalidParameterValue.TagKeyCharacterIllegal" INVALIDPARAMETERVALUE_TAGVALUECHARACTERILLEGAL = "InvalidParameterValue.TagValueCharacterIllegal" INVALIDPARAMETERVALUE_TAGVALUELENGTHEXCEEDED = "InvalidParameterValue.TagValueLengthExceeded" LIMITEXCEEDED_TAGVALUE = "LimitExceeded.TagValue" RESOURCENOTFOUND_ATTACHEDTAGKEYNOTFOUND = "ResourceNotFound.AttachedTagKeyNotFound"
type CreateTagRequest ¶
type CreateTagRequest struct { *tchttp.BaseRequest // Tag key. TagKey *string `json:"TagKey,omitnil" name:"TagKey"` // Tag value. TagValue *string `json:"TagValue,omitnil" name:"TagValue"` }
func NewCreateTagRequest ¶
func NewCreateTagRequest() (request *CreateTagRequest)
func (*CreateTagRequest) FromJsonString ¶
func (r *CreateTagRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateTagRequest) ToJsonString ¶
func (r *CreateTagRequest) ToJsonString() string
type CreateTagRequestParams ¶
type CreateTagRequestParams struct { // Tag key. TagKey *string `json:"TagKey,omitnil" name:"TagKey"` // Tag value. TagValue *string `json:"TagValue,omitnil" name:"TagValue"` }
Predefined struct for user
type CreateTagResponse ¶
type CreateTagResponse struct { *tchttp.BaseResponse Response *CreateTagResponseParams `json:"Response"` }
func NewCreateTagResponse ¶
func NewCreateTagResponse() (response *CreateTagResponse)
func (*CreateTagResponse) FromJsonString ¶
func (r *CreateTagResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateTagResponse) ToJsonString ¶
func (r *CreateTagResponse) ToJsonString() string
type CreateTagResponseParams ¶
type CreateTagResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateTagsRequest ¶
type CreateTagsRequest struct { *tchttp.BaseRequest // Tag list. // Value range of N: 0–9 Tags []*Tag `json:"Tags,omitnil" name:"Tags"` }
func NewCreateTagsRequest ¶
func NewCreateTagsRequest() (request *CreateTagsRequest)
func (*CreateTagsRequest) FromJsonString ¶
func (r *CreateTagsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateTagsRequest) ToJsonString ¶
func (r *CreateTagsRequest) ToJsonString() string
type CreateTagsRequestParams ¶
type CreateTagsRequestParams struct { // Tag list. // Value range of N: 0–9 Tags []*Tag `json:"Tags,omitnil" name:"Tags"` }
Predefined struct for user
type CreateTagsResponse ¶
type CreateTagsResponse struct { *tchttp.BaseResponse Response *CreateTagsResponseParams `json:"Response"` }
func NewCreateTagsResponse ¶
func NewCreateTagsResponse() (response *CreateTagsResponse)
func (*CreateTagsResponse) FromJsonString ¶
func (r *CreateTagsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateTagsResponse) ToJsonString ¶
func (r *CreateTagsResponse) ToJsonString() string
type CreateTagsResponseParams ¶
type CreateTagsResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteResourceTagRequest ¶
type DeleteResourceTagRequest struct { *tchttp.BaseRequest // Tag key. TagKey *string `json:"TagKey,omitnil" name:"TagKey"` // [Six-segment resource description](https://intl.cloud.tencent.com/document/product/598/10606?from_cn_redirect=1) Resource *string `json:"Resource,omitnil" name:"Resource"` }
func NewDeleteResourceTagRequest ¶
func NewDeleteResourceTagRequest() (request *DeleteResourceTagRequest)
func (*DeleteResourceTagRequest) FromJsonString ¶
func (r *DeleteResourceTagRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteResourceTagRequest) ToJsonString ¶
func (r *DeleteResourceTagRequest) ToJsonString() string
type DeleteResourceTagRequestParams ¶
type DeleteResourceTagRequestParams struct { // Tag key. TagKey *string `json:"TagKey,omitnil" name:"TagKey"` // [Six-segment resource description](https://intl.cloud.tencent.com/document/product/598/10606?from_cn_redirect=1) Resource *string `json:"Resource,omitnil" name:"Resource"` }
Predefined struct for user
type DeleteResourceTagResponse ¶
type DeleteResourceTagResponse struct { *tchttp.BaseResponse Response *DeleteResourceTagResponseParams `json:"Response"` }
func NewDeleteResourceTagResponse ¶
func NewDeleteResourceTagResponse() (response *DeleteResourceTagResponse)
func (*DeleteResourceTagResponse) FromJsonString ¶
func (r *DeleteResourceTagResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteResourceTagResponse) ToJsonString ¶
func (r *DeleteResourceTagResponse) ToJsonString() string
type DeleteResourceTagResponseParams ¶
type DeleteResourceTagResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteTagRequest ¶
type DeleteTagRequest struct { *tchttp.BaseRequest // The tag key to be deleted. TagKey *string `json:"TagKey,omitnil" name:"TagKey"` // The tag value to be deleted. TagValue *string `json:"TagValue,omitnil" name:"TagValue"` }
func NewDeleteTagRequest ¶
func NewDeleteTagRequest() (request *DeleteTagRequest)
func (*DeleteTagRequest) FromJsonString ¶
func (r *DeleteTagRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteTagRequest) ToJsonString ¶
func (r *DeleteTagRequest) ToJsonString() string
type DeleteTagRequestParams ¶
type DeleteTagRequestParams struct { // The tag key to be deleted. TagKey *string `json:"TagKey,omitnil" name:"TagKey"` // The tag value to be deleted. TagValue *string `json:"TagValue,omitnil" name:"TagValue"` }
Predefined struct for user
type DeleteTagResponse ¶
type DeleteTagResponse struct { *tchttp.BaseResponse Response *DeleteTagResponseParams `json:"Response"` }
func NewDeleteTagResponse ¶
func NewDeleteTagResponse() (response *DeleteTagResponse)
func (*DeleteTagResponse) FromJsonString ¶
func (r *DeleteTagResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteTagResponse) ToJsonString ¶
func (r *DeleteTagResponse) ToJsonString() string
type DeleteTagResponseParams ¶
type DeleteTagResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteTagsRequest ¶
type DeleteTagsRequest struct { *tchttp.BaseRequest // Tag list. // Value range of N: 0–9 Tags []*Tag `json:"Tags,omitnil" name:"Tags"` }
func NewDeleteTagsRequest ¶
func NewDeleteTagsRequest() (request *DeleteTagsRequest)
func (*DeleteTagsRequest) FromJsonString ¶
func (r *DeleteTagsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteTagsRequest) ToJsonString ¶
func (r *DeleteTagsRequest) ToJsonString() string
type DeleteTagsRequestParams ¶
type DeleteTagsRequestParams struct { // Tag list. // Value range of N: 0–9 Tags []*Tag `json:"Tags,omitnil" name:"Tags"` }
Predefined struct for user
type DeleteTagsResponse ¶
type DeleteTagsResponse struct { *tchttp.BaseResponse Response *DeleteTagsResponseParams `json:"Response"` }
func NewDeleteTagsResponse ¶
func NewDeleteTagsResponse() (response *DeleteTagsResponse)
func (*DeleteTagsResponse) FromJsonString ¶
func (r *DeleteTagsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteTagsResponse) ToJsonString ¶
func (r *DeleteTagsResponse) ToJsonString() string
type DeleteTagsResponseParams ¶
type DeleteTagsResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeProjectsRequest ¶
type DescribeProjectsRequest struct { *tchttp.BaseRequest // If this parameter is 1, all projects (including hidden ones) will be queried. If it is 0, only non-hidden projects will be queried. AllList *uint64 `json:"AllList,omitnil" name:"AllList"` // Number of entries per page. Fixed value: 1,000. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Pagination offset. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` }
func NewDescribeProjectsRequest ¶
func NewDescribeProjectsRequest() (request *DescribeProjectsRequest)
func (*DescribeProjectsRequest) FromJsonString ¶
func (r *DescribeProjectsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProjectsRequest) ToJsonString ¶
func (r *DescribeProjectsRequest) ToJsonString() string
type DescribeProjectsRequestParams ¶
type DescribeProjectsRequestParams struct { // If this parameter is 1, all projects (including hidden ones) will be queried. If it is 0, only non-hidden projects will be queried. AllList *uint64 `json:"AllList,omitnil" name:"AllList"` // Number of entries per page. Fixed value: 1,000. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Pagination offset. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` }
Predefined struct for user
type DescribeProjectsResponse ¶
type DescribeProjectsResponse struct { *tchttp.BaseResponse Response *DescribeProjectsResponseParams `json:"Response"` }
func NewDescribeProjectsResponse ¶
func NewDescribeProjectsResponse() (response *DescribeProjectsResponse)
func (*DescribeProjectsResponse) FromJsonString ¶
func (r *DescribeProjectsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProjectsResponse) ToJsonString ¶
func (r *DescribeProjectsResponse) ToJsonString() string
type DescribeProjectsResponseParams ¶
type DescribeProjectsResponseParams struct { // Total number of data entries. Total *uint64 `json:"Total,omitnil" name:"Total"` // Project list. Projects []*Project `json:"Projects,omitnil" name:"Projects"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeResourceTagsByResourceIdsRequest ¶
type DescribeResourceTagsByResourceIdsRequest struct { *tchttp.BaseRequest // Service type. ServiceType *string `json:"ServiceType,omitnil" name:"ServiceType"` // Resource prefix. ResourcePrefix *string `json:"ResourcePrefix,omitnil" name:"ResourcePrefix"` // Array of resource IDs (up to 50) ResourceIds []*string `json:"ResourceIds,omitnil" name:"ResourceIds"` // The resource's region. ResourceRegion *string `json:"ResourceRegion,omitnil" name:"ResourceRegion"` // Data offset. The default value is 0. Must be an integral multiple of the `Limit` parameter. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Page size. The default value is 0. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Tag type. Valid values: Custom: custom tag; System: system tag; All: all tags. Default value: All. Category *string `json:"Category,omitnil" name:"Category"` }
func NewDescribeResourceTagsByResourceIdsRequest ¶
func NewDescribeResourceTagsByResourceIdsRequest() (request *DescribeResourceTagsByResourceIdsRequest)
func (*DescribeResourceTagsByResourceIdsRequest) FromJsonString ¶
func (r *DescribeResourceTagsByResourceIdsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeResourceTagsByResourceIdsRequest) ToJsonString ¶
func (r *DescribeResourceTagsByResourceIdsRequest) ToJsonString() string
type DescribeResourceTagsByResourceIdsRequestParams ¶
type DescribeResourceTagsByResourceIdsRequestParams struct { // Service type. ServiceType *string `json:"ServiceType,omitnil" name:"ServiceType"` // Resource prefix. ResourcePrefix *string `json:"ResourcePrefix,omitnil" name:"ResourcePrefix"` // Array of resource IDs (up to 50) ResourceIds []*string `json:"ResourceIds,omitnil" name:"ResourceIds"` // The resource's region. ResourceRegion *string `json:"ResourceRegion,omitnil" name:"ResourceRegion"` // Data offset. The default value is 0. Must be an integral multiple of the `Limit` parameter. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Page size. The default value is 0. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Tag type. Valid values: Custom: custom tag; System: system tag; All: all tags. Default value: All. Category *string `json:"Category,omitnil" name:"Category"` }
Predefined struct for user
type DescribeResourceTagsByResourceIdsResponse ¶
type DescribeResourceTagsByResourceIdsResponse struct { *tchttp.BaseResponse Response *DescribeResourceTagsByResourceIdsResponseParams `json:"Response"` }
func NewDescribeResourceTagsByResourceIdsResponse ¶
func NewDescribeResourceTagsByResourceIdsResponse() (response *DescribeResourceTagsByResourceIdsResponse)
func (*DescribeResourceTagsByResourceIdsResponse) FromJsonString ¶
func (r *DescribeResourceTagsByResourceIdsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeResourceTagsByResourceIdsResponse) ToJsonString ¶
func (r *DescribeResourceTagsByResourceIdsResponse) ToJsonString() string
type DescribeResourceTagsByResourceIdsResponseParams ¶
type DescribeResourceTagsByResourceIdsResponseParams struct { // Total number of results. TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // Data offset. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Page size. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Tag list. Tags []*TagResource `json:"Tags,omitnil" name:"Tags"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeResourceTagsByResourceIdsSeqRequest ¶
type DescribeResourceTagsByResourceIdsSeqRequest struct { *tchttp.BaseRequest // Service type ServiceType *string `json:"ServiceType,omitnil" name:"ServiceType"` // Resource prefix ResourcePrefix *string `json:"ResourcePrefix,omitnil" name:"ResourcePrefix"` // Unique resource ID ResourceIds []*string `json:"ResourceIds,omitnil" name:"ResourceIds"` // Resource region ResourceRegion *string `json:"ResourceRegion,omitnil" name:"ResourceRegion"` // Data offset. Default value: 0. It must be an integer multiple of the `Limit` parameter Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Number of entries per page. Default value: 15 Limit *uint64 `json:"Limit,omitnil" name:"Limit"` }
func NewDescribeResourceTagsByResourceIdsSeqRequest ¶
func NewDescribeResourceTagsByResourceIdsSeqRequest() (request *DescribeResourceTagsByResourceIdsSeqRequest)
func (*DescribeResourceTagsByResourceIdsSeqRequest) FromJsonString ¶
func (r *DescribeResourceTagsByResourceIdsSeqRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeResourceTagsByResourceIdsSeqRequest) ToJsonString ¶
func (r *DescribeResourceTagsByResourceIdsSeqRequest) ToJsonString() string
type DescribeResourceTagsByResourceIdsSeqRequestParams ¶
type DescribeResourceTagsByResourceIdsSeqRequestParams struct { // Service type ServiceType *string `json:"ServiceType,omitnil" name:"ServiceType"` // Resource prefix ResourcePrefix *string `json:"ResourcePrefix,omitnil" name:"ResourcePrefix"` // Unique resource ID ResourceIds []*string `json:"ResourceIds,omitnil" name:"ResourceIds"` // Resource region ResourceRegion *string `json:"ResourceRegion,omitnil" name:"ResourceRegion"` // Data offset. Default value: 0. It must be an integer multiple of the `Limit` parameter Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Number of entries per page. Default value: 15 Limit *uint64 `json:"Limit,omitnil" name:"Limit"` }
Predefined struct for user
type DescribeResourceTagsByResourceIdsSeqResponse ¶
type DescribeResourceTagsByResourceIdsSeqResponse struct { *tchttp.BaseResponse Response *DescribeResourceTagsByResourceIdsSeqResponseParams `json:"Response"` }
func NewDescribeResourceTagsByResourceIdsSeqResponse ¶
func NewDescribeResourceTagsByResourceIdsSeqResponse() (response *DescribeResourceTagsByResourceIdsSeqResponse)
func (*DescribeResourceTagsByResourceIdsSeqResponse) FromJsonString ¶
func (r *DescribeResourceTagsByResourceIdsSeqResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeResourceTagsByResourceIdsSeqResponse) ToJsonString ¶
func (r *DescribeResourceTagsByResourceIdsSeqResponse) ToJsonString() string
type DescribeResourceTagsByResourceIdsSeqResponseParams ¶
type DescribeResourceTagsByResourceIdsSeqResponseParams struct { // Total number of results TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // Data offset Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Number of entries per page Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Tag list Tags []*TagResource `json:"Tags,omitnil" name:"Tags"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeResourceTagsByTagKeysRequest ¶
type DescribeResourceTagsByTagKeysRequest struct { *tchttp.BaseRequest // Service type ServiceType *string `json:"ServiceType,omitnil" name:"ServiceType"` // Resource prefix ResourcePrefix *string `json:"ResourcePrefix,omitnil" name:"ResourcePrefix"` // Resource region ResourceRegion *string `json:"ResourceRegion,omitnil" name:"ResourceRegion"` // List of unique resource IDs, which can contain no more than 20 IDs. ResourceIds []*string `json:"ResourceIds,omitnil" name:"ResourceIds"` // List of resource tag keys, which can contain no more than 20 keys. TagKeys []*string `json:"TagKeys,omitnil" name:"TagKeys"` // Number of entries per page. Default value: 400 Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Data offset. Default value: 0. It must be an integer multiple of the `Limit` parameter Offset *uint64 `json:"Offset,omitnil" name:"Offset"` }
func NewDescribeResourceTagsByTagKeysRequest ¶
func NewDescribeResourceTagsByTagKeysRequest() (request *DescribeResourceTagsByTagKeysRequest)
func (*DescribeResourceTagsByTagKeysRequest) FromJsonString ¶
func (r *DescribeResourceTagsByTagKeysRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeResourceTagsByTagKeysRequest) ToJsonString ¶
func (r *DescribeResourceTagsByTagKeysRequest) ToJsonString() string
type DescribeResourceTagsByTagKeysRequestParams ¶
type DescribeResourceTagsByTagKeysRequestParams struct { // Service type ServiceType *string `json:"ServiceType,omitnil" name:"ServiceType"` // Resource prefix ResourcePrefix *string `json:"ResourcePrefix,omitnil" name:"ResourcePrefix"` // Resource region ResourceRegion *string `json:"ResourceRegion,omitnil" name:"ResourceRegion"` // List of unique resource IDs, which can contain no more than 20 IDs. ResourceIds []*string `json:"ResourceIds,omitnil" name:"ResourceIds"` // List of resource tag keys, which can contain no more than 20 keys. TagKeys []*string `json:"TagKeys,omitnil" name:"TagKeys"` // Number of entries per page. Default value: 400 Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Data offset. Default value: 0. It must be an integer multiple of the `Limit` parameter Offset *uint64 `json:"Offset,omitnil" name:"Offset"` }
Predefined struct for user
type DescribeResourceTagsByTagKeysResponse ¶
type DescribeResourceTagsByTagKeysResponse struct { *tchttp.BaseResponse Response *DescribeResourceTagsByTagKeysResponseParams `json:"Response"` }
func NewDescribeResourceTagsByTagKeysResponse ¶
func NewDescribeResourceTagsByTagKeysResponse() (response *DescribeResourceTagsByTagKeysResponse)
func (*DescribeResourceTagsByTagKeysResponse) FromJsonString ¶
func (r *DescribeResourceTagsByTagKeysResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeResourceTagsByTagKeysResponse) ToJsonString ¶
func (r *DescribeResourceTagsByTagKeysResponse) ToJsonString() string
type DescribeResourceTagsByTagKeysResponseParams ¶
type DescribeResourceTagsByTagKeysResponseParams struct { // Total number of results TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // Data offset Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Number of entries per page Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Resource tag Rows []*ResourceIdTag `json:"Rows,omitnil" name:"Rows"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeResourceTagsRequest ¶
type DescribeResourceTagsRequest struct { *tchttp.BaseRequest // Creator `uin` CreateUin *uint64 `json:"CreateUin,omitnil" name:"CreateUin"` // Resource region. ResourceRegion *string `json:"ResourceRegion,omitnil" name:"ResourceRegion"` // Service type. ServiceType *string `json:"ServiceType,omitnil" name:"ServiceType"` // Resource prefix ResourcePrefix *string `json:"ResourcePrefix,omitnil" name:"ResourcePrefix"` // Unique resource ID. Queries with `ResourceId` only may be slow or fail to return results. We recommend you also enter `ServiceType`, `ResourcePrefix`, and `ResourceRegion` (which can be ignored for resources that don't have the region attribute) when entering `ResourceId`. ResourceId *string `json:"ResourceId,omitnil" name:"ResourceId"` // Data offset. Default value: 0. It must be an integer multiple of the `Limit` parameter Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Number of entries per page. Default value: 15 Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Whether it is a COS resource (0 or 1). This parameter is required when the entered `ResourceId` is a COS resource. CosResourceId *uint64 `json:"CosResourceId,omitnil" name:"CosResourceId"` }
func NewDescribeResourceTagsRequest ¶
func NewDescribeResourceTagsRequest() (request *DescribeResourceTagsRequest)
func (*DescribeResourceTagsRequest) FromJsonString ¶
func (r *DescribeResourceTagsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeResourceTagsRequest) ToJsonString ¶
func (r *DescribeResourceTagsRequest) ToJsonString() string
type DescribeResourceTagsRequestParams ¶
type DescribeResourceTagsRequestParams struct { // Creator `uin` CreateUin *uint64 `json:"CreateUin,omitnil" name:"CreateUin"` // Resource region. ResourceRegion *string `json:"ResourceRegion,omitnil" name:"ResourceRegion"` // Service type. ServiceType *string `json:"ServiceType,omitnil" name:"ServiceType"` // Resource prefix ResourcePrefix *string `json:"ResourcePrefix,omitnil" name:"ResourcePrefix"` // Unique resource ID. Queries with `ResourceId` only may be slow or fail to return results. We recommend you also enter `ServiceType`, `ResourcePrefix`, and `ResourceRegion` (which can be ignored for resources that don't have the region attribute) when entering `ResourceId`. ResourceId *string `json:"ResourceId,omitnil" name:"ResourceId"` // Data offset. Default value: 0. It must be an integer multiple of the `Limit` parameter Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Number of entries per page. Default value: 15 Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Whether it is a COS resource (0 or 1). This parameter is required when the entered `ResourceId` is a COS resource. CosResourceId *uint64 `json:"CosResourceId,omitnil" name:"CosResourceId"` }
Predefined struct for user
type DescribeResourceTagsResponse ¶
type DescribeResourceTagsResponse struct { *tchttp.BaseResponse Response *DescribeResourceTagsResponseParams `json:"Response"` }
func NewDescribeResourceTagsResponse ¶
func NewDescribeResourceTagsResponse() (response *DescribeResourceTagsResponse)
func (*DescribeResourceTagsResponse) FromJsonString ¶
func (r *DescribeResourceTagsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeResourceTagsResponse) ToJsonString ¶
func (r *DescribeResourceTagsResponse) ToJsonString() string
type DescribeResourceTagsResponseParams ¶
type DescribeResourceTagsResponseParams struct { // Total number of results TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // Data offset. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Number of entries per page. // Note: this field may return null, indicating that no valid values can be obtained. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Resource tag Rows []*TagResource `json:"Rows,omitnil" name:"Rows"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeResourcesByTagsRequest ¶
type DescribeResourcesByTagsRequest struct { *tchttp.BaseRequest // Tag filtering arrays. TagFilters []*TagFilter `json:"TagFilters,omitnil" name:"TagFilters"` // Tag creator uin. CreateUin *uint64 `json:"CreateUin,omitnil" name:"CreateUin"` // Data offset. The default value is 0. Must be an integral multiple of the `Limit` parameter. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Page size. The default value is 15. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Resource prefix. ResourcePrefix *string `json:"ResourcePrefix,omitnil" name:"ResourcePrefix"` // Unique resource ID. ResourceId *string `json:"ResourceId,omitnil" name:"ResourceId"` // The resource's region. ResourceRegion *string `json:"ResourceRegion,omitnil" name:"ResourceRegion"` // Service type. ServiceType *string `json:"ServiceType,omitnil" name:"ServiceType"` }
func NewDescribeResourcesByTagsRequest ¶
func NewDescribeResourcesByTagsRequest() (request *DescribeResourcesByTagsRequest)
func (*DescribeResourcesByTagsRequest) FromJsonString ¶
func (r *DescribeResourcesByTagsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeResourcesByTagsRequest) ToJsonString ¶
func (r *DescribeResourcesByTagsRequest) ToJsonString() string
type DescribeResourcesByTagsRequestParams ¶
type DescribeResourcesByTagsRequestParams struct { // Tag filtering arrays. TagFilters []*TagFilter `json:"TagFilters,omitnil" name:"TagFilters"` // Tag creator uin. CreateUin *uint64 `json:"CreateUin,omitnil" name:"CreateUin"` // Data offset. The default value is 0. Must be an integral multiple of the `Limit` parameter. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Page size. The default value is 15. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Resource prefix. ResourcePrefix *string `json:"ResourcePrefix,omitnil" name:"ResourcePrefix"` // Unique resource ID. ResourceId *string `json:"ResourceId,omitnil" name:"ResourceId"` // The resource's region. ResourceRegion *string `json:"ResourceRegion,omitnil" name:"ResourceRegion"` // Service type. ServiceType *string `json:"ServiceType,omitnil" name:"ServiceType"` }
Predefined struct for user
type DescribeResourcesByTagsResponse ¶
type DescribeResourcesByTagsResponse struct { *tchttp.BaseResponse Response *DescribeResourcesByTagsResponseParams `json:"Response"` }
func NewDescribeResourcesByTagsResponse ¶
func NewDescribeResourcesByTagsResponse() (response *DescribeResourcesByTagsResponse)
func (*DescribeResourcesByTagsResponse) FromJsonString ¶
func (r *DescribeResourcesByTagsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeResourcesByTagsResponse) ToJsonString ¶
func (r *DescribeResourcesByTagsResponse) ToJsonString() string
type DescribeResourcesByTagsResponseParams ¶
type DescribeResourcesByTagsResponseParams struct { // Total number of results. TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // Data offset. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Number of entries per page. // Note: This field may return null, indicating that no valid value is found. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Resource tag. Rows []*ResourceTag `json:"Rows,omitnil" name:"Rows"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeResourcesByTagsUnionRequest ¶
type DescribeResourcesByTagsUnionRequest struct { *tchttp.BaseRequest // Tag filtering arrays. TagFilters []*TagFilter `json:"TagFilters,omitnil" name:"TagFilters"` // Tag creator uin. CreateUin *uint64 `json:"CreateUin,omitnil" name:"CreateUin"` // Data offset. The default value is 0. Must be an integral multiple of the `Limit` parameter. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Page size. The default value is 15. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Resource prefix. ResourcePrefix *string `json:"ResourcePrefix,omitnil" name:"ResourcePrefix"` // Unique resource ID. ResourceId *string `json:"ResourceId,omitnil" name:"ResourceId"` // The resource’s region. ResourceRegion *string `json:"ResourceRegion,omitnil" name:"ResourceRegion"` // Service type ServiceType *string `json:"ServiceType,omitnil" name:"ServiceType"` }
func NewDescribeResourcesByTagsUnionRequest ¶
func NewDescribeResourcesByTagsUnionRequest() (request *DescribeResourcesByTagsUnionRequest)
func (*DescribeResourcesByTagsUnionRequest) FromJsonString ¶
func (r *DescribeResourcesByTagsUnionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeResourcesByTagsUnionRequest) ToJsonString ¶
func (r *DescribeResourcesByTagsUnionRequest) ToJsonString() string
type DescribeResourcesByTagsUnionRequestParams ¶
type DescribeResourcesByTagsUnionRequestParams struct { // Tag filtering arrays. TagFilters []*TagFilter `json:"TagFilters,omitnil" name:"TagFilters"` // Tag creator uin. CreateUin *uint64 `json:"CreateUin,omitnil" name:"CreateUin"` // Data offset. The default value is 0. Must be an integral multiple of the `Limit` parameter. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Page size. The default value is 15. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Resource prefix. ResourcePrefix *string `json:"ResourcePrefix,omitnil" name:"ResourcePrefix"` // Unique resource ID. ResourceId *string `json:"ResourceId,omitnil" name:"ResourceId"` // The resource’s region. ResourceRegion *string `json:"ResourceRegion,omitnil" name:"ResourceRegion"` // Service type ServiceType *string `json:"ServiceType,omitnil" name:"ServiceType"` }
Predefined struct for user
type DescribeResourcesByTagsUnionResponse ¶
type DescribeResourcesByTagsUnionResponse struct { *tchttp.BaseResponse Response *DescribeResourcesByTagsUnionResponseParams `json:"Response"` }
func NewDescribeResourcesByTagsUnionResponse ¶
func NewDescribeResourcesByTagsUnionResponse() (response *DescribeResourcesByTagsUnionResponse)
func (*DescribeResourcesByTagsUnionResponse) FromJsonString ¶
func (r *DescribeResourcesByTagsUnionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeResourcesByTagsUnionResponse) ToJsonString ¶
func (r *DescribeResourcesByTagsUnionResponse) ToJsonString() string
type DescribeResourcesByTagsUnionResponseParams ¶
type DescribeResourcesByTagsUnionResponseParams struct { // Total number of results. TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // Data offset. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // The size of each page. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Resource tag. Rows []*ResourceTag `json:"Rows,omitnil" name:"Rows"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeTagKeysRequest ¶
type DescribeTagKeysRequest struct { *tchttp.BaseRequest // Creator `Uin`. If not specified, `Uin` is only used as the query condition. CreateUin *uint64 `json:"CreateUin,omitnil" name:"CreateUin"` // Data offset. The default value is 0. Must be an integral multiple of the `Limit` parameter. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Number of entries per page. Default: 15; maximum: 1,000. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Whether to show project ShowProject *uint64 `json:"ShowProject,omitnil" name:"ShowProject"` // Tag type. Valid values: Custom: custom tag; System: system tag; All: all tags. Default value: All. Category *string `json:"Category,omitnil" name:"Category"` }
func NewDescribeTagKeysRequest ¶
func NewDescribeTagKeysRequest() (request *DescribeTagKeysRequest)
func (*DescribeTagKeysRequest) FromJsonString ¶
func (r *DescribeTagKeysRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTagKeysRequest) ToJsonString ¶
func (r *DescribeTagKeysRequest) ToJsonString() string
type DescribeTagKeysRequestParams ¶
type DescribeTagKeysRequestParams struct { // Creator `Uin`. If not specified, `Uin` is only used as the query condition. CreateUin *uint64 `json:"CreateUin,omitnil" name:"CreateUin"` // Data offset. The default value is 0. Must be an integral multiple of the `Limit` parameter. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Number of entries per page. Default: 15; maximum: 1,000. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Whether to show project ShowProject *uint64 `json:"ShowProject,omitnil" name:"ShowProject"` // Tag type. Valid values: Custom: custom tag; System: system tag; All: all tags. Default value: All. Category *string `json:"Category,omitnil" name:"Category"` }
Predefined struct for user
type DescribeTagKeysResponse ¶
type DescribeTagKeysResponse struct { *tchttp.BaseResponse Response *DescribeTagKeysResponseParams `json:"Response"` }
func NewDescribeTagKeysResponse ¶
func NewDescribeTagKeysResponse() (response *DescribeTagKeysResponse)
func (*DescribeTagKeysResponse) FromJsonString ¶
func (r *DescribeTagKeysResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTagKeysResponse) ToJsonString ¶
func (r *DescribeTagKeysResponse) ToJsonString() string
type DescribeTagKeysResponseParams ¶
type DescribeTagKeysResponseParams struct { // Total number of results. TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // Data offset. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Page size. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Tag list. Tags []*string `json:"Tags,omitnil" name:"Tags"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeTagValuesRequest ¶
type DescribeTagValuesRequest struct { *tchttp.BaseRequest // Tag key list. TagKeys []*string `json:"TagKeys,omitnil" name:"TagKeys"` // Creator `Uin`. If not specified, `Uin` is only used as the query condition. CreateUin *uint64 `json:"CreateUin,omitnil" name:"CreateUin"` // Data offset. The default value is 0. Must be an integral multiple of the `Limit` parameter. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Page size. The default value is 0. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Tag type. Valid values: Custom: custom tag; System: system tag; All: all tags. Default value: All. Category *string `json:"Category,omitnil" name:"Category"` }
func NewDescribeTagValuesRequest ¶
func NewDescribeTagValuesRequest() (request *DescribeTagValuesRequest)
func (*DescribeTagValuesRequest) FromJsonString ¶
func (r *DescribeTagValuesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTagValuesRequest) ToJsonString ¶
func (r *DescribeTagValuesRequest) ToJsonString() string
type DescribeTagValuesRequestParams ¶
type DescribeTagValuesRequestParams struct { // Tag key list. TagKeys []*string `json:"TagKeys,omitnil" name:"TagKeys"` // Creator `Uin`. If not specified, `Uin` is only used as the query condition. CreateUin *uint64 `json:"CreateUin,omitnil" name:"CreateUin"` // Data offset. The default value is 0. Must be an integral multiple of the `Limit` parameter. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Page size. The default value is 0. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Tag type. Valid values: Custom: custom tag; System: system tag; All: all tags. Default value: All. Category *string `json:"Category,omitnil" name:"Category"` }
Predefined struct for user
type DescribeTagValuesResponse ¶
type DescribeTagValuesResponse struct { *tchttp.BaseResponse Response *DescribeTagValuesResponseParams `json:"Response"` }
func NewDescribeTagValuesResponse ¶
func NewDescribeTagValuesResponse() (response *DescribeTagValuesResponse)
func (*DescribeTagValuesResponse) FromJsonString ¶
func (r *DescribeTagValuesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTagValuesResponse) ToJsonString ¶
func (r *DescribeTagValuesResponse) ToJsonString() string
type DescribeTagValuesResponseParams ¶
type DescribeTagValuesResponseParams struct { // Total number of results. TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // Data offset. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Page size. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Tag list. Tags []*Tag `json:"Tags,omitnil" name:"Tags"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeTagValuesSeqRequest ¶
type DescribeTagValuesSeqRequest struct { *tchttp.BaseRequest // Tag key list TagKeys []*string `json:"TagKeys,omitnil" name:"TagKeys"` // Creator `Uin`. If this parameter is blank or left empty, only `Uin` will be used as a condition for query CreateUin *uint64 `json:"CreateUin,omitnil" name:"CreateUin"` // Data offset. Default value: 0. It must be an integer multiple of the `Limit` parameter Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Number of entries per page. Default value: 15 Limit *uint64 `json:"Limit,omitnil" name:"Limit"` }
func NewDescribeTagValuesSeqRequest ¶
func NewDescribeTagValuesSeqRequest() (request *DescribeTagValuesSeqRequest)
func (*DescribeTagValuesSeqRequest) FromJsonString ¶
func (r *DescribeTagValuesSeqRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTagValuesSeqRequest) ToJsonString ¶
func (r *DescribeTagValuesSeqRequest) ToJsonString() string
type DescribeTagValuesSeqRequestParams ¶
type DescribeTagValuesSeqRequestParams struct { // Tag key list TagKeys []*string `json:"TagKeys,omitnil" name:"TagKeys"` // Creator `Uin`. If this parameter is blank or left empty, only `Uin` will be used as a condition for query CreateUin *uint64 `json:"CreateUin,omitnil" name:"CreateUin"` // Data offset. Default value: 0. It must be an integer multiple of the `Limit` parameter Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Number of entries per page. Default value: 15 Limit *uint64 `json:"Limit,omitnil" name:"Limit"` }
Predefined struct for user
type DescribeTagValuesSeqResponse ¶
type DescribeTagValuesSeqResponse struct { *tchttp.BaseResponse Response *DescribeTagValuesSeqResponseParams `json:"Response"` }
func NewDescribeTagValuesSeqResponse ¶
func NewDescribeTagValuesSeqResponse() (response *DescribeTagValuesSeqResponse)
func (*DescribeTagValuesSeqResponse) FromJsonString ¶
func (r *DescribeTagValuesSeqResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTagValuesSeqResponse) ToJsonString ¶
func (r *DescribeTagValuesSeqResponse) ToJsonString() string
type DescribeTagValuesSeqResponseParams ¶
type DescribeTagValuesSeqResponseParams struct { // Total number of results TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // Data offset Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Number of entries per page Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Tag list Tags []*Tag `json:"Tags,omitnil" name:"Tags"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeTagsRequest ¶
type DescribeTagsRequest struct { *tchttp.BaseRequest // Tag key. Either exists or does not exist alongside the tag value. If it does not exist, all of the user's tags will be queried. TagKey *string `json:"TagKey,omitnil" name:"TagKey"` // Tag value. Either exists or does not exist alongside the tag key. If it does not exist, all of the user's tags will be queried. TagValue *string `json:"TagValue,omitnil" name:"TagValue"` // Data offset. The default value is 0. Must be an integral multiple of the `Limit` parameter. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Page size. The default value is 0. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Creator `Uin`. If not specified, `Uin` is only used as the query condition. CreateUin *uint64 `json:"CreateUin,omitnil" name:"CreateUin"` // Tag key array, which either exists or does not exist with the tag value. If it does not exist, all tags of the user will be queried. If it is passed in together with `TagKey`, it will be used and the `TagKey` will be ignored. TagKeys []*string `json:"TagKeys,omitnil" name:"TagKeys"` // Whether to show project tag ShowProject *uint64 `json:"ShowProject,omitnil" name:"ShowProject"` }
func NewDescribeTagsRequest ¶
func NewDescribeTagsRequest() (request *DescribeTagsRequest)
func (*DescribeTagsRequest) FromJsonString ¶
func (r *DescribeTagsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTagsRequest) ToJsonString ¶
func (r *DescribeTagsRequest) ToJsonString() string
type DescribeTagsRequestParams ¶
type DescribeTagsRequestParams struct { // Tag key. Either exists or does not exist alongside the tag value. If it does not exist, all of the user's tags will be queried. TagKey *string `json:"TagKey,omitnil" name:"TagKey"` // Tag value. Either exists or does not exist alongside the tag key. If it does not exist, all of the user's tags will be queried. TagValue *string `json:"TagValue,omitnil" name:"TagValue"` // Data offset. The default value is 0. Must be an integral multiple of the `Limit` parameter. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Page size. The default value is 0. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Creator `Uin`. If not specified, `Uin` is only used as the query condition. CreateUin *uint64 `json:"CreateUin,omitnil" name:"CreateUin"` // Tag key array, which either exists or does not exist with the tag value. If it does not exist, all tags of the user will be queried. If it is passed in together with `TagKey`, it will be used and the `TagKey` will be ignored. TagKeys []*string `json:"TagKeys,omitnil" name:"TagKeys"` // Whether to show project tag ShowProject *uint64 `json:"ShowProject,omitnil" name:"ShowProject"` }
Predefined struct for user
type DescribeTagsResponse ¶
type DescribeTagsResponse struct { *tchttp.BaseResponse Response *DescribeTagsResponseParams `json:"Response"` }
func NewDescribeTagsResponse ¶
func NewDescribeTagsResponse() (response *DescribeTagsResponse)
func (*DescribeTagsResponse) FromJsonString ¶
func (r *DescribeTagsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTagsResponse) ToJsonString ¶
func (r *DescribeTagsResponse) ToJsonString() string
type DescribeTagsResponseParams ¶
type DescribeTagsResponseParams struct { // Total number of results. TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // Data offset. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Page size. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Tag list. Tags []*TagWithDelete `json:"Tags,omitnil" name:"Tags"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeTagsSeqRequest ¶
type DescribeTagsSeqRequest struct { *tchttp.BaseRequest // Tag key, which either exists or does not exist with the tag value. If it does not exist, all tags of the user will be queried TagKey *string `json:"TagKey,omitnil" name:"TagKey"` // Tag value, which either exists or does not exist with the tag key. If it does not exist, all tags of the user will be queried TagValue *string `json:"TagValue,omitnil" name:"TagValue"` // Data offset. Default value: 0. It must be an integer multiple of the `Limit` parameter Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Number of entries per page. Default value: 15 Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Creator `Uin`. If this parameter is blank or left empty, only `Uin` will be used as a condition for query CreateUin *uint64 `json:"CreateUin,omitnil" name:"CreateUin"` // Tag key array, which either exists or does not exist with the tag value. If it does not exist, all tags of the user will be queried. If it is passed in together with `TagKey`, it will be used and the `TagKey` will be ignored. TagKeys []*string `json:"TagKeys,omitnil" name:"TagKeys"` // Whether to show project tag ShowProject *uint64 `json:"ShowProject,omitnil" name:"ShowProject"` }
func NewDescribeTagsSeqRequest ¶
func NewDescribeTagsSeqRequest() (request *DescribeTagsSeqRequest)
func (*DescribeTagsSeqRequest) FromJsonString ¶
func (r *DescribeTagsSeqRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTagsSeqRequest) ToJsonString ¶
func (r *DescribeTagsSeqRequest) ToJsonString() string
type DescribeTagsSeqRequestParams ¶
type DescribeTagsSeqRequestParams struct { // Tag key, which either exists or does not exist with the tag value. If it does not exist, all tags of the user will be queried TagKey *string `json:"TagKey,omitnil" name:"TagKey"` // Tag value, which either exists or does not exist with the tag key. If it does not exist, all tags of the user will be queried TagValue *string `json:"TagValue,omitnil" name:"TagValue"` // Data offset. Default value: 0. It must be an integer multiple of the `Limit` parameter Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Number of entries per page. Default value: 15 Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Creator `Uin`. If this parameter is blank or left empty, only `Uin` will be used as a condition for query CreateUin *uint64 `json:"CreateUin,omitnil" name:"CreateUin"` // Tag key array, which either exists or does not exist with the tag value. If it does not exist, all tags of the user will be queried. If it is passed in together with `TagKey`, it will be used and the `TagKey` will be ignored. TagKeys []*string `json:"TagKeys,omitnil" name:"TagKeys"` // Whether to show project tag ShowProject *uint64 `json:"ShowProject,omitnil" name:"ShowProject"` }
Predefined struct for user
type DescribeTagsSeqResponse ¶
type DescribeTagsSeqResponse struct { *tchttp.BaseResponse Response *DescribeTagsSeqResponseParams `json:"Response"` }
func NewDescribeTagsSeqResponse ¶
func NewDescribeTagsSeqResponse() (response *DescribeTagsSeqResponse)
func (*DescribeTagsSeqResponse) FromJsonString ¶
func (r *DescribeTagsSeqResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTagsSeqResponse) ToJsonString ¶
func (r *DescribeTagsSeqResponse) ToJsonString() string
type DescribeTagsSeqResponseParams ¶
type DescribeTagsSeqResponseParams struct { // Total number of results TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // Data offset Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Number of entries per page Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Tag list Tags []*TagWithDelete `json:"Tags,omitnil" name:"Tags"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DetachResourcesTagRequest ¶
type DetachResourcesTagRequest struct { *tchttp.BaseRequest // Resource service name (the third segment in the six-segment resource description) ServiceType *string `json:"ServiceType,omitnil" name:"ServiceType"` // Resource ID array, which can contain up to 50 resources ResourceIds []*string `json:"ResourceIds,omitnil" name:"ResourceIds"` // Tag key to be unbound TagKey *string `json:"TagKey,omitnil" name:"TagKey"` // Resource region. If resources have the region attribute, this field is required; otherwise, it is optional. ResourceRegion *string `json:"ResourceRegion,omitnil" name:"ResourceRegion"` // Resource prefix (the part before "/" in the last segment in the six-segment resource description), which is optional for COS buckets but required for other Tencent Cloud resources. ResourcePrefix *string `json:"ResourcePrefix,omitnil" name:"ResourcePrefix"` }
func NewDetachResourcesTagRequest ¶
func NewDetachResourcesTagRequest() (request *DetachResourcesTagRequest)
func (*DetachResourcesTagRequest) FromJsonString ¶
func (r *DetachResourcesTagRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DetachResourcesTagRequest) ToJsonString ¶
func (r *DetachResourcesTagRequest) ToJsonString() string
type DetachResourcesTagRequestParams ¶
type DetachResourcesTagRequestParams struct { // Resource service name (the third segment in the six-segment resource description) ServiceType *string `json:"ServiceType,omitnil" name:"ServiceType"` // Resource ID array, which can contain up to 50 resources ResourceIds []*string `json:"ResourceIds,omitnil" name:"ResourceIds"` // Tag key to be unbound TagKey *string `json:"TagKey,omitnil" name:"TagKey"` // Resource region. If resources have the region attribute, this field is required; otherwise, it is optional. ResourceRegion *string `json:"ResourceRegion,omitnil" name:"ResourceRegion"` // Resource prefix (the part before "/" in the last segment in the six-segment resource description), which is optional for COS buckets but required for other Tencent Cloud resources. ResourcePrefix *string `json:"ResourcePrefix,omitnil" name:"ResourcePrefix"` }
Predefined struct for user
type DetachResourcesTagResponse ¶
type DetachResourcesTagResponse struct { *tchttp.BaseResponse Response *DetachResourcesTagResponseParams `json:"Response"` }
func NewDetachResourcesTagResponse ¶
func NewDetachResourcesTagResponse() (response *DetachResourcesTagResponse)
func (*DetachResourcesTagResponse) FromJsonString ¶
func (r *DetachResourcesTagResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DetachResourcesTagResponse) ToJsonString ¶
func (r *DetachResourcesTagResponse) ToJsonString() string
type DetachResourcesTagResponseParams ¶
type DetachResourcesTagResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type FailedResource ¶
type GetResourcesRequest ¶
type GetResourcesRequest struct { *tchttp.BaseRequest // Six-segment resource description list. Tencent Cloud uses a six-segment value to describe a resource. // For example, ResourceList.1 = qcs::${ServiceType}:${Region}:${Account}:${ResourcePreifx}/${ResourceId}. // If this parameter is passed in, the list of all matching resources will be returned, and the specified `MaxResults` will become invalid. // Value range of N: 0–9 ResourceList []*string `json:"ResourceList,omitnil" name:"ResourceList"` // Tag key and value. // If multiple tags are specified, resources bound to all such tags will be queried. // Value range of N: 0–5 // There can be up to 10 `TagValues` in each `TagFilters`. TagFilters []*TagFilter `json:"TagFilters,omitnil" name:"TagFilters"` // The token value of the next page obtained from the response of the previous page. // Leave it empty for the first request. PaginationToken *string `json:"PaginationToken,omitnil" name:"PaginationToken"` // Number of data entries to return per page (up to 200). // Default value: 50. MaxResults *uint64 `json:"MaxResults,omitnil" name:"MaxResults"` }
func NewGetResourcesRequest ¶
func NewGetResourcesRequest() (request *GetResourcesRequest)
func (*GetResourcesRequest) FromJsonString ¶
func (r *GetResourcesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetResourcesRequest) ToJsonString ¶
func (r *GetResourcesRequest) ToJsonString() string
type GetResourcesRequestParams ¶
type GetResourcesRequestParams struct { // Six-segment resource description list. Tencent Cloud uses a six-segment value to describe a resource. // For example, ResourceList.1 = qcs::${ServiceType}:${Region}:${Account}:${ResourcePreifx}/${ResourceId}. // If this parameter is passed in, the list of all matching resources will be returned, and the specified `MaxResults` will become invalid. // Value range of N: 0–9 ResourceList []*string `json:"ResourceList,omitnil" name:"ResourceList"` // Tag key and value. // If multiple tags are specified, resources bound to all such tags will be queried. // Value range of N: 0–5 // There can be up to 10 `TagValues` in each `TagFilters`. TagFilters []*TagFilter `json:"TagFilters,omitnil" name:"TagFilters"` // The token value of the next page obtained from the response of the previous page. // Leave it empty for the first request. PaginationToken *string `json:"PaginationToken,omitnil" name:"PaginationToken"` // Number of data entries to return per page (up to 200). // Default value: 50. MaxResults *uint64 `json:"MaxResults,omitnil" name:"MaxResults"` }
Predefined struct for user
type GetResourcesResponse ¶
type GetResourcesResponse struct { *tchttp.BaseResponse Response *GetResourcesResponseParams `json:"Response"` }
func NewGetResourcesResponse ¶
func NewGetResourcesResponse() (response *GetResourcesResponse)
func (*GetResourcesResponse) FromJsonString ¶
func (r *GetResourcesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetResourcesResponse) ToJsonString ¶
func (r *GetResourcesResponse) ToJsonString() string
type GetResourcesResponseParams ¶
type GetResourcesResponseParams struct { // Token value obtained for the next page PaginationToken *string `json:"PaginationToken,omitnil" name:"PaginationToken"` // List of resources and their associated tags (key-value pairs) ResourceTagMappingList []*ResourceTagMapping `json:"ResourceTagMappingList,omitnil" name:"ResourceTagMappingList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type GetTagKeysRequest ¶
type GetTagKeysRequest struct { *tchttp.BaseRequest // The token value of the next page obtained from the response of the previous page. // Leave it empty for the first request. PaginationToken *string `json:"PaginationToken,omitnil" name:"PaginationToken"` // Number of data entries to return per page (up to 1,000). // Default value: 50. MaxResults *uint64 `json:"MaxResults,omitnil" name:"MaxResults"` // Tag type. Valid values: Custom: custom tag; System: system tag; All: all tags. Default value: All. Category *string `json:"Category,omitnil" name:"Category"` }
func NewGetTagKeysRequest ¶
func NewGetTagKeysRequest() (request *GetTagKeysRequest)
func (*GetTagKeysRequest) FromJsonString ¶
func (r *GetTagKeysRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetTagKeysRequest) ToJsonString ¶
func (r *GetTagKeysRequest) ToJsonString() string
type GetTagKeysRequestParams ¶
type GetTagKeysRequestParams struct { // The token value of the next page obtained from the response of the previous page. // Leave it empty for the first request. PaginationToken *string `json:"PaginationToken,omitnil" name:"PaginationToken"` // Number of data entries to return per page (up to 1,000). // Default value: 50. MaxResults *uint64 `json:"MaxResults,omitnil" name:"MaxResults"` // Tag type. Valid values: Custom: custom tag; System: system tag; All: all tags. Default value: All. Category *string `json:"Category,omitnil" name:"Category"` }
Predefined struct for user
type GetTagKeysResponse ¶
type GetTagKeysResponse struct { *tchttp.BaseResponse Response *GetTagKeysResponseParams `json:"Response"` }
func NewGetTagKeysResponse ¶
func NewGetTagKeysResponse() (response *GetTagKeysResponse)
func (*GetTagKeysResponse) FromJsonString ¶
func (r *GetTagKeysResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetTagKeysResponse) ToJsonString ¶
func (r *GetTagKeysResponse) ToJsonString() string
type GetTagKeysResponseParams ¶
type GetTagKeysResponseParams struct { // Token value obtained for the next page PaginationToken *string `json:"PaginationToken,omitnil" name:"PaginationToken"` // Tag key information. TagKeys []*string `json:"TagKeys,omitnil" name:"TagKeys"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type GetTagValuesRequest ¶
type GetTagValuesRequest struct { *tchttp.BaseRequest // Tag key. // All tag values corresponding to the list of tag keys. // Maximum length: 20 TagKeys []*string `json:"TagKeys,omitnil" name:"TagKeys"` // The token value of the next page obtained from the response of the previous page. // Leave it empty for the first request. PaginationToken *string `json:"PaginationToken,omitnil" name:"PaginationToken"` // Number of data entries to return per page (up to 1,000). // Default value: 50. MaxResults *uint64 `json:"MaxResults,omitnil" name:"MaxResults"` // Tag type. Valid values: Custom: custom tag; System: system tag; All: all tags. Default value: All. Category *string `json:"Category,omitnil" name:"Category"` }
func NewGetTagValuesRequest ¶
func NewGetTagValuesRequest() (request *GetTagValuesRequest)
func (*GetTagValuesRequest) FromJsonString ¶
func (r *GetTagValuesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetTagValuesRequest) ToJsonString ¶
func (r *GetTagValuesRequest) ToJsonString() string
type GetTagValuesRequestParams ¶
type GetTagValuesRequestParams struct { // Tag key. // All tag values corresponding to the list of tag keys. // Maximum length: 20 TagKeys []*string `json:"TagKeys,omitnil" name:"TagKeys"` // The token value of the next page obtained from the response of the previous page. // Leave it empty for the first request. PaginationToken *string `json:"PaginationToken,omitnil" name:"PaginationToken"` // Number of data entries to return per page (up to 1,000). // Default value: 50. MaxResults *uint64 `json:"MaxResults,omitnil" name:"MaxResults"` // Tag type. Valid values: Custom: custom tag; System: system tag; All: all tags. Default value: All. Category *string `json:"Category,omitnil" name:"Category"` }
Predefined struct for user
type GetTagValuesResponse ¶
type GetTagValuesResponse struct { *tchttp.BaseResponse Response *GetTagValuesResponseParams `json:"Response"` }
func NewGetTagValuesResponse ¶
func NewGetTagValuesResponse() (response *GetTagValuesResponse)
func (*GetTagValuesResponse) FromJsonString ¶
func (r *GetTagValuesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetTagValuesResponse) ToJsonString ¶
func (r *GetTagValuesResponse) ToJsonString() string
type GetTagValuesResponseParams ¶
type GetTagValuesResponseParams struct { // Token value obtained for the next page PaginationToken *string `json:"PaginationToken,omitnil" name:"PaginationToken"` // Tag list. Tags []*Tag `json:"Tags,omitnil" name:"Tags"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type GetTagsRequest ¶
type GetTagsRequest struct { *tchttp.BaseRequest // The token value of the next page obtained from the response of the previous page. // Leave it empty for the first request. PaginationToken *string `json:"PaginationToken,omitnil" name:"PaginationToken"` // Number of data entries to return per page (up to 1,000). // Default value: 50. MaxResults *uint64 `json:"MaxResults,omitnil" name:"MaxResults"` // Tag key. // All tags corresponding to the list of tag keys. // Maximum length: 20 TagKeys []*string `json:"TagKeys,omitnil" name:"TagKeys"` // Tag type. Valid values: Custom: custom tag; System: system tag; All: all tags. Default value: All. Category *string `json:"Category,omitnil" name:"Category"` }
func NewGetTagsRequest ¶
func NewGetTagsRequest() (request *GetTagsRequest)
func (*GetTagsRequest) FromJsonString ¶
func (r *GetTagsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetTagsRequest) ToJsonString ¶
func (r *GetTagsRequest) ToJsonString() string
type GetTagsRequestParams ¶
type GetTagsRequestParams struct { // The token value of the next page obtained from the response of the previous page. // Leave it empty for the first request. PaginationToken *string `json:"PaginationToken,omitnil" name:"PaginationToken"` // Number of data entries to return per page (up to 1,000). // Default value: 50. MaxResults *uint64 `json:"MaxResults,omitnil" name:"MaxResults"` // Tag key. // All tags corresponding to the list of tag keys. // Maximum length: 20 TagKeys []*string `json:"TagKeys,omitnil" name:"TagKeys"` // Tag type. Valid values: Custom: custom tag; System: system tag; All: all tags. Default value: All. Category *string `json:"Category,omitnil" name:"Category"` }
Predefined struct for user
type GetTagsResponse ¶
type GetTagsResponse struct { *tchttp.BaseResponse Response *GetTagsResponseParams `json:"Response"` }
func NewGetTagsResponse ¶
func NewGetTagsResponse() (response *GetTagsResponse)
func (*GetTagsResponse) FromJsonString ¶
func (r *GetTagsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetTagsResponse) ToJsonString ¶
func (r *GetTagsResponse) ToJsonString() string
type GetTagsResponseParams ¶
type GetTagsResponseParams struct { // Token value obtained for the next page PaginationToken *string `json:"PaginationToken,omitnil" name:"PaginationToken"` // Tag list. Tags []*Tag `json:"Tags,omitnil" name:"Tags"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyResourceTagsRequest ¶
type ModifyResourceTagsRequest struct { *tchttp.BaseRequest // [Six-segment resource description](https://intl.cloud.tencent.com/document/product/598/10606?from_cn_redirect=1) Resource *string `json:"Resource,omitnil" name:"Resource"` // The tags to be added or modified. If the resource described by `Resource` is not associated with the input tag keys, an association will be added. If the tag keys are already associated, the values corresponding to the associated tag keys will be modified to the input values. This API must contain either `ReplaceTags` or `DeleteTag`, and these two parameters cannot include the same tag keys. This parameter can be omitted, but it cannot be an empty array. ReplaceTags []*Tag `json:"ReplaceTags,omitnil" name:"ReplaceTags"` // The tags to be disassociated. This API must contain either `ReplaceTags` or `DeleteTag`, and these two parameters cannot include the same tag keys. This parameter can be omitted, but it cannot be an empty array. DeleteTags []*TagKeyObject `json:"DeleteTags,omitnil" name:"DeleteTags"` }
func NewModifyResourceTagsRequest ¶
func NewModifyResourceTagsRequest() (request *ModifyResourceTagsRequest)
func (*ModifyResourceTagsRequest) FromJsonString ¶
func (r *ModifyResourceTagsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyResourceTagsRequest) ToJsonString ¶
func (r *ModifyResourceTagsRequest) ToJsonString() string
type ModifyResourceTagsRequestParams ¶
type ModifyResourceTagsRequestParams struct { // [Six-segment resource description](https://intl.cloud.tencent.com/document/product/598/10606?from_cn_redirect=1) Resource *string `json:"Resource,omitnil" name:"Resource"` // The tags to be added or modified. If the resource described by `Resource` is not associated with the input tag keys, an association will be added. If the tag keys are already associated, the values corresponding to the associated tag keys will be modified to the input values. This API must contain either `ReplaceTags` or `DeleteTag`, and these two parameters cannot include the same tag keys. This parameter can be omitted, but it cannot be an empty array. ReplaceTags []*Tag `json:"ReplaceTags,omitnil" name:"ReplaceTags"` // The tags to be disassociated. This API must contain either `ReplaceTags` or `DeleteTag`, and these two parameters cannot include the same tag keys. This parameter can be omitted, but it cannot be an empty array. DeleteTags []*TagKeyObject `json:"DeleteTags,omitnil" name:"DeleteTags"` }
Predefined struct for user
type ModifyResourceTagsResponse ¶
type ModifyResourceTagsResponse struct { *tchttp.BaseResponse Response *ModifyResourceTagsResponseParams `json:"Response"` }
func NewModifyResourceTagsResponse ¶
func NewModifyResourceTagsResponse() (response *ModifyResourceTagsResponse)
func (*ModifyResourceTagsResponse) FromJsonString ¶
func (r *ModifyResourceTagsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyResourceTagsResponse) ToJsonString ¶
func (r *ModifyResourceTagsResponse) ToJsonString() string
type ModifyResourceTagsResponseParams ¶
type ModifyResourceTagsResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyResourcesTagValueRequest ¶
type ModifyResourcesTagValueRequest struct { *tchttp.BaseRequest // Resource service name (the third segment in the six-segment resource description) ServiceType *string `json:"ServiceType,omitnil" name:"ServiceType"` // Resource ID array, which can contain up to 50 resources ResourceIds []*string `json:"ResourceIds,omitnil" name:"ResourceIds"` // Tag key TagKey *string `json:"TagKey,omitnil" name:"TagKey"` // Tag value TagValue *string `json:"TagValue,omitnil" name:"TagValue"` // Resource region. If resources have the region attribute, this field is required; otherwise, it is optional. ResourceRegion *string `json:"ResourceRegion,omitnil" name:"ResourceRegion"` // Resource prefix (the part before "/" in the last segment in the six-segment resource description), which is optional for COS buckets but required for other Tencent Cloud resources. ResourcePrefix *string `json:"ResourcePrefix,omitnil" name:"ResourcePrefix"` }
func NewModifyResourcesTagValueRequest ¶
func NewModifyResourcesTagValueRequest() (request *ModifyResourcesTagValueRequest)
func (*ModifyResourcesTagValueRequest) FromJsonString ¶
func (r *ModifyResourcesTagValueRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyResourcesTagValueRequest) ToJsonString ¶
func (r *ModifyResourcesTagValueRequest) ToJsonString() string
type ModifyResourcesTagValueRequestParams ¶
type ModifyResourcesTagValueRequestParams struct { // Resource service name (the third segment in the six-segment resource description) ServiceType *string `json:"ServiceType,omitnil" name:"ServiceType"` // Resource ID array, which can contain up to 50 resources ResourceIds []*string `json:"ResourceIds,omitnil" name:"ResourceIds"` // Tag key TagKey *string `json:"TagKey,omitnil" name:"TagKey"` // Tag value TagValue *string `json:"TagValue,omitnil" name:"TagValue"` // Resource region. If resources have the region attribute, this field is required; otherwise, it is optional. ResourceRegion *string `json:"ResourceRegion,omitnil" name:"ResourceRegion"` // Resource prefix (the part before "/" in the last segment in the six-segment resource description), which is optional for COS buckets but required for other Tencent Cloud resources. ResourcePrefix *string `json:"ResourcePrefix,omitnil" name:"ResourcePrefix"` }
Predefined struct for user
type ModifyResourcesTagValueResponse ¶
type ModifyResourcesTagValueResponse struct { *tchttp.BaseResponse Response *ModifyResourcesTagValueResponseParams `json:"Response"` }
func NewModifyResourcesTagValueResponse ¶
func NewModifyResourcesTagValueResponse() (response *ModifyResourcesTagValueResponse)
func (*ModifyResourcesTagValueResponse) FromJsonString ¶
func (r *ModifyResourcesTagValueResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyResourcesTagValueResponse) ToJsonString ¶
func (r *ModifyResourcesTagValueResponse) ToJsonString() string
type ModifyResourcesTagValueResponseParams ¶
type ModifyResourcesTagValueResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type Project ¶
type Project struct { // Project ID. ProjectId *uint64 `json:"ProjectId,omitnil" name:"ProjectId"` // Project name. ProjectName *string `json:"ProjectName,omitnil" name:"ProjectName"` // Creator UIN. CreatorUin *uint64 `json:"CreatorUin,omitnil" name:"CreatorUin"` // Project description. ProjectInfo *string `json:"ProjectInfo,omitnil" name:"ProjectInfo"` // Creation time. CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` }
type ResourceIdTag ¶
type ResourceIdTag struct { // Unique resource ID // Note: this field may return null, indicating that no valid values can be obtained ResourceId *string `json:"ResourceId,omitnil" name:"ResourceId"` // Tag key-value pair // Note: this field may return null, indicating that no valid values can be obtained TagKeyValues []*Tag `json:"TagKeyValues,omitnil" name:"TagKeyValues"` }
type ResourceTag ¶
type ResourceTag struct { // The resource's region. // Note: This field may return null, indicating that no valid value is found. ResourceRegion *string `json:"ResourceRegion,omitnil" name:"ResourceRegion"` // Service type. // Note: This field may return null, indicating that no valid value is found. ServiceType *string `json:"ServiceType,omitnil" name:"ServiceType"` // Resource prefix. // Note: This field may return null, indicating that no valid value is found. ResourcePrefix *string `json:"ResourcePrefix,omitnil" name:"ResourcePrefix"` // Unique resource ID. // Note: This field may return null, indicating that no valid value is found. ResourceId *string `json:"ResourceId,omitnil" name:"ResourceId"` // Resource tag. // Note: This field may return null, indicating that no valid value is found. Tags []*Tag `json:"Tags,omitnil" name:"Tags"` }
type ResourceTagMapping ¶
type ResourceTagMapping struct { // Six-segment resource description. Tencent Cloud uses a six-segment value to describe a resource. // For example, ResourceList.1 = qcs::${ServiceType}:${Region}:${Account}:${ResourcePreifx}/${ResourceId}. Resource *string `json:"Resource,omitnil" name:"Resource"` // List of tags associated with the resource Tags []*Tag `json:"Tags,omitnil" name:"Tags"` }
type Tag ¶
type Tag struct { // Tag key. TagKey *string `json:"TagKey,omitnil" name:"TagKey"` // Tag value. TagValue *string `json:"TagValue,omitnil" name:"TagValue"` // Tag type. Valid values: Custom: custom tag; System: system tag; All: all tags. Default value: All.Note: This field may return null, indicating that no value is obtained. Category *string `json:"Category,omitnil" name:"Category"` }
type TagKeyObject ¶
type TagKeyObject struct { // Tag key. TagKey *string `json:"TagKey,omitnil" name:"TagKey"` }
type TagResource ¶
type TagResource struct { // Tag key. TagKey *string `json:"TagKey,omitnil" name:"TagKey"` // Tag value. TagValue *string `json:"TagValue,omitnil" name:"TagValue"` // Resource ID. ResourceId *string `json:"ResourceId,omitnil" name:"ResourceId"` // Tag key MD5 value. TagKeyMd5 *string `json:"TagKeyMd5,omitnil" name:"TagKeyMd5"` // Tag value MD5 value. TagValueMd5 *string `json:"TagValueMd5,omitnil" name:"TagValueMd5"` // Resource type // Note: this field may return null, indicating that no valid values found. ServiceType *string `json:"ServiceType,omitnil" name:"ServiceType"` // Tag type. Valid values: Custom: custom tag; System: system tag.Note: This field may return null, indicating that no value is obtained. Category *string `json:"Category,omitnil" name:"Category"` }
type TagResourcesRequest ¶
type TagResourcesRequest struct { *tchttp.BaseRequest // Cloud resource to be bound, represented in the standard six-segment resource format. For the correct format, see [Resource Description Method](https://intl.cloud.tencent.com/document/product/598/10606?from_cn_redirect=1) and [Tagging-enabled Resources](https://intl.cloud.tencent.com/document/product/651/89122?from_cn_redirect=1). // Value range of N: 0-9. ResourceList []*string `json:"ResourceList,omitnil" name:"ResourceList"` // Tag key and value. // If multiple tags are specified, all such tags will be created and bound to the specified resources. // For each resource, each tag key can have only one value. If you try to add an existing tag key, the corresponding tag value will be updated to the new value. // Non-existent tags will be automatically created. // Value range of N: 0–9 Tags []*Tag `json:"Tags,omitnil" name:"Tags"` }
func NewTagResourcesRequest ¶
func NewTagResourcesRequest() (request *TagResourcesRequest)
func (*TagResourcesRequest) FromJsonString ¶
func (r *TagResourcesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*TagResourcesRequest) ToJsonString ¶
func (r *TagResourcesRequest) ToJsonString() string
type TagResourcesRequestParams ¶
type TagResourcesRequestParams struct { // Cloud resource to be bound, represented in the standard six-segment resource format. For the correct format, see [Resource Description Method](https://intl.cloud.tencent.com/document/product/598/10606?from_cn_redirect=1) and [Tagging-enabled Resources](https://intl.cloud.tencent.com/document/product/651/89122?from_cn_redirect=1). // Value range of N: 0-9. ResourceList []*string `json:"ResourceList,omitnil" name:"ResourceList"` // Tag key and value. // If multiple tags are specified, all such tags will be created and bound to the specified resources. // For each resource, each tag key can have only one value. If you try to add an existing tag key, the corresponding tag value will be updated to the new value. // Non-existent tags will be automatically created. // Value range of N: 0–9 Tags []*Tag `json:"Tags,omitnil" name:"Tags"` }
Predefined struct for user
type TagResourcesResponse ¶
type TagResourcesResponse struct { *tchttp.BaseResponse Response *TagResourcesResponseParams `json:"Response"` }
func NewTagResourcesResponse ¶
func NewTagResourcesResponse() (response *TagResourcesResponse)
func (*TagResourcesResponse) FromJsonString ¶
func (r *TagResourcesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*TagResourcesResponse) ToJsonString ¶
func (r *TagResourcesResponse) ToJsonString() string
type TagResourcesResponseParams ¶
type TagResourcesResponseParams struct { // Information of failed resources. // When tag creating and binding succeeds, the returned `FailedResources` will be empty. // When tag creating and binding partially or completely fails, the returned `FailedResources` will display the details of failed resources. FailedResources []*FailedResource `json:"FailedResources,omitnil" name:"FailedResources"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type TagWithDelete ¶
type TagWithDelete struct { // Tag key. TagKey *string `json:"TagKey,omitnil" name:"TagKey"` // Tag value. TagValue *string `json:"TagValue,omitnil" name:"TagValue"` // If deletion is allowed. CanDelete *uint64 `json:"CanDelete,omitnil" name:"CanDelete"` // Tag type. Valid values: Custom: custom tag; System: system tag; All: all tags. Default value: All.Note: This field may return null, indicating that no value is obtained. Category *string `json:"Category,omitnil" name:"Category"` }
type UnTagResourcesRequest ¶
type UnTagResourcesRequest struct { *tchttp.BaseRequest // Six-segment resource description list. Tencent Cloud uses a six-segment value to describe a resource. For more information, see [CAM](https://intl.cloud.tencent.com/document/product/598/67350?from_cn_redirect=1) > Overview > API List > Six-Segment Resource Information. // For example: ResourceList.1 = qcs::${ServiceType}:${Region}:uin/${Account}:${ResourcePrefix}/${ResourceId}. // Value range of N: 0–9 ResourceList []*string `json:"ResourceList,omitnil" name:"ResourceList"` // Tag key. // Value range: 0–9 TagKeys []*string `json:"TagKeys,omitnil" name:"TagKeys"` }
func NewUnTagResourcesRequest ¶
func NewUnTagResourcesRequest() (request *UnTagResourcesRequest)
func (*UnTagResourcesRequest) FromJsonString ¶
func (r *UnTagResourcesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UnTagResourcesRequest) ToJsonString ¶
func (r *UnTagResourcesRequest) ToJsonString() string
type UnTagResourcesRequestParams ¶
type UnTagResourcesRequestParams struct { // Six-segment resource description list. Tencent Cloud uses a six-segment value to describe a resource. For more information, see [CAM](https://intl.cloud.tencent.com/document/product/598/67350?from_cn_redirect=1) > Overview > API List > Six-Segment Resource Information. // For example: ResourceList.1 = qcs::${ServiceType}:${Region}:uin/${Account}:${ResourcePrefix}/${ResourceId}. // Value range of N: 0–9 ResourceList []*string `json:"ResourceList,omitnil" name:"ResourceList"` // Tag key. // Value range: 0–9 TagKeys []*string `json:"TagKeys,omitnil" name:"TagKeys"` }
Predefined struct for user
type UnTagResourcesResponse ¶
type UnTagResourcesResponse struct { *tchttp.BaseResponse Response *UnTagResourcesResponseParams `json:"Response"` }
func NewUnTagResourcesResponse ¶
func NewUnTagResourcesResponse() (response *UnTagResourcesResponse)
func (*UnTagResourcesResponse) FromJsonString ¶
func (r *UnTagResourcesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UnTagResourcesResponse) ToJsonString ¶
func (r *UnTagResourcesResponse) ToJsonString() string
type UnTagResourcesResponseParams ¶
type UnTagResourcesResponseParams struct { // Information of failed resources. // When tag unbinding succeeds, the returned `FailedResources` will be empty. // When tag unbinding partially or completely fails, the returned `FailedResources` will display the details of failed resources. FailedResources []*FailedResource `json:"FailedResources,omitnil" name:"FailedResources"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type UpdateResourceTagValueRequest ¶
type UpdateResourceTagValueRequest struct { *tchttp.BaseRequest // Tag key associated with the resource. TagKey *string `json:"TagKey,omitnil" name:"TagKey"` // Modified tag value. TagValue *string `json:"TagValue,omitnil" name:"TagValue"` // [Six-segment resource description](https://intl.cloud.tencent.com/document/product/598/10606?from_cn_redirect=1) Resource *string `json:"Resource,omitnil" name:"Resource"` }
func NewUpdateResourceTagValueRequest ¶
func NewUpdateResourceTagValueRequest() (request *UpdateResourceTagValueRequest)
func (*UpdateResourceTagValueRequest) FromJsonString ¶
func (r *UpdateResourceTagValueRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateResourceTagValueRequest) ToJsonString ¶
func (r *UpdateResourceTagValueRequest) ToJsonString() string
type UpdateResourceTagValueRequestParams ¶
type UpdateResourceTagValueRequestParams struct { // Tag key associated with the resource. TagKey *string `json:"TagKey,omitnil" name:"TagKey"` // Modified tag value. TagValue *string `json:"TagValue,omitnil" name:"TagValue"` // [Six-segment resource description](https://intl.cloud.tencent.com/document/product/598/10606?from_cn_redirect=1) Resource *string `json:"Resource,omitnil" name:"Resource"` }
Predefined struct for user
type UpdateResourceTagValueResponse ¶
type UpdateResourceTagValueResponse struct { *tchttp.BaseResponse Response *UpdateResourceTagValueResponseParams `json:"Response"` }
func NewUpdateResourceTagValueResponse ¶
func NewUpdateResourceTagValueResponse() (response *UpdateResourceTagValueResponse)
func (*UpdateResourceTagValueResponse) FromJsonString ¶
func (r *UpdateResourceTagValueResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateResourceTagValueResponse) ToJsonString ¶
func (r *UpdateResourceTagValueResponse) ToJsonString() string
type UpdateResourceTagValueResponseParams ¶
type UpdateResourceTagValueResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user