Documentation ¶
Index ¶
- Constants
- type Client
- func (client *Client) GetResourceTagsByResourceIds(args *GetResourceTagsByResourceIdsArgs) (*GetResourceTagsByResourceIdsResponse, error)
- func (client *Client) GetResourcesByTags(args *GetResourcesByTagsArgs) (*GetResourcesByTagsResponse, error)
- func (client *Client) ModifyResourceTags(args *ModifyResourceTagsArgs) (*ModifyResourceTagsArgsResponse, error)
- type GetResourceTagsByResourceIdsArgs
- type GetResourceTagsByResourceIdsResponse
- type GetResourcesByTagsArgs
- type GetResourcesByTagsResponse
- type ModifyResourceTagsArgs
- type ModifyResourceTagsArgsResponse
- type Resource
- type ResourceTag
- type Response
- type Tag
- type TagFilter
Constants ¶
View Source
const ( TagHost = "tag.api.qcloud.com" TagPath = "/v2/index.php" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func NewClientFromEnv ¶
func (*Client) GetResourceTagsByResourceIds ¶
func (client *Client) GetResourceTagsByResourceIds(args *GetResourceTagsByResourceIdsArgs) (*GetResourceTagsByResourceIdsResponse, error)
func (*Client) GetResourcesByTags ¶
func (client *Client) GetResourcesByTags(args *GetResourcesByTagsArgs) (*GetResourcesByTagsResponse, error)
func (*Client) ModifyResourceTags ¶
func (client *Client) ModifyResourceTags(args *ModifyResourceTagsArgs) (*ModifyResourceTagsArgsResponse, error)
type GetResourceTagsByResourceIdsArgs ¶
type GetResourceTagsByResourceIdsArgs struct { CreateUin *string `qcloud_arg:"createUin"` Region string `qcloud_arg:"region,required"` ServiceType string `qcloud_arg:"serviceType,required"` ResourcePrefix string `qcloud_arg:"resourcePrefix,required"` ResourceIds []string `qcloud_arg:"resourceIds,required"` Page *int `qcloud_arg:"page"` Rp *int `qcloud_arg:"rp"` }
type GetResourceTagsByResourceIdsResponse ¶
type GetResourceTagsByResourceIdsResponse struct { Response Data struct { Total int `json:"total"` Page int `json:"page"` Rp int `json:"rp"` Rows []ResourceTag `json:"rows"` } `json:"data"` }
type GetResourcesByTagsArgs ¶
type ModifyResourceTagsArgs ¶
type ModifyResourceTagsArgsResponse ¶
type ModifyResourceTagsArgsResponse struct {
Response
}
type Resource ¶
type Resource struct { Region string `json:"region"` ServiceType string `json:"resourceType"` ResoucePrefix string `json:"resourcePrefix"` ResourceID string `json:"resourceId"` Tags []ResourceTag `json:"tags"` }
type ResourceTag ¶
Click to show internal directories.
Click to hide internal directories.