emr

package
v1.81.94 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: MPL-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EmrInternetStatusCreated int64 = 2
	EmrInternetStatusDeleted int64 = 201
)
View Source
const (
	EMR_MASTER_WAN_TYPE_NEED_MASTER_WAN     = "NEED_MASTER_WAN"
	EMR_MASTER_WAN_TYPE_NOT_NEED_MASTER_WAN = "NOT_NEED_MASTER_WAN"
)
View Source
const (
	DisplayStrategyIsclusterList = "clusterList"
)

Variables

Functions

func DataSourceTencentCloudEmr

func DataSourceTencentCloudEmr() *schema.Resource

func DataSourceTencentCloudEmrAutoScaleRecords

func DataSourceTencentCloudEmrAutoScaleRecords() *schema.Resource

func DataSourceTencentCloudEmrCvmQuota

func DataSourceTencentCloudEmrCvmQuota() *schema.Resource

func DataSourceTencentCloudEmrNodes

func DataSourceTencentCloudEmrNodes() *schema.Resource

func ParseMultiDisks

func ParseMultiDisks(_multiDisks []map[string]interface{}) []*emr.MultiDisk

func ParseResource

func ParseResource(_resource map[string]interface{}) *emr.Resource

func ParseTags

func ParseTags(_tags []map[string]string) []*emr.Tag

func ResourceTencentCloudEmrCluster

func ResourceTencentCloudEmrCluster() *schema.Resource

func ResourceTencentCloudEmrUserManager

func ResourceTencentCloudEmrUserManager() *schema.Resource

Types

type EMRService

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

func NewEMRService

func NewEMRService(client *connectivity.TencentCloudClient) EMRService

func (*EMRService) CreateInstance

func (me *EMRService) CreateInstance(ctx context.Context, d *schema.ResourceData) (id string, err error)

func (*EMRService) DeleteEmrUserManagerById

func (me *EMRService) DeleteEmrUserManagerById(ctx context.Context, instanceId string, userName string) (errRet error)

func (*EMRService) DeleteInstance

func (me *EMRService) DeleteInstance(ctx context.Context, d *schema.ResourceData) error

func (*EMRService) DescribeClusterNodes

func (me *EMRService) DescribeClusterNodes(ctx context.Context, instanceId, nodeFlag, hardwareResourceType string, offset, limit int) (nodes []*emr.NodeHardwareInfo, errRet error)

func (*EMRService) DescribeEmrAutoScaleRecordsByFilter

func (me *EMRService) DescribeEmrAutoScaleRecordsByFilter(ctx context.Context, param map[string]interface{}) (autoScaleRecords []*emr.AutoScaleRecord, errRet error)

func (*EMRService) DescribeEmrCvmQuotaByFilter

func (me *EMRService) DescribeEmrCvmQuotaByFilter(ctx context.Context, param map[string]interface{}) (cvmQuota *emr.DescribeCvmQuotaResponseParams, errRet error)

func (*EMRService) DescribeEmrUserManagerById

func (me *EMRService) DescribeEmrUserManagerById(ctx context.Context, instanceId string, userName string) (userManager *emr.DescribeUsersForUserManagerResponseParams, errRet error)

func (*EMRService) DescribeInstances

func (me *EMRService) DescribeInstances(ctx context.Context, filters map[string]interface{}) (clusters []*emr.ClusterInstancesInfo, errRet error)

func (*EMRService) DescribeInstancesById

func (me *EMRService) DescribeInstancesById(ctx context.Context, instanceId string, displayStrategy string) (clusters []*emr.ClusterInstancesInfo, errRet error)

func (*EMRService) ModifyResourcesTags

func (me *EMRService) ModifyResourcesTags(ctx context.Context, region string, instanceId string, oldTags, newTags map[string]interface{}) error

func (*EMRService) UpdateInstance

func (me *EMRService) UpdateInstance(ctx context.Context, request *emr.ScaleOutInstanceRequest) (id string, err error)

Jump to

Keyboard shortcuts

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