client

package
v1.32.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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

获得资源与对应标签列表详情,不含资源名称和可用区。<br/>

注意查询cdn的资源时url中regionId必须指定为cn-all。<br/> 该接口目前不支持分页功能。

func (*ResourcetagClient) DescribeTags

获取资源标签。<br/>

注意查询cdn资源的标签时url中regionId必须指定为cn-all。<br/> 注意查询不限制地域时url中regionId必须指定为all-region。

func (*ResourcetagClient) QueryResource

根据标签查找资源。 <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

资源标签绑定。<br/>

注意cdn资源绑定标签时url中regionId必须指定为cn-all。

func (*ResourcetagClient) UnTagResources

资源标签解绑。<br/>

注意cdn资源解绑标签时url中regionId必须指定为cn-all。

Jump to

Keyboard shortcuts

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