Documentation ¶
Overview ¶
Code generated by iacg; DO NOT EDIT.
Code generated by iacg; DO NOT EDIT.
Code generated by iacg; DO NOT EDIT.
Code generated by iacg; DO NOT EDIT.
Code generated by iacg; DO NOT EDIT.
Index ¶
- Constants
- Variables
- func DataSourceTencentCloudCdwdorisInstances() *schema.Resource
- func ResourceTencentCloudCdwdorisInstance() *schema.Resource
- func ResourceTencentCloudCdwdorisUser() *schema.Resource
- func ResourceTencentCloudCdwdorisWorkloadGroup() *schema.Resource
- type CdwdorisService
- func (me *CdwdorisService) DescribeCdwdorisInstanceById(ctx context.Context, instanceId string) (ret *cdwdorisv20211228.InstanceInfo, errRet error)
- func (me *CdwdorisService) DescribeCdwdorisInstanceById1(ctx context.Context) (ret *cdwdorisv20211228.DescribeInstanceStateResponseParams, errRet error)
- func (me *CdwdorisService) DescribeCdwdorisInstanceById2(ctx context.Context) (ret *cdwdorisv20211228.DescribeInstanceOperationsResponseParams, errRet error)
- func (me *CdwdorisService) DescribeCdwdorisInstancesByFilter(ctx context.Context, param map[string]interface{}) (ret []*cdwdorisv20211228.InstanceInfo, errRet error)
- func (me *CdwdorisService) DescribeCdwdorisSqlApiById(ctx context.Context, instanceId, userName string) (workloadGroupConfig *cdwdorisv20211228.WorkloadGroupConfig, errRet error)
- func (me *CdwdorisService) DescribeCdwdorisWorkloadGroupById(ctx context.Context, instanceId, workloadGroupName string) (workloadGroupConfig *cdwdorisv20211228.WorkloadGroupConfig, errRet error)
- func (me *CdwdorisService) DescribeCdwdorisWorkloadGroupsById(ctx context.Context, instanceId string) (workloadGroup *cdwdorisv20211228.DescribeWorkloadGroupResponseParams, ...)
Constants ¶
View Source
const ( INSTANCE_STATE_INIT = "Init" INSTANCE_STATE_SERVING = "Serving" INSTANCE_STATE_DELETED = "Deleted" INSTANCE_STATE_ISOLATED = "Isolated" INSTANCE_STATE_CHANGING = "Changing" INSTANCE_STATE_UPGRADING = "Upgrading" )
View Source
const ( CHARGE_TYPE_PREPAID = "PREPAID" CHARGE_TYPE_POSTPAID_BY_HOUR = "POSTPAID_BY_HOUR" )
View Source
const ( WORKLOAD_GROUP_STATUS_OPEN = "open" WORKLOAD_GROUP_STATUS_CLOSE = "close" )
Variables ¶
View Source
var CHARGE_TYPE = []string{ CHARGE_TYPE_PREPAID, CHARGE_TYPE_POSTPAID_BY_HOUR, }
View Source
var WORKLOAD_GROUP_STATUS = []string{ WORKLOAD_GROUP_STATUS_OPEN, WORKLOAD_GROUP_STATUS_CLOSE, }
Functions ¶
Types ¶
type CdwdorisService ¶
type CdwdorisService struct {
// contains filtered or unexported fields
}
func NewCdwdorisService ¶
func NewCdwdorisService(client *connectivity.TencentCloudClient) CdwdorisService
func (*CdwdorisService) DescribeCdwdorisInstanceById ¶
func (me *CdwdorisService) DescribeCdwdorisInstanceById(ctx context.Context, instanceId string) (ret *cdwdorisv20211228.InstanceInfo, errRet error)
func (*CdwdorisService) DescribeCdwdorisInstanceById1 ¶
func (me *CdwdorisService) DescribeCdwdorisInstanceById1(ctx context.Context) (ret *cdwdorisv20211228.DescribeInstanceStateResponseParams, errRet error)
func (*CdwdorisService) DescribeCdwdorisInstanceById2 ¶
func (me *CdwdorisService) DescribeCdwdorisInstanceById2(ctx context.Context) (ret *cdwdorisv20211228.DescribeInstanceOperationsResponseParams, errRet error)
func (*CdwdorisService) DescribeCdwdorisInstancesByFilter ¶
func (me *CdwdorisService) DescribeCdwdorisInstancesByFilter(ctx context.Context, param map[string]interface{}) (ret []*cdwdorisv20211228.InstanceInfo, errRet error)
func (*CdwdorisService) DescribeCdwdorisSqlApiById ¶
func (me *CdwdorisService) DescribeCdwdorisSqlApiById(ctx context.Context, instanceId, userName string) (workloadGroupConfig *cdwdorisv20211228.WorkloadGroupConfig, errRet error)
func (*CdwdorisService) DescribeCdwdorisWorkloadGroupById ¶
func (me *CdwdorisService) DescribeCdwdorisWorkloadGroupById(ctx context.Context, instanceId, workloadGroupName string) (workloadGroupConfig *cdwdorisv20211228.WorkloadGroupConfig, errRet error)
func (*CdwdorisService) DescribeCdwdorisWorkloadGroupsById ¶
func (me *CdwdorisService) DescribeCdwdorisWorkloadGroupsById(ctx context.Context, instanceId string) (workloadGroup *cdwdorisv20211228.DescribeWorkloadGroupResponseParams, errRet error)
Click to show internal directories.
Click to hide internal directories.