Documentation ¶
Index ¶
- Constants
- func DataSourceTencentCloudTdcpgClusters() *schema.Resource
- func DataSourceTencentCloudTdcpgInstances() *schema.Resource
- func ResourceTencentCloudTdcpgCluster() *schema.Resource
- func ResourceTencentCloudTdcpgInstance() *schema.Resource
- type TdcpgService
- func (me *TdcpgService) DeleteTdcpgClusterById(ctx context.Context, clusterId *string) (errRet error)
- func (me *TdcpgService) DeleteTdcpgInstanceById(ctx context.Context, clusterId, instanceId *string) (errRet error)
- func (me *TdcpgService) DescribeTdcpgCluster(ctx context.Context, clusterId *string) (cluster *tdcpg.DescribeClustersResponseParams, errRet error)
- func (me *TdcpgService) DescribeTdcpgClustersByFilter(ctx context.Context, param map[string]interface{}) (clusters []*tdcpg.Cluster, errRet error)
- func (me *TdcpgService) DescribeTdcpgInstance(ctx context.Context, clusterId, instanceId *string) (instance *tdcpg.DescribeClusterInstancesResponseParams, errRet error)
- func (me *TdcpgService) DescribeTdcpgInstancesByFilter(ctx context.Context, clusterId *string, param map[string]interface{}) (instances []*tdcpg.Instance, errRet error)
- func (me *TdcpgService) DescribeTdcpgResourceByDealName(ctx context.Context, dealNames []*string) (resourceInfo []*tdcpg.ResourceIdInfo, errRet error)
- func (me *TdcpgService) IsolateTdcpgClusterById(ctx context.Context, clusterId *string) (errRet error)
- func (me *TdcpgService) IsolateTdcpgInstanceById(ctx context.Context, clusterId, instanceId *string) (errRet error)
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 ¶
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 (*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)
Click to show internal directories.
Click to hide internal directories.