es

package
v1.81.63 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: MPL-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ES_CHARGE_TYPE_PREPAID          = "PREPAID"
	ES_CHARGE_TYPE_POSTPAID_BY_HOUR = "POSTPAID_BY_HOUR"

	ES_DEPLOY_MODE_SINGLE_REGION = 0
	ES_DEPLOY_MODE_MULTI_REGION  = 1

	ES_LICENSE_TYPE_OSS      = "oss"
	ES_LICENSE_TYPE_BASIC    = "basic"
	ES_LICENSE_TYPE_PLATINUM = "platinum"

	ES_BASIC_SECURITY_TYPE_ON  = 2
	ES_BASIC_SECURITY_TYPE_OFF = 1

	ES_NODE_TYPE_HOT_DATA        = "hotData"
	ES_NODE_TYPE_WARM_DATA       = "warmData"
	ES_NODE_TYPE_DEDICATED_MATER = "dedicatedMaster"

	ES_RENEW_FLAG_AUTO   = "RENEW_FLAG_AUTO"
	ES_RENEW_FLAG_MANUAL = "RENEW_FLAG_MANUAL"

	ES_INSTANCE_STATUS_PROCESSING = 0
	ES_INSTANCE_STATUS_NORMAL     = 1
	ES_INSTANCE_STATUS_CREATING   = 2
	ES_INSTANCE_STATUS_STOP       = -1
	ES_INSTANCE_STATUS_DESTROYING = -2
	ES_INSTANCE_STATUS_DESTROYED  = -3
)

Variables

Functions

func DataSourceTencentCloudElasticsearchDescribeIndexList

func DataSourceTencentCloudElasticsearchDescribeIndexList() *schema.Resource

func DataSourceTencentCloudElasticsearchDiagnose

func DataSourceTencentCloudElasticsearchDiagnose() *schema.Resource

func DataSourceTencentCloudElasticsearchInstanceLogs

func DataSourceTencentCloudElasticsearchInstanceLogs() *schema.Resource

func DataSourceTencentCloudElasticsearchInstanceOperations

func DataSourceTencentCloudElasticsearchInstanceOperations() *schema.Resource

func DataSourceTencentCloudElasticsearchInstancePluginList

func DataSourceTencentCloudElasticsearchInstancePluginList() *schema.Resource

func DataSourceTencentCloudElasticsearchInstances

func DataSourceTencentCloudElasticsearchInstances() *schema.Resource

func DataSourceTencentCloudElasticsearchLogstashInstanceLogs

func DataSourceTencentCloudElasticsearchLogstashInstanceLogs() *schema.Resource

func DataSourceTencentCloudElasticsearchLogstashInstanceOperations

func DataSourceTencentCloudElasticsearchLogstashInstanceOperations() *schema.Resource

func DataSourceTencentCloudElasticsearchViews

func DataSourceTencentCloudElasticsearchViews() *schema.Resource

func ResourceTencentCloudElasticsearchDiagnose

func ResourceTencentCloudElasticsearchDiagnose() *schema.Resource

func ResourceTencentCloudElasticsearchDiagnoseInstance

func ResourceTencentCloudElasticsearchDiagnoseInstance() *schema.Resource

func ResourceTencentCloudElasticsearchIndex

func ResourceTencentCloudElasticsearchIndex() *schema.Resource

func ResourceTencentCloudElasticsearchInstance

func ResourceTencentCloudElasticsearchInstance() *schema.Resource

func ResourceTencentCloudElasticsearchLogstash

func ResourceTencentCloudElasticsearchLogstash() *schema.Resource

func ResourceTencentCloudElasticsearchLogstashPipeline

func ResourceTencentCloudElasticsearchLogstashPipeline() *schema.Resource

func ResourceTencentCloudElasticsearchRestartInstanceOperation

func ResourceTencentCloudElasticsearchRestartInstanceOperation() *schema.Resource

func ResourceTencentCloudElasticsearchRestartKibanaOperation

func ResourceTencentCloudElasticsearchRestartKibanaOperation() *schema.Resource

