tdcpg

package
v1.81.139 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TDCPG_CLUSTER_FILTER_ID         = "ClusterId"
	TDCPG_CLUSTER_FILTER_NAME       = "ClusterName"
	TDCPG_CLUSTER_FILTER_PROJECT_ID = "ProjectId"
	TDCPG_CLUSTER_FILTER_STATUS     = "Status"
	TDCPG_CLUSTER_FILTER_PAY_MODE   = "PayMode"

	TDCPG_INSTANCE_FILTER_ID          = "InstanceId"
	TDCPG_INSTANCE_FILTER_NAME        = "InstanceName"
	TDCPG_INSTANCE_FILTER_ENDPOINT_ID = "EndpointId"
	TDCPG_INSTANCE_FILTER_STATUS      = "Status"
	TDCPG_INSTANCE_FILTER_TYPE        = "InstanceType"
)

Variables

This section is empty.

Functions

func DataSourceTencentCloudTdcpgClusters

func DataSourceTencentCloudTdcpgClusters() *schema.Resource

func DataSourceTencentCloudTdcpgInstances

func DataSourceTencentCloudTdcpgInstances() *schema.Resource

func ResourceTencentCloudTdcpgCluster

func ResourceTencentCloudTdcpgCluster() *schema.Resource

func ResourceTencentCloudTdcpgInstance

func ResourceTencentCloudTdcpgInstance() *schema.Resource

Types

type TdcpgService

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

func NewTdcpgService

func NewTdcpgService(client *connectivity.TencentCloudClient) TdcpgService

func (*TdcpgService) DeleteTdcpgClusterById

func (me *TdcpgService) DeleteTdcpgClusterById(ctx context.Context, clusterId *string) (errRet error)

func (*TdcpgService) DeleteTdcpgInstanceById

func (me *TdcpgService) DeleteTdcpgInstanceById(ctx context.Context, clusterId, instanceId *string) (errRet error)

func (*TdcpgService) DescribeTdcpgCluster

func (me *TdcpgService) DescribeTdcpgCluster(ctx context.Context, clusterId *string) (cluster *tdcpg.DescribeClustersResponseParams, errRet error)

tdcpg resource

func (*TdcpgService) DescribeTdcpgClustersByFilter

func (me *TdcpgService) DescribeTdcpgClustersByFilter(ctx context.Context, param map[string]interface{}) (clusters []*tdcpg.Cluster, errRet error)

tdcpg data-source

func (*TdcpgService) DescribeTdcpgInstance

func (me *TdcpgService) DescribeTdcpgInstance(ctx context.Context, clusterId, instanceId *string) (instance *tdcpg.DescribeClusterInstancesResponseParams, errRet error)

func (*TdcpgService) DescribeTdcpgInstancesByFilter

func (me *TdcpgService) DescribeTdcpgInstancesByFilter(ctx context.Context, clusterId *string, param map[string]interface{}) (instances []*tdcpg.Instance, errRet error)

func (*TdcpgService) DescribeTdcpgResourceByDealName

func (me *TdcpgService) DescribeTdcpgResourceByDealName(ctx context.Context, dealNames []*string) (resourceInfo []*tdcpg.ResourceIdInfo, errRet error)

func (*TdcpgService) IsolateTdcpgClusterById

func (me *TdcpgService) IsolateTdcpgClusterById(ctx context.Context, clusterId *string) (errRet error)

func (*TdcpgService) IsolateTdcpgInstanceById

func (me *TdcpgService) IsolateTdcpgInstanceById(ctx context.Context, clusterId, instanceId *string) (errRet error)

Jump to

Keyboard shortcuts

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