cwp

package
v1.81.61 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2023 License: MPL-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LICENSE_TYPE_0 = 0
	LICENSE_TYPE_1 = 1
	LICENSE_TYPE_2 = 2
)
View Source
const (
	REGION_ID_1 = 1
	REGION_ID_9 = 9
)
View Source
const DESCRIBE_TAGS_LIMIT = 20

Variables

View Source
var REGION_ID = []int{
	REGION_ID_1,
	REGION_ID_9,
}

Functions

func DataSourceTencentCloudCwpMachinesSimple

func DataSourceTencentCloudCwpMachinesSimple() *schema.Resource

func ResourceTencentCloudCwpLicenseBindAttachment

func ResourceTencentCloudCwpLicenseBindAttachment() *schema.Resource

func ResourceTencentCloudCwpLicenseOrder

func ResourceTencentCloudCwpLicenseOrder() *schema.Resource

Types

type CwpService

type CwpService struct {
	// contains filtered or unexported fields
}

func (*CwpService) DeleteCwpLicenseBindAttachmentById

func (me *CwpService) DeleteCwpLicenseBindAttachmentById(ctx context.Context, resourceId, quuid, licenseType string) (errRet error)

func (*CwpService) DeleteCwpLicenseOrderById

func (me *CwpService) DeleteCwpLicenseOrderById(ctx context.Context, resourceId string, licenseType *uint64) (errRet error)

func (*CwpService) DescribeCwpLicenseBindAttachmentById

func (me *CwpService) DescribeCwpLicenseBindAttachmentById(ctx context.Context, resourceId, quuid string, licenseId, licenseType uint64) (licenseBindAttachment *cwp.LicenseBindDetail, errRet error)

func (*CwpService) DescribeCwpLicenseOrderById

func (me *CwpService) DescribeCwpLicenseOrderById(ctx context.Context, resourceId string) (licenseOrder *cwp.LicenseDetail, errRet error)

func (*CwpService) DescribeCwpMachinesSimpleByFilter

func (me *CwpService) DescribeCwpMachinesSimpleByFilter(ctx context.Context, param map[string]interface{}) (machinesSimple []*cwp.MachineSimple, errRet error)

type TagService

type TagService struct {
	// contains filtered or unexported fields
}

func (*TagService) DeleteTagResourceById

func (me *TagService) DeleteTagResourceById(ctx context.Context, tagKey string, tagValue string) (errRet error)

func (*TagService) DeleteTagTagAttachmentById

func (me *TagService) DeleteTagTagAttachmentById(ctx context.Context, tagKey string, resource string) (errRet error)

func (*TagService) DescribeProjectById

func (me *TagService) DescribeProjectById(ctx context.Context, projectId uint64) (project *tag.Project, disable *uint64, errRet error)

func (*TagService) DescribeProjects

func (me *TagService) DescribeProjects(ctx context.Context, param map[string]interface{}) (project []*tag.Project, errRet error)

func (*TagService) DescribeResourceTags

func (me *TagService) DescribeResourceTags(ctx context.Context, serviceType, resourceType, region, resourceId string) (tags map[string]string, err error)

func (*TagService) DescribeTagResourceById

func (me *TagService) DescribeTagResourceById(ctx context.Context, tagKey string, tagValue string) (tagRes *tag.Tag, errRet error)

func (*TagService) DescribeTagTagAttachmentById

func (me *TagService) DescribeTagTagAttachmentById(ctx context.Context, tagKey string, tagValue string, resource string) (resourceTag *tag.ResourceTagMapping, errRet error)

func (*TagService) DisableProjectById

func (me *TagService) DisableProjectById(ctx context.Context, projectId uint64) (errRet error)

func (*TagService) ModifyTags

func (me *TagService) ModifyTags(ctx context.Context, resourceName string, replaceTags map[string]string, deleteKeys []string) error

Jump to

Keyboard shortcuts

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