func ResourceTencentCloudElasticsearchRestartLogstashInstanceOperation

func ResourceTencentCloudElasticsearchRestartLogstashInstanceOperation() *schema.Resource

func ResourceTencentCloudElasticsearchRestartNodesOperation

func ResourceTencentCloudElasticsearchRestartNodesOperation() *schema.Resource

func ResourceTencentCloudElasticsearchSecurityGroup

func ResourceTencentCloudElasticsearchSecurityGroup() *schema.Resource

func ResourceTencentCloudElasticsearchStartLogstashPipelineOperation

func ResourceTencentCloudElasticsearchStartLogstashPipelineOperation() *schema.Resource

func ResourceTencentCloudElasticsearchStopLogstashPipelineOperation

func ResourceTencentCloudElasticsearchStopLogstashPipelineOperation() *schema.Resource

func ResourceTencentCloudElasticsearchUpdatePluginsOperation

func ResourceTencentCloudElasticsearchUpdatePluginsOperation() *schema.Resource

Types

type ElasticsearchService

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

func (*ElasticsearchService) DeleteElasticsearchIndexByName

func (me *ElasticsearchService) DeleteElasticsearchIndexByName(ctx context.Context, instanceId, indexType, indexName string) (errRet error)

func (*ElasticsearchService) DeleteElasticsearchLogstashById

func (me *ElasticsearchService) DeleteElasticsearchLogstashById(ctx context.Context, instanceId string) (errRet error)

func (*ElasticsearchService) DeleteElasticsearchLogstashPipelineById

func (me *ElasticsearchService) DeleteElasticsearchLogstashPipelineById(ctx context.Context, instanceId, pipelineId string) (errRet error)

func (*ElasticsearchService) DeleteInstance

func (me *ElasticsearchService) DeleteInstance(ctx context.Context, instanceId string) error

func (*ElasticsearchService) DescribeElasticsearchDescribeIndexListByFilter

func (me *ElasticsearchService) DescribeElasticsearchDescribeIndexListByFilter(ctx context.Context, param map[string]interface{}) (DescribeIndexList []*elasticsearch.IndexMetaField, errRet error)

func (*ElasticsearchService) DescribeElasticsearchDiagnoseByFilter

func (me *ElasticsearchService) DescribeElasticsearchDiagnoseByFilter(ctx context.Context, param map[string]interface{}) (diagnose []*elasticsearch.DiagnoseResult, errRet error)

func (*ElasticsearchService) DescribeElasticsearchDictionariesById

func (me *ElasticsearchService) DescribeElasticsearchDictionariesById(ctx context.Context, instanceId string) (Dictionaries *elasticsearch.DiagnoseResult, errRet error)

func (*ElasticsearchService) DescribeElasticsearchIndexByName

func (me *ElasticsearchService) DescribeElasticsearchIndexByName(ctx context.Context, instanceId, indexType, indexName string) (index *es.IndexMetaField, errRet error)

func (*ElasticsearchService) DescribeElasticsearchInstanceLogsByFilter

func (me *ElasticsearchService) DescribeElasticsearchInstanceLogsByFilter(ctx context.Context, param map[string]interface{}) (elasticsearchInstanceLogs []*es.InstanceLog, errRet error)

func (*ElasticsearchService) DescribeElasticsearchInstanceOperationsByFilter

func (me *ElasticsearchService) DescribeElasticsearchInstanceOperationsByFilter(ctx context.Context, param map[string]interface{}) (instanceOperations []*elasticsearch.Operation, errRet error)

func (*ElasticsearchService) DescribeElasticsearchInstancePluginListByFilter

func (me *ElasticsearchService) DescribeElasticsearchInstancePluginListByFilter(ctx context.Context, param map[string]interface{}) (InstancePluginList []*elasticsearch.DescribeInstancePluginInfo, errRet error)

func (*ElasticsearchService) DescribeElasticsearchLogstashById

func (me *ElasticsearchService) DescribeElasticsearchLogstashById(ctx context.Context, instanceId string) (logstash *es.LogstashInstanceInfo, errRet error)

