Documentation ¶
Index ¶
- type ResourcetagClient
- func (c *ResourcetagClient) DescribeResources(request *resourcetag.DescribeResourcesRequest) (*resourcetag.DescribeResourcesResponse, error)
- func (c *ResourcetagClient) DescribeTags(request *resourcetag.DescribeTagsRequest) (*resourcetag.DescribeTagsResponse, error)
- func (c *ResourcetagClient) QueryResource(request *resourcetag.QueryResourceRequest) (*resourcetag.QueryResourceResponse, error)
- func (c *ResourcetagClient) SetConfig(config *core.Config)
- func (c *ResourcetagClient) SetLogger(logger core.Logger)
- func (c *ResourcetagClient) TagResources(request *resourcetag.TagResourcesRequest) (*resourcetag.TagResourcesResponse, error)
- func (c *ResourcetagClient) UnTagResources(request *resourcetag.UnTagResourcesRequest) (*resourcetag.UnTagResourcesResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResourcetagClient ¶
type ResourcetagClient struct {
core.JDCloudClient
}
func NewResourcetagClient ¶
func NewResourcetagClient(credential *core.Credential) *ResourcetagClient
func (*ResourcetagClient) DescribeResources ¶
func (c *ResourcetagClient) DescribeResources(request *resourcetag.DescribeResourcesRequest) (*resourcetag.DescribeResourcesResponse, error)
获得资源与对应标签列表详情,不含资源名称和可用区。<br/>
注意查询cdn的资源时url中regionId必须指定为cn-all。<br/> 该接口目前不支持分页功能。
func (*ResourcetagClient) DescribeTags ¶
func (c *ResourcetagClient) DescribeTags(request *resourcetag.DescribeTagsRequest) (*resourcetag.DescribeTagsResponse, error)
获取资源标签。<br/>
注意查询cdn资源的标签时url中regionId必须指定为cn-all。<br/> 注意查询不限制地域时url中regionId必须指定为all-region。
func (*ResourcetagClient) QueryResource ¶
func (c *ResourcetagClient) QueryResource(request *resourcetag.QueryResourceRequest) (*resourcetag.QueryResourceResponse, error)
根据标签查找资源。 <br/>
若要查找cdn产品线的资源则url中的regionId必须指定为cn-all。
func (*ResourcetagClient) SetConfig ¶
func (c *ResourcetagClient) SetConfig(config *core.Config)
func (*ResourcetagClient) SetLogger ¶
func (c *ResourcetagClient) SetLogger(logger core.Logger)
func (*ResourcetagClient) TagResources ¶
func (c *ResourcetagClient) TagResources(request *resourcetag.TagResourcesRequest) (*resourcetag.TagResourcesResponse, error)
资源标签绑定。<br/>
注意cdn资源绑定标签时url中regionId必须指定为cn-all。
func (*ResourcetagClient) UnTagResources ¶
func (c *ResourcetagClient) UnTagResources(request *resourcetag.UnTagResourcesRequest) (*resourcetag.UnTagResourcesResponse, error)
资源标签解绑。<br/>
注意cdn资源解绑标签时url中regionId必须指定为cn-all。
Click to show internal directories.
Click to hide internal directories.