func (*ElasticsearchService) DescribeElasticsearchLogstashInstanceLogsByFilter

func (me *ElasticsearchService) DescribeElasticsearchLogstashInstanceLogsByFilter(ctx context.Context, param map[string]interface{}) (logstashInstanceLogs []*elasticsearch.InstanceLog, errRet error)

func (*ElasticsearchService) DescribeElasticsearchLogstashInstanceOperationsByFilter

func (me *ElasticsearchService) DescribeElasticsearchLogstashInstanceOperationsByFilter(ctx context.Context, param map[string]interface{}) (logstashInstanceOperations []*elasticsearch.Operation, errRet error)

func (*ElasticsearchService) DescribeElasticsearchLogstashPipelineById

func (me *ElasticsearchService) DescribeElasticsearchLogstashPipelineById(ctx context.Context, instanceId, pipelineId string) (logstashPipeline *es.LogstashPipelineInfo, errRet error)

func (*ElasticsearchService) DescribeElasticsearchViewsByFilter

func (me *ElasticsearchService) DescribeElasticsearchViewsByFilter(ctx context.Context, param map[string]interface{}) (clusterView *elasticsearch.ClusterView, nodesViews []*elasticsearch.NodeView, kibanasViews []*elasticsearch.KibanaView, errRet error)

func (*ElasticsearchService) DescribeInstanceById

func (me *ElasticsearchService) DescribeInstanceById(ctx context.Context, instanceId string) (instance *es.InstanceInfo, errRet error)

func (*ElasticsearchService) DescribeInstancesByFilter

func (me *ElasticsearchService) DescribeInstancesByFilter(ctx context.Context, instanceId, instanceName string,
	tags map[string]string) (instances []*es.InstanceInfo, errRet error)

func (*ElasticsearchService) ElasticsearchInstanceRefreshFunc

func (me *ElasticsearchService) ElasticsearchInstanceRefreshFunc(instanceId string, failStates []string) resource.StateRefreshFunc

func (*ElasticsearchService) ElasticsearchLogstashPipelineStateRefreshFunc

func (me *ElasticsearchService) ElasticsearchLogstashPipelineStateRefreshFunc(instanceId, pipelineId string, failStates []string) resource.StateRefreshFunc

func (*ElasticsearchService) ElasticsearchLogstashStateRefreshFunc

func (me *ElasticsearchService) ElasticsearchLogstashStateRefreshFunc(instanceId string, failStates []string) resource.StateRefreshFunc

func (*ElasticsearchService) GetDiagnoseSettingsById

func (me *ElasticsearchService) GetDiagnoseSettingsById(ctx context.Context, instanceId string) (diagnoseSettings *es.GetDiagnoseSettingsResponseParams, errRet error)

func (*ElasticsearchService) UpdateDiagnoseSettings

func (me *ElasticsearchService) UpdateDiagnoseSettings(ctx context.Context, instanceId string, params map[string]interface{}) error

func (*ElasticsearchService) UpdateInstance

func (me *ElasticsearchService) UpdateInstance(ctx context.Context, instanceId, instanceName, password string, basicSecurityType int64, nodeList []*es.NodeInfo, nodeTypeInfo *es.WebNodeTypeInfo, esAcl *es.EsAcl) error

UpdateInstance FIXME: use *Request instead of these suck params

func (*ElasticsearchService) UpdateInstanceLicense

func (me *ElasticsearchService) UpdateInstanceLicense(ctx context.Context, instanceId, licenseType string) error

func (*ElasticsearchService) UpdateInstanceVersion

func (me *ElasticsearchService) UpdateInstanceVersion(ctx context.Context, instanceId, version string) error

func (*ElasticsearchService) UpdateJdk

func (me *ElasticsearchService) UpdateJdk(ctx context.Context, instanceId string, params map[string]interface{}) error

func (*ElasticsearchService) UpdateLogstashInstance

func (me *ElasticsearchService) UpdateLogstashInstance(ctx context.Context, instanceId string, params map[string]interface{}) error

Jump to

Keyboard shortcuts

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